【问题标题】:Remote Web Deploy not working远程 Web 部署不起作用
【发布时间】:2015-06-30 06:55:23
【问题描述】:

我已经开发了几个 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.

第一个网站总是正确发布。问题仅发生在第二个站点。

【问题讨论】:

  • 检查应用程序池,并使用模拟用户测试连接,我还建议检查 Web 部署凭据,您能否分享来自事件查看器的 Web 部署错误日志?

标签: asp.net iis


【解决方案1】:

我遇到了这个错误,但 Fiddler2 也在运行,这似乎干扰了部署。当我关闭它时,事情又开始了。确保事先测试连接。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-30
    • 1970-01-01
    • 2011-07-17
    • 2013-02-12
    • 2011-03-01
    • 1970-01-01
    • 2021-05-03
    • 2012-02-21
    相关资源
    最近更新 更多