我們有一個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證書?
我得到相同的錯誤。有沒有人有辦法解決嗎? –