我们有一个Web应用程序在Intranet上工作,我试图使用Visual Studio 2010将它发布到Internet。目标服务器正在运行iis7并且Web管理服务正在运行。MsDeploy返回403禁止
在Visual Studio 2010中我的服务网址是:
而且网站/应用程序是:
Default Web Site/WebApp
标记为IIS应用程序的目的和不受信任的证书被选中,我使用一个管理帐户。
Visual Studio中返回以下错误:
Start Web Deploy Publish the Application/package to https://xxx.xxx.xxx.xxx:8172/MsDeploy.axd?site=Default%20Web%20Site ... C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3588,5): Error : Web deployment task failed.(Remote agent (URL https://xxx.xxx.xxx.xxx:8172/MsDeploy.axd?site=Default Web Site) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
Remote agent (URL https://xxx.xxx.xxx.xxx:8172/MsDeploy.axd?site=Default Web Site) could not be contacted. Make sure the remote agent service is installed and started on the target computer. An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected. The remote server returned an error: (403) Forbidden.
任何想法如何发布它没有一个有效的SSL证书?
我得到相同的错误。有没有人有办法解决吗? –