Move Site Collection to Another Content Databases in SharePoint 2007

In SharePoint 2007 content databases can grow till 100 GB. What if you want to move your existing sites to a new content db? Well, Here is the manual way to move site collection to a different database in SharePoint 2007: Backup and Delete the Site Collection Set all your Content Databases’…

Read more

SharePoint WSP Solutions and Features Deployment using STSADM, PowerShell

In this article I’m documenting the Deployment of WSP files using STSADM and with the PowerShell. Before we begin, Its a good idea to add STSADM’s path (“C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\”) to the environment variable “Path”. It saves the typing 🙂 and of course, its a good idea to have…

Read more

Page Redirect using CEWP JavaScript in SharePoint

There are some situations, where we need to place re-directs in SharePoint pages. OK.. How to do that? How to redirect a SharePoint page? Simple! We can redirect using content editor web part in SharePoint. Just add a content editor web part, and place the below JavaScript code: This will redirect to…

Read more

Exclude SharePoint Folders from Antivirus

In SharePoint servers, some of the SharePoint, IIS, SQL Server folders should be excluded from anti-virus protection in order to avoid performance hits! such as: (C:\ may be other drive as well) C:\Program Files\Microsoft Office Servers\14.0\Logs  C:\Program Files\Microsoft Office Servers\14.0\Data. C:\Program Files\Microsoft Office Servers\14.0\Bin C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service,  C:\Documents and Settings\Default…

Read more

Create a File in Specific Size – For Testing

For the upload test in SharePoint, I had to create files of a specific size, 10 MB, 20 MB, 30 MB, 40 MB, etc. I figured out an excellent command line tool to create files in a specific size: FSUTIL fsutil file createnew c:\test.doc 10485760 Provide the size in bytes. The above…

Read more

SharePoint Search Crawl Rules – What is that, what it does for us?

Search Crawl rules are mechanisms to influencing the behavior of the crawler when it crawls specific sites. A single crawl rule is created by specifying a URL wildcard matching sites plus a set of options for setting the behavior of the crawler for these sites. When performing a search in SharePoint you…

Read more

IFilters in SharePoint – What is that? why should I care about? How do I configure them?

What is IFilters in SharePoint? Well, as per Microsoft: “The IFilter interface scans documents for text and properties (also called attributes). It extracts chunks of text from these documents, filtering out embedded formatting and retaining information about the position of the text.” Out of the box, SharePoint will index many types of…

Read more

Disable Friendly Error Page and Reveal Actual Error in SharePoint

SharePoint provides the default friendly error message page, from which I could not understand what went wrong really! How to disable the default custom error page and display actual error in SharePoint? How to turn off custom errors in SharePoint? Here is how to disable SharePoint’s friendly error message and show the…

Read more

Run STSADM from anywhere by changing “Path” Environment Variable

Getting “‘stsadm’ is not recognized as an internal or external command, operable program or batch file.” when trying to run the stsadm command-line tool? This is because the stsadm tool is located at: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN folder, and when you try to access it from other folders (typically, command…

Read more

Web Part Maintenance Page in SharePoint

Once, I ran across the issue where a web part is dropped onto a page, and then SharePoint errors out for one reason or the other. I had to use the Web Part Maintenance Page to fix the problem. However, there is no way to get to this page from any easily…

Read more