ASP.Net - It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level

后端 未结 7 1934
南笙
南笙 2021-01-19 17:34

Getting this error on an intranet application we have running in our development environment, and I\'m not sure where to go/look for a solution. The application used to work

7条回答
  •  无人及你
    2021-01-19 17:42

    Just had this issue ... turned out to be a result of allowing debug information to be produced when publishing the Web App.

    Publish Web App - Settings - File Publish Options - Precompile during publishing (true) - Configure - Emit debug information. (Should actually read "Omit debug information")

    Delete Debug subdirectory of project and republish

提交回复
热议问题