【问题标题】:Visual Studio 2012 'Publish Profile' to Windows Server 2008 - 'Destination not compatible' errorVisual Studio 2012“发布配置文件”到 Windows Server 2008 -“目标不兼容”错误
【发布时间】:2013-05-22 10:40:03
【问题描述】:

我正在将一个网站从 Visual Studio 2012 部署到 Windows Web Server 2008 R2。

我可以正常连接到 Web Deploy - 虽然我收到此错误:

1>(27/05/2013 21:03:29) An error occurred when the request was processed on the remote computer.
1>Source (appHostConfig=Default Web Site/myAppMVC4) and destination (appHostConfig=myapp.com) are not compatible for the given operation.
1>Publish failed to deploy.

【问题讨论】:

    标签: visual-studio visual-studio-2012 webdeploy microsoft-web-deploy


    【解决方案1】:

    我通过右键单击项目(不是解决方案)解决了这个问题 - 单击打包/发布 Web 并取消选择“包括 IIS 中配置的 IIS 设置”

    现在可以正常工作了。

    也许这是因为我在本地 Windows 8 上使用 IIS 8 - 而在 Windows Server 2008 上使用 IIS 7?

    【讨论】:

    • 并确保您更改了正确的配置文件(发布与调试)。我花了一段时间才弄明白。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多