Custom Error Page Not Displaying

K

KJ

Below is my web.config file. It's not redirecting. It was at one time.
Please Help


<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<system.web>


<compilation defaultLanguage="vb" debug="true" />


<customErrors mode="On" defaultRedirect="error.aspx"/>


<authentication mode="None" />



<authorization>
<allow users="*" />
</authorization>


<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />



<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>


<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

</system.web>

</configuration>
 
K

KJ

I'm trying to have all errors go to this page and display the error on
it. I got it to display. Now I just want the short error mesaage to
display on it. Not the long one which gives you the trace.
 

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

Similar Threads

Config Error!!! 1
<system.web> 0
<system.web> 2
Problem referencing web service 5
customErrors doesn't work 0
Runtime error when customErrors are Off 0
web.config 3
TextWriterTraceListener 6

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top