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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error not displaying 1

Status
Not open for further replies.

cottontop

Technical User
Jul 12, 2001
105
US
Some assistance please.

I'm forcing errors in my code to learn how they show in IE6, but they don't show! I only get "The page cannot be displayed" message.

If I remove the error, the page performs as expected.

Aren't I'm suppose to see an error of some type?

Code:

<%@ LANGUAGE="VBScript" %>
<% OPTION EXPLICIT %>
<% myfirstvariable =2 %>
<html>
<Body>
The variable name "myfirstvariable" has a value of
<%
'misspell the variable to force error
Response.Write(myfirtvariable)
%>
</Body>
</html>

At the bottom of the results page there's:
"HTTP 500 - Internal server error
Internet Explorer"

How do I get to see the errors?

Thanks,
 
Go to Tools, Internet Options, Advanced and then uncheck "Show friendly HTTP error messages". This should then show you the actual messages.

------------------------------------------------------------------------------------------------------------------------
"The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair."
--Dou
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top