Custom Error Pages with Web.Config

L

leo.johnleo

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

Is there anything else i must do??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,619
Members
45,316
Latest member
naturesElixirCBDGummies

Latest Threads

Top