SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: where did the error messages go?
-
Feb 21, 2012, 10:03 #1
- Join Date
- Feb 2012
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
where did the error messages go?
I have the following asp page. It should produce an error, but it does not. It just stops after the execute. It prints the "before", but not the "after". How do I get the error messages?
I'm using IE8, and I have unchecked the disable script debugging check boxes in Internet Options.
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/Connection.asp" -->
<%
set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = MM_Connection_STRING
cmd.CommandText = "dbo.does_not_exist"
cmd.CommandTimeout = 0
cmd.Prepared = true
response.write "before"
cmd.Execute
response.Write "after"
%>
-
Feb 21, 2012, 16:59 #2
- Join Date
- Apr 2009
- Posts
- 359
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Check your include file for any "on error resume next" statement, if found comment it out, and then try again.
Doug G
=====
"If you ain't the lead dog, the view is always the same - Anon
-
Feb 22, 2012, 15:38 #3
- Join Date
- Feb 2012
- Posts
- 3
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
No, there's no "on error" in the include file. There should be an error message right? I'm thinking that someone may have tinkered with the IIS. It's a shared web server.
Bookmarks