我开发了几个ASP.NET 4.5应用程序,我想使用Web Deploy将它们发布到运行IIS 8的远程计算机上。
我在IIS8,Site1和Site2中创建了两个站点。我创建了一个IIS用户,并且我允许访问这个用户的两个站点。
我可以通过Web Deploy发布第一个站点,但我无法发布第二个站点。
当我尝试发布第二个网站时,我在Visual Studio中收到此错误
2>Start Web Deploy Publish the Application/package to https://27.147.144.98:8172/msdeploy.axd?site=NSU ...
2>Adding ACL's for path (NSU)
2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4255,5): Error : Web deployment task failed. ((6/30/2015 12:36:37 PM) An error occurred when the request was processed on the remote computer.)
2>
2>(6/30/2015 12:36:37 PM) An error occurred when the request was processed on the remote computer.
2>The server experienced an issue processing the request. Contact the server administrator for more information.
2>Publish failed to deploy.
始终正确发布第一个网站。问题仅发生在第二个站点。
答案 0 :(得分:0)
我遇到了这个错误但也运行了Fiddler2,这似乎干扰了部署。当我关闭它时,事情又恢复了。确保事先测试连接。