Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Error 0

Status
Not open for further replies.

Caradog

Programmer
Jun 28, 2000
73
GB
Wotcha ppl,

ASP is raising an error 0 for some of our pages though we don't know why or what the error is. Our first thoughts is that it's not an error, possibly a warning or similar, or maybe even a dummy error.

Does anyone know what error 0 actually is? - Jay
code@jay-hayman.co.uk
 
That error seems familiar, like I have had it before, but can't remember what it was. Is that all that is displayed in the error message? Is there a line number? If so what code is on that line number? www.vzio.com
star.gif
/ [wink]
 
That's the problem :) We don't know where the error is coming from or what code is generating it, only that it has been raised.

For security reasons I'm not allowed post all of the http server vars here which we get when an error is rasied, but I can tell you that the user was on port 443 using 128bit SSL, was using session vars, IIS5.0, IE6, and was either retriving from or posting to an SQL Server 7 database.

Sorry to be so vague but maybe that might jog your memory, besides what I've posted here, there not really much more info we got from the error page. - Jay
code@jay-hayman.co.uk
 
Is there an on error anywhere in your code?
Code like that can disguise the real error like the code below:

<% Response.CacheControl = &quot;no-cache&quot; %>
<% Response.AddHeader &quot;Pragma&quot;, &quot;no-cache&quot; %>
<% Response.Expires = -1
on error resume next
response.write 1/0
if err.number <> 0 then' oh an error ocured
on error goto 0 ' when the next error ocures I do not want it scipped but it sets the errcode to 0
Response.Write &quot;see the error number has been set to &quot; & err.Number & &quot; but depending on the next code this error might still be raised&quot;
end if
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top