Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > "Internal 500" error vs. a helpful message

Reply
Thread Tools

"Internal 500" error vs. a helpful message

 
 
Bob
Guest
Posts: n/a
 
      02-23-2006
Why does my IIS6 server sometimes give me very good error messages
from the VB/ASP interpreter... but mostly give me "Internal Server
error 500" messages?

Is there some way to force it to give the better error message all the
time? the 500 error is totally useless... time to hunt and peck. But,
I make a minor tweak in the code, perhaps 'fix' something very small
and I get "real" error message. Seems totally random as to which I
get.

Thanks,

 
Reply With Quote
 
 
 
 
Paxton
Guest
Posts: n/a
 
      02-23-2006

Bob wrote:
> Why does my IIS6 server sometimes give me very good error messages
> from the VB/ASP interpreter... but mostly give me "Internal Server
> error 500" messages?
>
> Is there some way to force it to give the better error message all the
> time? the 500 error is totally useless... time to hunt and peck. But,
> I make a minor tweak in the code, perhaps 'fix' something very small
> and I get "real" error message. Seems totally random as to which I
> get.
>
> Thanks,


In IE, go to Tools > Options > Advanced, then uncheck the Show friendly
http error messages box.

/P.

 
Reply With Quote
 
 
 
 
Bob
Guest
Posts: n/a
 
      02-25-2006
On 23 Feb 2006 14:23:49 -0800, "Paxton" <> wrote:

>In IE, go to Tools > Options > Advanced, then uncheck the Show friendly
>http error messages box.
>
>/P.


Thanks Paxton. Why is it so random as to when it shows the "real"
error and the 500 error? For example, I just had a program (before I
read your message) that was giving me the 500 error. I cut out the
section of code where I thought the problem was, it produced the page
just fine (lacking some content). I pasted the content back into the
same file I had just cut it out of to "prove" that I had narrowed the
bug - and instead of a 500 error I got the "real" error (unterminated
constant).

After applying your fix, even the original program is now working...
so I have a solution, but the somewhat random previous action is
puzzling.
 
Reply With Quote
 
Paxton
Guest
Posts: n/a
 
      02-25-2006

Bob wrote:
> On 23 Feb 2006 14:23:49 -0800, "Paxton" <> wrote:
>
> >In IE, go to Tools > Options > Advanced, then uncheck the Show friendly
> >http error messages box.
> >
> >/P.

>
> Thanks Paxton. Why is it so random as to when it shows the "real"
> error and the 500 error? For example, I just had a program (before I
> read your message) that was giving me the 500 error. I cut out the
> section of code where I thought the problem was, it produced the page
> just fine (lacking some content). I pasted the content back into the
> same file I had just cut it out of to "prove" that I had narrowed the
> bug - and instead of a 500 error I got the "real" error (unterminated
> constant).
>
> After applying your fix, even the original program is now working...
> so I have a solution, but the somewhat random previous action is
> puzzling.


The honest answer is I don't know why it was random. I suspected it
may be that the type of message you get is dependant on what process
encounters the error (ASP runtime, OLEDB provider etc), so to test this
theory, I set IE options to defaults, shut down and rebooted, saw that
Show friendly errors is checked and wrote a script with errors. I get
a detailed report, not a friendly error - regardless of the error type.

Consequently, my conclusion is that IE doesn't work as it should in
this area.

Switch to Firefox

/P.

 
Reply With Quote
 
Bob
Guest
Posts: n/a
 
      02-25-2006
On 25 Feb 2006 08:07:54 -0800, "Paxton" <> wrote:

>Consequently, my conclusion is that IE doesn't work as it should in
>this area.
>
>Switch to Firefox
>
>/P.


Thanks. That was always my fallback in the past for testing since IE
has never had a good "reload" function. I should have stuck with
"tried and true"... been away from this for too long.
 
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
MSbuild not building. no helpful error messages. =?Utf-8?B?cm9nZXIyMw==?= ASP .Net 0 05-27-2006 05:01 PM
Helpful resources before starting a MCSD course =?Utf-8?B?Q2xvd25zaG9lcw==?= MCSD 1 08-23-2005 06:12 PM
Configuration Error Not Helpful Peter D. Dunlap ASP .Net 2 07-19-2005 12:01 PM
Paisleyskye, helpful or hinderance Consultant MCSE 31 01-05-2004 09:15 PM
helpful stuff DaPunisher MCSE 0 12-05-2003 04:01 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57