Monday, October 20, 2008

Deactivate Features in SharePoint

I am currently working with 2 different Sharepoint servers. One is running MOSS, the other WSS3. I am attempting to export a form libary from MOSS to WSS3. During the import process I ran into the following error: "Could not find Feature DataConectionLibrary" After doing some research I was able to find the following fix:

Before you export the the site using stsadm you must first deactivate the feature. Use this command to deactivate the feature:

stsadm -o deactivatefeature -name DataConnectionLibary -url [the url of your site] -force

After stsadm has completed successfully, export the site using:

stsadm - export -url [url of your site] -versions 4 -includeusersecurity -filename [location of where you want to save the backup file ex. c:\backup\sitebackup.bak]

After your export is complete go ahead and reactivate the feature on the origional site:

stsadm -o activatefeature -name DataConnectionLibary -url [the url of your site] -force

No comments: