Custom Error Pages with Web.Config

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • leo.johnleo@gmail.com

    Custom Error Pages with Web.Config

    Im having trouble implementing the "simple" code for redirecting errors
    to a custom user error page.
    Do i simply type the following:
    <configuratio n>
    <system.web>
    <customErrors mode="On" defaultRedirect ="errorpage.asp x"
    />
    <compilation debug="true"/>
    </system.web>
    </configuration>

    Is there anything else i must do??

Working...