Our production sites return yellow screen as response in case of bad request.
Most of the asp.net bases sites including asp.net, MSDN even in local environment IIS return a user friendly response. what am I missing? our sites are hosted at IIS8
Our production sites return yellow screen as response in case of bad request.
Most of the asp.net bases sites including asp.net, MSDN even in local environment IIS return a user friendly response. what am I missing? our sites are hosted at IIS8
In your web.config, turn debug to false and custom errors on. You can also name the page you want to to redirect to see this post Server Error in '/' Application. ASP.NET. That should do it.
<system.web>
<compilation debug="false" targetFramework="4.5" />
<customErrors mode="On" />
</system.web>