Discussion:
Member 'versions' not found
(too old to reply)
Jimski
2007-08-30 17:46:54 UTC
Permalink
Hi all,

I am currently using stsadm to export a site and then import it into
another site on a different web application.

I am getting the error at the base of this post during the -o import
command which is Fatal so causes the import to fail. This is the
command I am running:

%STSADMTOOL% -o import -url %MOSSTO%/About -filename %EXPORTFOLDER%
\About_%MYDATE%.dat -updateversions 2 -includeusersecurity -quiet -
nofilecompression

It appears to be happening when it gets to a subsite, imports the
first default.aspx page and then moves to the next page to import and
then fails with the error.

I guess it is regarding the version numbers of the pages?

Has anybody seen it before or better still, knows how to fix it?

Any help or advice would be much appreciated, this is a major issue
for us now as I am attempting to move sites across different domains.
The export and import and even the deployment paths and jobs seem to
be very flakey!

Jimski

//======================================

[8/30/2007 6:31:06 PM]: FatalError: Member 'Versions' was not found.
at System.Runtime.Serialization.SerializationInfo.GetElement(String
name, Type& foundType)
at System.Runtime.Serialization.SerializationInfo.GetValue(String
name, Type type)
at
Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileVersion(Object
fileOrListItem, SPWeb web, Guid id, String& fileUrl, Boolean
fileExistsInDb, String version, Boolean isFirstVersion,
SerializationInfoHelper infoHelper, SerializationInfoHelper
infoHelperListitem, StreamingContext context, ImportObjectManager
importObjectManager)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItemVersion(SerializationInfoHelper
infoHelper, SPListItem& listItem, SPWeb web, Guid newId, String&
listItemServerRelativeUrl, Boolean bIsPublish, Boolean exists, String
version, Boolean isFirstVersion, Boolean isLastVersion,
StreamingContext context, ISurrogateSelector selector,
ImportObjectManager objectManager)
at
Microsoft.SharePoint.Deployment.ListItemVersionSerializer.AddListItemVersion(SPWeb
web, SPListItem listItem, Guid newId, Boolean editHistory, Boolean
existsInDb, Boolean isFirst, Boolean isLast, Boolean isDocLib,
StreamingContext context, XmlElement listItemData, SPImportSettings
settings, ImportObjectManager objectManager, SerializationInfoHelper
listItemInfoHelper, String& listItemServerRelativeUrl,
ISurrogateSelector selector)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.UpdateListItemVersionData(SerializationInfoHelper
infoHelper, SPWeb web, SPListItem& listItem, Guid newId, Boolean
existsInDb, Boolean isDocLib, String& listItemServerRelativeUrl,
StreamingContext context, SPImportSettings settings,
ISurrogateSelector selector)
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()
//===========================================
m***@gmail.com
2007-10-23 14:06:32 UTC
Permalink
Post by Jimski
Hi all,
I am currently using stsadm to export a site and then import it into
another site on a different web application.
I am getting the error at the base of this post during the -o import
command which is Fatal so causes the import to fail. This is the
%STSADMTOOL% -o import -url %MOSSTO%/About -filename %EXPORTFOLDER%
\About_%MYDATE%.dat -updateversions 2 -includeusersecurity -quiet -
nofilecompression
It appears to be happening when it gets to a subsite, imports the
first default.aspx page and then moves to the next page to import and
then fails with the error.
I guess it is regarding the version numbers of the pages?
Has anybody seen it before or better still, knows how to fix it?
Any help or advice would be much appreciated, this is a major issue
for us now as I am attempting to move sites across different domains.
The export and import and even the deployment paths and jobs seem to
be very flakey!
Jimski
//======================================
[8/30/2007 6:31:06 PM]: FatalError:Member'Versions' wasnotfound.
at System.Runtime.Serialization.SerializationInfo.GetElement(String
name, Type& foundType)
at System.Runtime.Serialization.SerializationInfo.GetValue(String
name, Type type)
at
Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileVersion(Ob�ject
fileOrListItem, SPWeb web, Guid id, String& fileUrl, Boolean
fileExistsInDb, String version, Boolean isFirstVersion,
SerializationInfoHelper infoHelper, SerializationInfoHelper
infoHelperListitem, StreamingContext context, ImportObjectManager
importObjectManager)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItemVer�sion(SerializationInfoHelper
infoHelper, SPListItem& listItem, SPWeb web, Guid newId, String&
listItemServerRelativeUrl, Boolean bIsPublish, Boolean exists, String
version, Boolean isFirstVersion, Boolean isLastVersion,
StreamingContext context, ISurrogateSelector selector,
ImportObjectManager objectManager)
at
Microsoft.SharePoint.Deployment.ListItemVersionSerializer.AddListItemVersio�n(SPWeb
web, SPListItem listItem, Guid newId, Boolean editHistory, Boolean
existsInDb, Boolean isFirst, Boolean isLast, Boolean isDocLib,
StreamingContext context, XmlElement listItemData, SPImportSettings
settings, ImportObjectManager objectManager, SerializationInfoHelper
listItemInfoHelper, String& listItemServerRelativeUrl,
ISurrogateSelector selector)
at
Microsoft.SharePoint.Deployment.ListItemSerializer.UpdateListItemVersionDat�a(SerializationInfoHelper
infoHelper, SPWeb web, SPListItem& listItem, Guid newId, Boolean
existsInDb, Boolean isDocLib, String& listItemServerRelativeUrl,
StreamingContext context, SPImportSettings settings,
ISurrogateSelector selector)
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()
//===========================================
Hi, How you resolved the above problem. I am importing a sharepoint
site collection and I got same error. Please help me.

Loading...