Solved

SharePoint Site Import Error

Posted on 2011-02-15
2
1,564 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

713 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