Solved

SharePoint Site Import Error

Posted on 2011-02-15
2
1,523 Views
Last Modified: 2012-06-21
When trying to import a SharePoint site using stsadm (SharePoint 2010), we receive the following error. What needs to be done to correct it?

[2/15/2011 3:55:33 PM] [Folder] [SitePages] Progress: Importing
[2/15/2011 3:55:33 PM] [Folder] [SitePages]   Verbose: Source URL: SitePages
[2/15/2011 3:55:33 PM] [Folder] [SitePages]   Error: Value does not fall within the expected range.
[2/15/2011 3:55:33 PM] [Folder] [SitePages]   Debug:    at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
   at Microsoft.SharePoint.Deployment.FolderSerializer.GetFolderUrl(Guid folderId, String folderUrl, Guid folderParentId, Guid listId, SPWeb parentWeb, ImportObjectManager objectManager, Boolean checkTargetUrl)
   at Microsoft.SharePoint.Deployment.FolderSerializer.GetFolder(SPWeb parentWeb)
   at Microsoft.SharePoint.Deployment.FolderSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
[2/15/2011 3:55:33 PM] FatalError: Value does not fall within the expected range.
[2/15/2011 3:55:33 PM] Debug:    at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
   at Microsoft.SharePoint.Deployment.FolderSerializer.GetFolderUrl(Guid folderId, String folderUrl, Guid folderParentId, Guid listId, SPWeb parentWeb, ImportObjectManager objectManager, Boolean checkTargetUrl)
   at Microsoft.SharePoint.Deployment.FolderSerializer.GetFolder(SPWeb parentWeb)
   at Microsoft.SharePoint.Deployment.FolderSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.CallSetObjectData(Object obj, SerializationInfo objectData, ISerializationSurrogate surrogate, ISurrogateSelector selector)
   at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject)
   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.SPImport.DeserializeObjects()
   at Microsoft.SharePoint.Deployment.SPImport.Run()
[2/15/2011 3:55:33 PM] Progress: Import did not complete.
[2/15/2011 3:55:33 PM] Finish Time: 2/15/2011 3:55:33 PM.
[2/15/2011 3:55:33 PM] Duration: 00:00:22
[2/15/2011 3:55:33 PM] Finished with 1 warnings.
[2/15/2011 3:55:33 PM] Finished with 2 errors.
0
Comment
Question by:rdracer58
2 Comments
 
LVL 14

Accepted Solution

by:
KoenVosters earned 250 total points
ID: 34902532
Are you importing to a site that does not have publishing features enabled?

If you want to, you can use gary lapointe's tools for importing. They handle most of the errors:
http://blog.falchionconsulting.com/index.php/downloads/

use the gl-import2 command
0
 
LVL 11

Assisted Solution

by:FastFngrz
FastFngrz earned 250 total points
ID: 34902670
Check all the features that were enabled at the source site, even if you didn't use them!  That same set will need to be activated on the target site collection before it will fly.   If you are looking to just move some content, Gary (as noted by Koen) has good stuff, you might want to check out www.Xavor.com for a free tool.  
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now