IIS 7.5 – Revert custom error pages to inherited ones

by luca
0 comment

On IIS you can define custom error pages for the different HTTP error codes (for example the code 404 stands for “page not found”). Today I needed to revert the custom error pages to the default ones for a subsite:


You can remove the custom configuration forcing the inheritance. Open the Configuration Editor:


Choose system.webServer/httpErrors as Section, right-click on defaultPath and select Section -> Revert To Parent:


Related Posts

Leave a Comment

19 − nineteen =