none
FatalError: Failed to read package file. at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest

    Question

  • we tried to import the content  (MOSS 2007)

    stsadm -o import -url http://site/ft -filename E:\data\fullbackup.cmp –Overwrite

    We got the following error message.

    -----

    Progress: Initializing Import.
    Error: Failure writing to target file
    FatalError: Failed to read package file.
       at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest
     request)
       at Microsoft.SharePoint.Deployment.SPImport.Run()
    *** Inner exception:

    Failure writing to target file
       at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstr
    TempDirectory, String bstrCabFileLocation)
       at Microsoft.SharePoint.Deployment.ImportDataFileManager.<>c__DisplayClass2.<
    Uncompress>b__0()
       at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivile
    ges>b__2()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunEleva
    ted secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback sec
    ureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevate
    d secureCode)
       at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest
     request)
    Progress: Import Completed.


    Thanks Vivek SharePoint Foundation 2010 Book
    http://www.redpipit.com

    Sunday, August 18, 2013 12:22 AM

Answers

  • While there are ways around this, importing content exported from MOSS 2007 to SharePoint 2010 is unsupported.  You need to take a content database backup and restore it to the SharePoint 2010 environment, performing an upgrade.  From there you can export from that upgraded content database to the destination location within SharePoint 2010.

    There are also 3rd party tools that will let you do a more targeted export/import between versions of SharePoint.


    Trevor Seward, MCC

    Follow or contact me at...
      

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Sunday, August 18, 2013 12:31 AM
    Moderator