Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

STSADM Import failing - URGENT

54 views
Skip to first unread message

BizWorld

unread,
Dec 18, 2007, 12:42:29 PM12/18/07
to
I have a sub site in Sharepoint 2007 that is using Site Directory
Template. It is has 30 pages in it that are using Content Query web
part only. It seems very simple. I need to copy this site to another
Sharepoint server. If i try to copy it using Sharepoint designer, i
can see the site but pages are empty and content query did not moved
over. Now i decided to use STSADM export/import utility. Site was
exported with 0 warnings and 0 errors. but on the Import side, it
fails with Following error message. What is wrong with the STSADM or
am i missing any step ?? below is the LOG last lines details that
shows error. any idea ????


[12/18/2007 11:31:17 AM]: Progress: Importing File Pages/
topsites.aspx.
[12/18/2007 11:31:18 AM]: Progress: Importing ListItem /TestSite/
_catalogs/masterpage?id=1.
[12/18/2007 11:31:18 AM]: Progress: Importing ListItem /TestSite/
_catalogs/masterpage?id=2.
[12/18/2007 11:31:18 AM]: Progress: Importing ListItem /TestSite/
Documents?id=3.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=14.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=2.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=3.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=4.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=5.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=6.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Lists/
Reports?id=8.
[12/18/2007 11:31:19 AM]: Progress: Importing ListItem /TestSite/Pages?
id=22.
[12/18/2007 11:31:19 AM]: FatalError: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex,
Int32 length, Boolean fAlwaysCopy)
at System.String.Substring(Int32 startIndex, Int32 length)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.GetLookupInfoFromFieldData(Object
value, Guid& lookupListId, Int32& lookupItemId, Boolean& isUserLookup,
String& userLogin, String& mvlVal)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.UpdateFieldData(SPListItem
listItem, ImportObjectManager objectManager, Guid docId, String
fieldName, String value, String value2, Guid gFieldId, Boolean&
bCreated, Dictionary`2 brokenFields)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.UpdateFieldData(SPListItem
listItem, Guid docId, Boolean& bCreated, SPContentTypeId
contentTypeId, ImportObjectManager objectManager, Object data)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object
obj, SerializationInfo info, StreamingContext context,
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.ImportObjectManager.ProcessObject(XmlReader
xmlReader)
at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects()
at Microsoft.SharePoint.Deployment.SPImport.Run()
[12/18/2007 11:31:19 AM]: Progress: Import Completed.
[12/18/2007 11:31:19 AM]: Finish Time: 12/18/2007 11:31:19 AM.
[12/18/2007 11:31:19 AM]: Completed with 0 warnings.
[12/18/2007 11:31:19 AM]: Completed with 1 errors.

ChuckS

unread,
Jan 14, 2008, 2:01:03 PM1/14/08
to
I am experiencing the same problem as you. Did you ever resolve your issue?

parthp

unread,
Nov 4, 2008, 9:03:20 AM11/4/08
to
hey,
has any one got solution for fatal error during stsadm export command with versions 4 option for exporting all version history??

parthp

unread,
Nov 4, 2008, 1:00:16 PM11/4/08
to

Anna

unread,
Nov 5, 2008, 6:16:01 AM11/5/08
to
Hello,
What is exact error that you getting? If you post your question without
giving any details, it will be hard for NG community users to give a
resonable reply.

First I would suggest installing latest updates for your SharePoint (October
hotfix packages for WSS and MOSS). There is a number of fixes in regard to
import/export included.

Regards,
Anna

<Parth P> wrote in message news:200811413...@eogresources.com...

parthp

unread,
Nov 5, 2008, 9:53:59 AM11/5/08
to
I m trying to export/import MOSS site.
I m using stsadm -export with "versions 4" option for exporting/importing all version history attached to issues list.

But this command is not working. giving me an error as bellow.

"FatalError: These columns don't currently have unique values."

This error comes just before exporting issue list.looks like something is not right when it comes to export issue list.

I installed SP1 for WSS 3.0 and MOSS 2007
but no luck.
Please provide any help.

parthp

unread,
Nov 5, 2008, 9:55:46 AM11/5/08
to

parthp

unread,
Nov 5, 2008, 9:54:55 AM11/5/08
to

Anna

unread,
Nov 5, 2008, 12:06:20 PM11/5/08
to
SP1 is absolute need, I would recommend installation of latest hotfix
package
For WSS KB 957691
For MOSS KB 957693, 957693


So the export is faling because of one list, try out the following action
plan:
1. save the list as template and include content
2. restore the list to test web application and check if you are able to see
all the contents of the list
3. delete the list from the source subsite
4. export the subsite and make sure versions 4 is selected
5. import the subsite and include all versions
6 restore the list which we saved as template

Hope this helps.

Anna


<Parth P> wrote in message news:200811595...@eogresources.com...

ppa...@gmail.com

unread,
Nov 5, 2008, 12:29:13 PM11/5/08
to
I will try and get thoes hotfix,
but i m getting problem saving issue list as template. The option to
include content is disabled.

Anna

unread,
Nov 7, 2008, 4:53:31 AM11/7/08
to

Hello,

From http://office.microsoft.com/en-us/help/HA100991561033.aspx
"By default, you can create a list template that contains up to 10 megabytes
(MB) of content. Server administrators can increase this size limit, if
necessary. "

So please check the size.

here the link to blog where you can find some stsadm extensions to manage
size/export etc

http://stsadm.blogspot.com/2007/09/importexportcopy-lists.html


Anna

<ppa...@gmail.com> wrote in message
news:8c2dabda-d561-4c76...@n1g2000prb.googlegroups.com...

0 new messages