【发布时间】:2014-07-30 03:46:13
【问题描述】:
我知道这可能是最常见的 Windows Azure 部署问题之一,但它已经困扰我三到四天了,我似乎无法找到问题的根源。云服务部署不断重启并自行回收。
当我远程进入虚拟机时,我在 IIS 管理器中只看到两个警告(源“Microsoft-Windows-WAS”):
[ID: 5048] The application '/' belonging to site '1' has an invalid AppPoolId 'DefaultAppPool' set. Therefore, the application will be ignored.
接下来是:
[ID: 5056] Site 1 was disabled because the root application defined for the site is invalid. See the previous event log message for information about why the root application is invalid.
我已经尝试过 IntelliTrace,但在网络角色存在的短时间内无法获得任何有用或决定性的信息;在 IIS 管理器的 Sites 文件夹下没有任何内容。这让我很困惑;我认为这是 SDK 依赖项不匹配,所以我继续卸载 Windows Azure SDK 2.1 以外的所有内容,但问题仍然存在。
不过,在完整的计算模拟器中进行调试似乎没有任何问题。
希望这里的人能帮助我……我很绝望!!
【问题讨论】:
标签: asp.net-mvc debugging iis azure azure-web-roles