[1/27/2012 6:52:38 PM] Start Time: 1/27/2012 6:52:38 PM.
[1/27/2012 6:52:38 PM] Progress: Initializing Import.
[1/27/2012 7:00:03 PM] Error: Failure writing to target file
[1/27/2012 7:00:04 PM] Debug: at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
[1/27/2012 7:00:04 PM] FatalError: Failed to read package file.
*** Inner exception:
Failure writing to target file
[1/27/2012 7:00:04 PM] Debug: at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstrTempDirectory, String bstrCabFileLocation)
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest request)
[1/27/2012 7:00:29 PM] Progress: Import did not complete.
[1/27/2012 7:00:29 PM] Finish Time: 1/27/2012 7:00:29 PM.
[1/27/2012 7:00:29 PM] Duration: 00:07:51
[1/27/2012 7:00:29 PM] Finished with 0 warnings.
[1/27/2012 7:00:29 PM] Finished with 2 errors.
Hi ,
I have exported a site http://teamsite in share point 2007 set up and try to import in 2010 sitehttp://mysite using stsadm.The command details is given below.
stsadm -o export -url http://teamsite -filename c:\backup\team.cab -includeusersecurity . it has created 277 cab file . then i have copy these file to 2010 sytem and given the import command.
stsadm-import -url http://mysite -filename d:\backup\team.caband found the above code error. Please send the reply to my email jitendriya.jamadar@hcl.com









