Solved

SharePoint Site Import Error

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint integration. 1 55
How do I set a formatting mask in an InfoPath 2010 control? 3 47
SP2010 Parent Child Relationship 3 35
Masterpage unexpected error 7 27
Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 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