web.config allowDefinition=MachineToApplication error

前端 未结 9 1261
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 01:41

Under the root directory I have the following structure

..
..
..
web.config
Report Folder
- Login.aspx
- Web.config
  |
  |-> ViewReport
       |       
          


        
9条回答
  •  轮回少年
    2021-01-05 02:02

    Create a virtual directory at the site root. This can be done via project properties in VS under the Web tab.

    It's also possible that you have things defined in the sub-directory that should be in the root config file. See similar question here:

    Error to use a section registered as allowDefinition='MachineToApplication' beyond application level

提交回复
热议问题