locked
Custom Error page not loading RRS feed

  • Question

  • User-98391979 posted

    When I have custom error turned on for my site, and then try www.domain.com/robots.txt..// , it errors out to an error page which says 

    Server Error in '/' Application.


    Runtime Error

    Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated. 

    How can debug this error or fix it so that the standard error page shows up?

    Thanks.

    - Dhillip

    Monday, September 14, 2015 9:04 AM

All replies

  • User-484054684 posted

    Hi

    Probably this is due to extension mapping issue. You could refer this similar thread: http://forums.iis.net/t/1200695.aspx

    To know the exact error, you can also first turn off Custom errors to off and see the actual yellow page to see and confirm the original error occurred and you can resolve it based on that error message.

    Once that is done, custom errors message should go away. But resolving the negative scenario, of how app should behave when this kind of unhandled exception occurs is also required for a good application.

    Monday, September 14, 2015 9:52 AM
  • User603616845 posted

    Hi,

    It seems that you have multiple web.config in your project or you are using authentication.

    please refer this link.

    http://stackoverflow.com/questions/16682724/how-to-solve-server-error-in-application

    Try to make page as startup page and run it.

    hope this will help you.

    thanks

    Monday, September 14, 2015 9:58 AM