作者:端庄的一白_167 | 来源:互联网 | 2023-05-17 20:56
ForASP.NETprojectMSBuildgivessomefilesinE:\Buildsuchas:对于ASP.NET项目,MSBuild在E:\Build中提供了一
For ASP.NET project MSBuild gives some files in E:\Build such as:
对于ASP.NET项目,MSBuild在E:\ Build中提供了一些文件,例如:
- TestProjectA.deploy.cmd
- TestProjectA.deploy.cmd
- TestProjectA.SetParameters.xml
- TestProjectA.SetParameters.xml
- TestProjectA.SourceManifest.xml
- TestProjectA.SourceManifest.xml
- TestProjectA.zip
- TestProjectA.zip
To deploy from Windows 7 to Windows Server 2008 R2 (IIS 7)
从Windows 7部署到Windows Server 2008 R2(IIS 7)
Executing command gives following error message:
执行命令会显示以下错误消息:
Command
命令
C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy.exe -verb:sync -source:cOntentPath='E:\Build' -dest:cOntentPath='ra/files-to-pub',ComputerName="https://:8172/msdeploy.axd?site=ra",UserName='DEV\Administrator',Password='MyPassword',AuthType='Basic' -enableRule:DoNotDeleteRule -whatif -allowUntrusted
Error Message:
错误信息:
Info: Using ID 'd1bbee7a-e940-4be1-b41d-1847b3e7022d' for connections to the remote server. Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC More Information: Could not connect to the remote computer ("[IP ADDRESS]") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC. Error: The remote server returned an error: (550). Error count: 1
信息:使用ID“d1bbee7a-e940-4be1-b41d-1847b3e7022d”连接到远程服务器。错误代码:ERROR_COULD_NOT_CONNECT_TO_REMOTESVC更多信息:无法使用指定的进程(“Web管理服务”)连接到远程计算机(“[IP ADDRESS]”),因为服务器没有响应。确保在远程计算机上启动了该过程(“Web管理服务”)。有关详细信息,请访问:http://go.microsoft.com/fwlink/?LinkId = 221672 #ERROR_COULD_NOT_CONNECT_TO_REMOTESVC。错误:远程服务器返回错误:(550)。错误计数:1
Given link suggest to do:
鉴于链接建议:
- Ping the remote machine. *STATUS-OK
- Ping远程计算机。 * STATUS-OK
- The msdepsvc or wmsvc service is started on the remote server. *STATUS-OK
- msdepsvc或wmsvc服务在远程服务器上启动。 * STATUS-OK
- Firewall is not blocking incoming connections of your ports on the destination. If it used the default installation, then it would be 80 for msdepsvc and 8172 for wmsvc. *STATUS-OK
- 防火墙不会阻止目标上端口的传入连接。如果它使用默认安装,则msdepsvc为80,wmsvc为8172。 * STATUS-OK
Both of service are running at target server:
这两个服务都在目标服务器上运行:
- Web Management Services
- 网站管理服务
- Web Deployment Agent Service
- Web部署代理服务
What can do now to solve it?
现在可以做些什么来解决它?
2 个解决方案