Error while importing a sharepoint team site
Hi, We are trying to import a sharepoint team-site ( which is an sub-site ) from production-server into dev-environment server. We are using stsadm.exe command to do this stsadm.exe -o import -url http://spsite/mysite/Team1 -filename D;\exports\***.cmp We are having the below error: [6/20/2011 10:40:08 AM]: Progress: Importing Feature EventsList [6/20/2011 10:40:08 AM]: Progress: Importing Feature XmlFormLibrary [6/20/2011 10:40:08 AM]: Progress: Importing Feature TeamCollab [6/20/2011 10:40:08 AM]: FatalError: Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequest.ImportNavigationXml(String bstrUrlWeb, String bstrNavXml, Boolean fClearNavigation) at Microsoft.SharePoint.Deployment.ImportObjectManager.ImportWebStructure() at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run() [6/20/2011 10:40:10 AM]: Progress: Import Completed. [6/20/2011 10:40:10 AM]: Finish Time: 6/20/2011 10:40:10 AM. [6/20/2011 10:40:10 AM]: Completed with 0 warnings. [6/20/2011 10:40:10 AM]: Completed with 1 errors. Can someone kindly, give a work-around for this issue. Thank you pal
June 20th, 2011 4:04pm

Check if you can find more information about the error in logs file. Also please share us the export command you used.--Cheers
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 4:16pm

Hi, The log file was a huge file and all statements above those which I provided are similar to [6/20/2011 10:40:08 AM]: Progress: Importing Feature DocumentLibrary The export command I used is ststadm.exe -o export -url http://spsite-prod/mysite/teamA -filename teamA Appreacite your help Thank youpal
June 20th, 2011 4:24pm

Here is an external blog post about the error: http://blog.mikehacker.net/2008/02/13/stsadm-import-error-fatalerror-the-given-key-was-not-present-in-the-dictionary/ His solution detailed disableing security on that specific library, Another possibility is detailed below: http://support.microsoft.com/kb/2022888 or http://techtalkpt.wordpress.com/2009/02/09/sharepoint-import-error-fatalerror-the-given-key-was-not-present-in-the-dictionary/ (Click read full post, and also note the reply) Hope this helps!
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 4:52pm

Hi, I tried your suggestions. ststadm.exe -o export -url http://spsite-prod/mysite/teamA -filename teamA -includeusersecurity -versions 1 Now I am having the below error during import session: ststadm.exe -o import -url http://spsite-prod/mysite/teamA -filename teamA.cmp -includeusersecurity [6/20/2011 2:39:02 PM]: Progress: Importing Role Assignment for personal/carlos_mejias/OMC. [6/20/2011 2:39:10 PM]: FatalError: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.SharePoint.Deployment.ImportObjectManager.GetMappedRole(SPWeb web, Int32 ridIn, Int32& ridOut) at Microsoft.SharePoint.Deployment.RoleAssignmentsImport.ProcessComplexElement(ImportStreamingContext context, XmlReader xr, SqlSession session) at Microsoft.SharePoint.Deployment.SqlBatchImport.Run() at Microsoft.SharePoint.Deployment.SecurityObjectSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObjectDirect(Object objParent, Type objectType) at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run() [6/20/2011 2:39:11 PM]: Progress: Import Completed. Thank youpal
June 20th, 2011 7:07pm

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

Other recent topics Other recent topics