【发布时间】:2012-07-16 12:56:17
【问题描述】:
最近在使用 asp.net 应用程序时,我收到以下错误:
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.
我确信前一天它工作得很好,但是我猜这个错误通常是由于多个 web.config 文件而发生的,但是我检查了我的项目,整个项目包含一个 web.config 文件,谁能告诉我我这个错误的原因可能是什么。
【问题讨论】:
标签: c# asp.net virtual-directory