Exception:
error occured while importing the web http://SiteURL
Could not find the file ‘C:\WINDOWS\TEMP\f611fafc-73d8-4b48-bc1e-f9ef6d7cb991\Exportsettings.xml’
Reason:
Microsoft Office SharePoint Designer 2007 failed to create a valid Content Migration Package (.cmp) for site having size greater than 25MB. Although, you will have a success message for backup but when you try to restore it, you will face the error of “Exportsettings.xml” file. The backup Content Migration Package (.cmp) can’t be restored.
A typical “Exportsettings.xml” file has the following contents:
<?xml version=”1.0″ encoding=”utf-8″ ?>
- <ExportSettings xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance“ xmlns:xsd=”http://www.w3.org/2001/XMLSchema“ SiteUrl=”http://ServerName/“ FileLocation=”PathOfTheBackupFile“ BaseFileName=”" IncludeSecurity=”None“ IncludeVersions=”All“ ExportPublicSchema=”true“ ExportMethod=”ExportAll“ ExcludeDependencies=”true“ xmlns=”urn:deployment-exportsettings-schema“>-
<ExportObjects>
<DeploymentObject Id=”729ad10a-1ebf-48c1-bc95-ab2ffb7f5663“ Type=”Web“ ParentId=”00000000-0000-0000-0000-000000000000“ Url=”/URLOfTheSite“ ExcludeChildren=”false“ IncludeDescendants=”All” />
</ExportObjects>
</ExportSettings>
The problem is that when “Microsoft Office SharePoint Designer 2007” tries to backup the site, WSS fail to create a valid Content Migration Package (.cmp). When, “Microsoft Office SharePoint Designer 2007” download first or some of the Content Migration Package (.cmp) files, other files are deleted. Thanks to the MOOS recycle bin, all the other (.cmp) files go straight to it.
Resolution:
The workaround for this problem requires “Microsoft Cabinet Software Development Kit”. Download Cabsdk.exe before proceeding.
The first step is to take the backup of the site. (For details, follow the link). We name the Content Migration Package (.cmp) as “test.cmp”.Now when your try to restore the site using Content Migration Package (.cmp) “test.cmp”, you will face the error
“error occured while importing the web http://SiteURL
Could not find the file ‘C:\WINDOWS\TEMP\f611fafc-73d8-4b48-bc1e-f9ef6d7cb991\Exportsettings.xml’
To restore the site, go to the Recycle bin of the site and there you will find the files with extension “.cmp”. Example name are like “D3F44E4819C24ED6AA9F7049E04AA431.cmp”, and “D3F44E4819C24ED6AA9F7049E04AA4311.cmp”, Restore these files from recycle bin.
Now open / refresh the site in Microsoft Office SharePoint Designer 2007 and you will see all the files at the root of the site.
The next step is to publish these files on the local folder. Right click on the files and select “Publish Selected File..” as shown in the figure below:
“Remote Web Site Properties” dialog box will appear, select “File System” option and “Browse” to the desired local directory as shown in the figure below:
Click “Ok” and files will be published at the desired directory.
Now change the extension of the files from *.cmp to *.cab and unzip to the files to a directory, say,”testdir”. (say path C:\testdir)
Run Console and move to the bin directory of the “Microsoft Cabinet Software Development Kit”. Run the command cabarc n test-restore.cab C:\testdir\*.* A cab file with the name test-restore.cab will be created in the bin directory of “Microsoft Cabinet Software Development Kit”. Change the extension of the file from and “*.cab” to “.cmp” and use this file to restore the site.
In case you may encounter an error, try adding the original back up file “test.cmp” into the “testdir” directory or adding all the files from the site recycle bin into the “testdir” directory.
http://www.dotnetjunkies.com/WebLog/mwherman2000/archive/2007/07/26/271409.aspx
http://support.sherweb.com/showfaq.php?idarticle=191&idcat=25



