locked
"FatalError: Could not find file ... ExportSettings.xml" when using stsadm RRS feed

  • Question

  • I've a SharePoint Server 2007 farm and exported a subsite with stsadm:

    "%COMMONPROGRAMFILES%\microsoft shared\web server extensions\12\bin\stsadm.exe" -o export -url "http://myspserver/asite" -filename "C:\export\asite.bak" -versions 4

    This results in 70 export files with 1,88 GB (2.027.866.165 Bytes) in total.

    When I try to import this site on a fully patched SharePoint 2007 farm (version 12.0.0.6545) with stsadm -o import I get the following error:


    Warning: Import requirement file C:\Users\S.Name\AppData\Local\Temp\2\aguid\Requirements.xml was not found no verifications ran.
    FatalError: Could not find file 'C:\Users\S.Name\AppData\Local\Temp\2\aguid\ExportSettings.xml'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
       at Microsoft.SharePoint.Deployment.SPImport.DeserializeExportSettings()
       at Microsoft.SharePoint.Deployment.SPImport.Run()
      
     
    I googled for this error and found a lot of posts. But all of them refer to export files that are made with SharePoint Designer and not with stsamd. What can I do to import those files?

    • Edited by Mike Walsh FIN Tuesday, January 4, 2011 2:11 PM when using stsadm added instead of the over long (No SharePoint Designer was used)
    Tuesday, January 4, 2011 1:42 PM

Answers

  • Try

    "%COMMONPROGRAMFILES%\microsoft shared\web server extensions\12\bin\stsadm.exe" -o export -url "http://myspserver/asite" -filename "C:\export\asite.cab" -includeusersecurity -versions 4

    Changed file extension and added "-includeusersecurity"


    Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/
    • Marked as answer by Peng Lei Monday, January 10, 2011 8:01 AM
    Tuesday, January 4, 2011 2:04 PM

All replies

  • Try

    "%COMMONPROGRAMFILES%\microsoft shared\web server extensions\12\bin\stsadm.exe" -o export -url "http://myspserver/asite" -filename "C:\export\asite.cab" -includeusersecurity -versions 4

    Changed file extension and added "-includeusersecurity"


    Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/
    • Marked as answer by Peng Lei Monday, January 10, 2011 8:01 AM
    Tuesday, January 4, 2011 2:04 PM
  • I my case I hadn't all the files copied.
    Чтобы иметь большой гардероб - надо иметь большой гардероб.
    Tuesday, August 2, 2011 7:56 AM