Posts

Showing posts from May, 2014

How to find which pages are using a specific web part in MOSS 2007 or SharePoint 2010 site collection?

I got a utility with the help of one of my colleague to find w here is a custom web part used in SharePoint page? Download the utility from the below link. http://wikisend.com/download/302420/WebPart Finding Utility.zip 1. Open CMD 2. Navigate the path where you have placed the utility 3. Run Utilityname.exe sitecollectionURL nameofthewebpart       GetWP.exe  http:// test.contoso.com   view Where GetWP.exe is the utility name, http://test.contoso.com is the site collection URL and View is the name of the webpart. Full name is not necessary for webpart, you can use any sub string of the name. eg. listviewrollup = view Hope it helps someone. Thank You

Convert MOSS 2007 DB to SharePoint 2010 Content DB using STSADM

Here are the steps... - Get a DB backup from MOSS DB (SQL) server - Restore it on SharePoint 2010 DB (SQL) Server - Run the stsadm command below stsadm.exe –o addcontentdb –url http://mytargertwebapplication:portnumber/  -databasename “put DB name here” -databaseserver "SP2010 DB Server” OR stsadm -o addcontentdb -url "http://mytargertwebapplication:portnumber/ " -databasename put DB name here -databaseserver SP2010 DB Server