Export/Import Feature Problem
Hi Every Body I Want to copy my site collection to the new server. I use Export/Import functions of stsadm. I have created a feature in first server by vs2008,in import time of CMP file i have an error message that says couldn't find feature. I copied the feature folder to /12/template/Feature/ ,but again exist problem. I don't understand is really enough to copy folder of feature that contains xml files , and don't have any dll. Thanks for any guides. Regards Ali
February 19th, 2010 11:38pm

you must install the feature prior to running the import
Free Windows Admin Tool Kit Click here and download it now
February 20th, 2010 12:09am

Hi,Please check The server that you migrating the content to is the same version with the server you migrating fromif the same, also you need to install this feature before doing STSADM Best Regards, Ammar MCT http://ahmed-ammar.blogspot.com Posting is provided "AS IS" with no warranties, and confers no rights.
February 20th, 2010 12:15am

To clarify a couple things -- copying the feature folder to the other server is a good first step, but then you need to make sure to install the feature as others have said. The syntax for this is :STSADM -o installfeature -name <name of the feature folder>That should take care of the missing feature part. However, I'd recommend against using export/import to move site collections. The backup/restore command is normally the preferred way to do this. The syntax for that is:stsadm -o backup -url <url of site collection> -filename <name of file to be created>The restore command uses the same systax, except you'd specify a different location to restore the file to.John SharePoint911: SharePoint Consulting Blog: http://www.rossonmoss.com Twitter: JohnRossJr MOSS Explained: An Information Workers Deep Dive into Microsoft Office SharePoint Server 2007
Free Windows Admin Tool Kit Click here and download it now
February 20th, 2010 6:24am

Hi Every Body Thanks for your guides,i copied site collection as you said successfully. First installed feature then import site collection and site imported successfully. But the feature didn't run ,my feature is an event Receiver that should fire when an item add to the list . in the source server it fired , but in the destination didn't fire . I installed this feature in destination but it didn't fire, i don't know should i copy any thing else to fire this feature(Event Receiver) in destination ?. Thanks for any guides. Regards Ali
February 20th, 2010 10:51pm

Did you ativate the feature? Features are automatically activated if scoped to Farm but since its an event receiver its scoped to Webstsadm -o activatefeature -name -DemoFeature -url "http://DemoSite"Cheers,-IvanIvan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
February 21st, 2010 12:21pm

Thanks Ivan for your guides. I activated this feature true through sitesettings>feature for root of application. Is it different from method that you wrote ? Regards Ali
February 21st, 2010 12:50pm

No, as long as its activated. However, the original feature since its an event receiver should have an assmbly that needs to be installed in the GAC... Also, you can use a tool like SharePoint Tips Utility available on Codeplex to find what event receivers are active on your list and add, remove modify, receivers as well...Since your using VS08 its a good idea to use WSPBuilder or a tool like it so that you can bundle your features in solutions for deployment, go back to your VS08 Project, grab the assemble and copy it to the GAC, if its not already there...-Ivan Ivan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
February 21st, 2010 1:04pm

Thanks Ivan for your guides. I copied dll from GAC of Develop server to GAC of destination server. Regards Ali
February 21st, 2010 10:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics