custom error pages

Discussion in 'General troubleshooting' started by mhson1978, Jan 19, 2011.

  1. Hello everyone. I've seen other posts on how to set up custom error pages using IIS7 management tool.

    I have custom error page Error.aspx available. however, i can't seem to get it to work correctly.

    Does it have to be html page?

    I've tried setting full server path to this file. When I save, Type is set to File. I've tried other options but automatic redirect doesn't work.

    any help will be greatly appreciated.

    thank you.
     
  2. Ray

    Ray

    There's two types of custom error handling done in IIS 7. One is the error page thrown by IIS 7 itself and the other is thrown by ASP.Net.

    First setup the custom error for IIS 7. Connect to our server using IIS 7 Manager and follow these instructions.

    http://support.Winhost.com/KB/a628/using-the-microsoft-iis-70-manager.aspx
    http://forum.Winhost.com/showthread.php?t=7578

    Then setup the custom error in your applications web.config file. Try looking at this link.

    http://msdn.microsoft.com/en-us/library/h0hfz6fc(v=vs.71).aspx
     
    Last edited by a moderator: Oct 14, 2015

Share This Page