How to override HttpErrors section in Web.Config - ASP.NET MVC3
问题 I am trying to add custon 404 pages as per answer of this question ASP.NET MVC 404 handling and IIS7 <httpErrors> by adding <httpErrors existingResponse="PassThrough" /> under <system.webServer> tag in my Web.Config file. But I am getting following error Module: CustomErrorModule Notification: SendResponse Handler: System.Web.Mvc.MvcHandler Error Code: 0x80070021 Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level.