Thursday, November 24, 2011
Choose backup and recovery tools - MOSS 2007
http://technet.microsoft.com/en-us/library/cc263427%28office.12%29.aspx
Backup script using STSADM
@echo off
echo ===============================================================
echo Back up the farm to C:\backup
echo ===============================================================
cd %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\BIN
@echo off
stsadm.exe -o backup -directory "\backup" -backupmethod full
echo completed
echo ===============================================================
echo Back up the farm to C:\backup
echo ===============================================================
cd %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\BIN
@echo off
stsadm.exe -o backup -directory "\backup" -backupmethod full
echo completed
Wednesday, November 23, 2011
The RSS Viewer web part is missing from the "Add Web Part" menu
To fix this -
In order to use the RSS Viewer on a publishing site, you need to go to your top level site, select "Site Actions"-->"Site Settings"-->"Modify All Site Settings".
1.
Under "Site Collection Administration", click "Site Collection Features" and enable "Office SharePoint Server Enterprise Site Collection features".
2.
If the issue persists then do the following-
1. In SharePoint Central Administration, go to Operations.
2. Under "Upgrade and Migration" select "Enable Features On Existing Sites".
3. Select the checkbox and click OK.
In order to use the RSS Viewer on a publishing site, you need to go to your top level site, select "Site Actions"-->"Site Settings"-->"Modify All Site Settings".
1.
Under "Site Collection Administration", click "Site Collection Features" and enable "Office SharePoint Server Enterprise Site Collection features".
2.
If the issue persists then do the following-
1. In SharePoint Central Administration, go to Operations.
2. Under "Upgrade and Migration" select "Enable Features On Existing Sites".
3. Select the checkbox and click OK.
Tuesday, August 9, 2011
Merging ULS logs across a farm!!
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –StartTime "06/09/2008 16:00" –EndTime "06/09/2008 16:15"
--------------EXAMPLE 1-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" -Overwrite
This example merges the last hour of log data from all farm computers with no filtering.
--------------EXAMPLE 2-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Area Search
This example merges the last hour of log data from the Search area.
--------------EXAMPLE 3-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Area "SharePoint Foundation","Web Analytics Services"
This example merges the last hour of log data from the SharePoint Foundation and Web Analytics Services areas.
--------------EXAMPLE 4-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Level High
This example merges the log data of level High or higher.
--------------EXAMPLE 5-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –StartTime "06/09/2008 16:00" – EndTime "06/09/2008 16:15"
This example merges the log data for events in a particular time range, which is culture-specific to the United States.
--------------EXAMPLE 6-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Message "*permission changed*"
This example merges the log data for events with permission changed in the message text.
--------------EXAMPLE 7-----------------
Merge-SPLogFile -Overwrite -Path d:\1.log -ContextFilter "name=timer job*" -Area "*search*"
This example merges the log data for all search timer jobs.
--------------EXAMPLE 8-----------------
Merge-SPLogFile -Overwrite -Path d:\2.log -ContextFilter "user=contoso?joeuser"
--------------EXAMPLE 1-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" -Overwrite
This example merges the last hour of log data from all farm computers with no filtering.
--------------EXAMPLE 2-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Area Search
This example merges the last hour of log data from the Search area.
--------------EXAMPLE 3-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Area "SharePoint Foundation","Web Analytics Services"
This example merges the last hour of log data from the SharePoint Foundation and Web Analytics Services areas.
--------------EXAMPLE 4-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Level High
This example merges the log data of level High or higher.
--------------EXAMPLE 5-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –StartTime "06/09/2008 16:00" – EndTime "06/09/2008 16:15"
This example merges the log data for events in a particular time range, which is culture-specific to the United States.
--------------EXAMPLE 6-----------------
Merge-SPLogFile –Path "C:\Logs\FarmMergedLog.log" –Overwrite –Message "*permission changed*"
This example merges the log data for events with permission changed in the message text.
--------------EXAMPLE 7-----------------
Merge-SPLogFile -Overwrite -Path d:\1.log -ContextFilter "name=timer job*" -Area "*search*"
This example merges the log data for all search timer jobs.
--------------EXAMPLE 8-----------------
Merge-SPLogFile -Overwrite -Path d:\2.log -ContextFilter "user=contoso?joeuser"
Thursday, August 4, 2011
Wrap a User Control inside a Web Part using WSPBuilder
http://oidatsmyleg.wordpress.com/2009/07/23/wrap-a-user-control-inside-a-web-part-using-wspbuilder/
Friday, June 3, 2011
Best SharePoint places to look for!!
0. http://blogs.msdn.com/sharepoint
1. http://blogs.msdn.com/b/rogerla/
2. http://blogs.msdn.com/b/ericwhite/archive/2010/10/26/sharepoint-developer-building-blocks-technologies-for-creating-sharepoint-applications.aspx
3. http://andrewconnell.com/blog
4. http://blah.winsmarts.com
5. http://sharepoint.alltop.com/
6. http://www.sharepointnutsandbolts.com/
7. http://msdn.microsoft.com/en-us/office/dd638301.aspx (Dev best practices)
1. http://blogs.msdn.com/b/rogerla/
2. http://blogs.msdn.com/b/ericwhite/archive/2010/10/26/sharepoint-developer-building-blocks-technologies-for-creating-sharepoint-applications.aspx
3. http://andrewconnell.com/blog
4. http://blah.winsmarts.com
5. http://sharepoint.alltop.com/
6. http://www.sharepointnutsandbolts.com/
7. http://msdn.microsoft.com/en-us/office/dd638301.aspx (Dev best practices)
Monday, May 16, 2011
Subscribe to:
Posts (Atom)