Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Struggling to get import-spweb to succeed

$
0
0

I performed an export-spweb on a site. I copied the folder containing the export to my test machine. 

I then performed

Import-spweb –identity http://myfarm/sites/dest/d62 -Path d:\temp\d22 –verbose –force –nofilecompression -includeusersecurity  -includeversions all

I got the following as a result:

VERBOSE: Leaving BeginProcessing Method of Import-spweb.
VERBOSE: Performing operation "Import-SPWeb" on Target "Import the contents in package d:\temp\d22 to the
destination site specified by http://myfarm/sites/dest/d62. By default, all files will be imported
as new versions of any existing file.".

Log file generated:
        d:\temp\d22\import.log

Import-SPWeb : Could not find file 'C:\Users\sa_spsdev\AppData\Local\Temp\2\us4vkzep.dll'.
At line:1 char:13
+ Import-spweb <<<<  -identity http://myfarm/sites/dest/d62 -Path d:\temp\d22 -verbose -force -nofil
ecompression -includeusersecurity
    + CategoryInfo          : InvalidData: (Microsoft.Share...CmdletImportWeb:SPCmdletImportWeb) [Import-SPWeb], FileNotFoundException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletImportWeb

VERBOSE: Leaving ProcessRecord Method of Import-spweb.
VERBOSE: Leaving EndProcessing Method of Import-spweb.

I don't have any idea what is going on.

A week ago, I exported the same site, imported it to this location, encountered a problem with some of the data in the export files, and had the owners remove the broken libraries.

At this point, I expected the import to work. Instead, it failed without a useful error. If the import expected to find something in that path, it would be something that the import put there. So why would it not be found?


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>