Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > CustomErrors! What is going on?

Reply
Thread Tools

CustomErrors! What is going on?

 
 
shapper
Guest
Posts: n/a
 
      11-27-2008
Hello,

I have the following on my ASP.NET web.config file:

<customErrors mode ="On" defaultRedirect ="/Error/Generic">
<error statusCode ="400" redirect ="/Error/Http/400"/>
<error statusCode ="401" redirect ="/Error/Http/401"/>
<error statusCode ="403" redirect ="/Error/Http/403"/>
<error statusCode ="404" redirect ="/Error/Http/404"/>
<error statusCode ="408" redirect ="/Error/Http/408"/>
<error statusCode ="500" redirect ="/Error/Http/500"/>
<error statusCode ="502" redirect ="/Error/Http/502"/>
<error statusCode ="503" redirect ="/Error/Http/503"/>
<error statusCode ="504" redirect ="/Error/Http/504"/>
</customErrors>

Something very strange happens. Every time I refresh a page the error
is fired but the HttpCode is always null.

I have no idea why this is firing because no error happens.

Could someone help me out?

Thanks,

Miguel
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Windows XP: Going, going ... gone? OTHMAN MCSE 2 03-25-2008 04:45 PM
XP search going all lame on me..explorer going crazy when trying tosearch. fotoobscura Computer Support 8 01-12-2008 01:09 AM
Firefighters at the site of WTC7 "Move away the building is going to blow up, get back the building is going to blow up." Midex Python 24 05-07-2007 04:23 AM
floppy drive just keeps on going and going and ... Weylon Bulloch Computer Support 1 09-07-2003 07:17 AM
VPN going up but traffic going one way PLP Cisco 1 07-11-2003 08:28 AM



Advertisments