我有一個使用.NET 4和ASP.NET MVC3在IIS 7.5中運行的網站。我得到以下錯誤:更改applicationHost.config中的設置爲允許對500.19錯誤沒有影響
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
我找到了解決辦法here,但是設置overrideModeDefault以允許在兩個處理器和模塊似乎對我的網站沒有影響,因爲我仍然得到了500.19的錯誤。我嘗試重新啓動IIS並搜索其他可能的配置文件,但找不到任何。我沒有想法,我看過的每個網站都建議上面的解決方案說要改變它,保存和完成,所以我對這個問題不知所措。我沒有做的唯一的其他事情是重新啓動服務器,但沒有建議這應該是必要的。