Pages

Thursday, November 18, 2010

Web deploy IIS6 to IIS7 migration problem


Web deploy IIS6 to IIS7 migration problem

I'm trying to move a site with the Web Deployment tool, but the site on the source server is on drive "E", whereas on the destination server it's on drive "C" - how can I configure Web Deploy for this difference?  (I get an drive "E" not found error now when I try the move)

use the replace rule to create the DEPLOYMENT package.

eg: To package

msdeploy -verb:sync  -source:metakey=lm/w3svc/119998765 -dest:package=c:\myWebSite.zip
-replace:objectName=metaProperty,scopeAttributeName=name,scopeAttributeValue=path,targetAttributeName=value,match="e:",replace="c:"
-whatif
> WebDeployPackage.log

*  Make sure you add the  -whatif argument to display what would have happened without actually performing any operations.

See MSDeploy Blog
http://blogs.iis.net/msdeploy/archive/2008/05/23/how-to-write-skip-and-replace-rules-for-msdeploy.aspx

http://technet.microsoft.com/tr-tr/library/dd568992(WS.10).aspx
 

****AS IS**** ; Please apply at your own risk.

No comments:

Post a Comment