Hi there!
Here is our situation:
- We need to move one site with a big amount of data (10 Gb) from IIS 6 (Windows Server 2003 named W2003) to IIS 8 (Windows Server 2012 named W2012). W2003 and W2012 are located in 2 different forests. There is no trust between the forests.
- We installed Web Deployment Tool: version 2 on W2003 and version 3 on W2012.
- We tried packaging all sites which reside on W2003, but after about 10 hours of packaging the command failed with the error regarding insufficient space. There are 85 GB of space available though. The same command with "-whatif" finished successfully. Here
is the command:
C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:sync -source:metakey=lm/w3svc -dest:package=c:\Temp\IIS6.zip,encryptPassword="P4ssword" > "c:\Temp\LM w3svc Package Report.txt" - We followed
http://www.aip.im/2012/02/how-to-migrate-multiple-sites-from-iis-6-to-iis-7/
- On W2008 we ran:
msdeploy -verb:sync -source:metakey=lm/w3svc -disableLink:contentExtension -dest:package=C:\Temp\Sites.zip,encryptPassword=P4ssword > C:\Temp\WebDeploySource.log - On W2012 we simulated the sites import and received the following error:
C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy.exe -verb:sync -source:package=c:\Temp\Sites.zip,encryptPassword=P4ssword -disableLink:contentExtension -dest:metakey=lm/w3svc -whatif > C:\temp\WebDeployWhatIf.log
Error Code: ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH
More Information: The versions of the .NET Framework Configuration Provider (rootWebConfig32) are different on the source (2.0.50727.3623) and destination (4.0). Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH. - On W2012 we followed the referenced article and run the following commend (Solution Option #1)
C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:webserver,machineconfig32.netfxversion=2,machineconfig64.netfxversion=2,rootwebconfig32.netfxversion=2,rootwebconfig64.netfxversion=2 -dest:webserver,machineconfig32.netfxversion=2,machineconfig64.netfxversion=2,rootwebconfig32.netfxversion=2,rootwebconfig64.netfxversion=2,computername=W2012
It executed without error, but made no changes:
Total changes: 0 (0 added, 0 deleted, 0 updated, 0 parameters changed, 0 bytes copied) - When we executed step 4.2 we still received error ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.
- On W2008 we ran:
Questions:
- What would be the best way to migrate required site from W2003 to W2012? And would you be so kind to outline the migration steps?
- How to find out which site to package?
- How to package only specific site from several sites which are running on IIS 6.0?
Thank you very much for your time and attention in advance!