【发布时间】:2012-10-28 20:50:11
【问题描述】:
在这方面需要你的帮助,我在我的本地主机上运行 azure 部署并获取没有 css 和 javascript 的网页,当我查看 fiddler 时,我看到 500 状态和以下错误:“It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS”在每个请求上对于 javascript 或 css 文件,我已经在 windows 功能上启用了静态内容,但它没有帮助,我在 windows 专业版 64 位上使用 iis 7.5 和 azure sdk 1.7,尝试了任何东西,但没有任何帮助,无法更改网站Web 应用程序导致该网站仅存在于 iis 上,而我正在运行调试,知道该怎么做吗?
【问题讨论】:
标签: asp.net-mvc iis azure