I have following lines in my web.config file. All I am trying to achieve is to display a custom error page if anything goes wrong in application. But instead of getting the custom page I get error as in attached image. Any idea why ? I am running asp.net 4 website on IIS7.5.
</httpErrors>