Thursday, October 23, 2008

MOSS 2007 "Cannot complete this action please try again" Error

Recently in a SharePoint site i came across this error when i was accessing the Default.aspx page. A page refresh would bring the actual page but error is so annoying. I did some research in to the matter and found out the problem resides with the Shared Service Provider(SSP) associated with my site.

I couldn't access the default SSP from the sharepoint central administration as well.the link did not work. So the trick was to create new SSP with a new sharepoint website and bring the default website(whatever you need to work properly) to the new SSP. then make that SSP the default.you can delete the old SSP as it is no longer required.

Tuesday, October 21, 2008

Move a SharePoint site from one server to another

Recently i got a task to backup a running SharePoint site from a development server and to restore in another server for deployment.SharePoint server 2007 comes with a nice web interface called sharepoint central administration.in central administration there is a section for backup and restore section in Operations -> Backup and restore -> Perform a backup . although backups work (sometimes) restore jobs failed completely.

Then i tried the stsadm command which worked for me ultimately.

Using command prompt cd to the directory “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN” where the Sharepoint is installed

then type
   1: stsadm -o backup -url http://bakupsite/ -filename backup.bak

At the server you need to deploy the site,create new SharePoint site and then type

   1: stsadm -o restore -url http://restoresite/ -overwrite -filename backup.bak