网络/同步msdeploy到IISExpress失败
问题描述:
我有一个远程计算机上的IIS中的一个网站。我想将远程服务器上的网站同步到本地IISExpress。目前我没有我的本地IISExpress站点。我现在用的是以下msdeploy.exe
命令行(在这里我格式化它的几行,但当然,实际的命令是单行线):网络/同步msdeploy到IISExpress失败
msdeploy.exe
-verb:sync
-source:webApp="mysubdomain.mydomain.com",computername=mycomputer,userName=myuser,password=mypassword
-dest:auto
-apphostconfigdir=C:\Users\steen\Documents\IISExpress\config
-webserverdir="c:\program files (x86)\IIS Express"
我获得以下错误返回:
Error: Application Definition with path 'mysubdomain.mydomain.com' does not exist.
上午我做错了吗?
我需要对我的本地IISExpress网站之前,我可以同步(在那里,如果我必须在本地第一任何解决方法吗?)?
答
在-source参数,请尝试使用网络应用程序的名称WEBAPP(例如webApp="wordpress"
)和指定的URL在计算机名说法服务器。我不认为你需要有本地网站开始的,但当然,你需要拥有的任何Web应用程序的网站使用本地安装。
链接:Web应用程序:Web Deploy webApp Provider;计算机名:Web Deploy Provider Settings。