469,645 Members | 1,702 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

IIS 7 - Error Messages Not Displayed tho Debugging Options set in

Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to true
in the IIS console.

No Errors are sent to browser and the script stops running at the error.

This occurs for instance with an Option Explicit error - ie a non
dimensioned variable is referenced in code with Option Explicit set.

<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>

Any comments , please ?

Jan 21 '08 #1
10 3464
re:
!>IIS is not displaying run time errors
!<%@ Language=VBScript %>

VBScript is not a server programming language. It's a client-side programming language.

IIS doesn't even know any error occurred in that script.
You need to debug VBScript client-side.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"race4space" <ra********@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to true
in the IIS console.

No Errors are sent to browser and the script stops running at the error.

This occurs for instance with an Option Explicit error - ie a non
dimensioned variable is referenced in code with Option Explicit set.

<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>

Any comments , please ?

Jan 21 '08 #2
Juan, Thanks for your message. However VBScript is a server programming
language.

See this Microsoft site for confirmaiton of this:

http://msdn2.microsoft.com/en-us/lib...wf(VS.85).aspx
Microsoft Visual Basic Scripting Edition brings active scripting to a wide
variety of environments, including Web client scripting in Microsoft Internet
Explorer and Web server scripting in Microsoft Internet Information Service.

"Juan T. Llibre" wrote:
re:
!>IIS is not displaying run time errors
!<%@ Language=VBScript %>

VBScript is not a server programming language. It's a client-side programming language.

IIS doesn't even know any error occurred in that script.
You need to debug VBScript client-side.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"race4space" <ra********@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to true
in the IIS console.

No Errors are sent to browser and the script stops running at the error.

This occurs for instance with an Option Explicit error - ie a non
dimensioned variable is referenced in code with Option Explicit set.

<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>

Any comments , please ?



Jan 21 '08 #3
Do you have friendly errors turned off in IE?

http://support.microsoft.com/kb/294807

Ray at work

"race4space" <ra********@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to
true
in the IIS console.

No Errors are sent to browser and the script stops running at the error.

This occurs for instance with an Option Explicit error - ie a non
dimensioned variable is referenced in code with Option Explicit set.

<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>

Any comments , please ?

Jan 21 '08 #4
I should add this occurs on Windows Vista Business Edition running IIS 7

"race4space" wrote:
Juan, Thanks for your message. However VBScript is a server programming
language.

See this Microsoft site for confirmaiton of this:

http://msdn2.microsoft.com/en-us/lib...wf(VS.85).aspx
Microsoft Visual Basic Scripting Edition brings active scripting to a wide
variety of environments, including Web client scripting in Microsoft Internet
Explorer and Web server scripting in Microsoft Internet Information Service.

"Juan T. Llibre" wrote:
re:
!>IIS is not displaying run time errors
!<%@ Language=VBScript %>

VBScript is not a server programming language. It's a client-side programming language.

IIS doesn't even know any error occurred in that script.
You need to debug VBScript client-side.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"race4space" <ra********@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to true
in the IIS console.
>
No Errors are sent to browser and the script stops running at the error.
>
This occurs for instance with an Option Explicit error - ie a non
dimensioned variable is referenced in code with Option Explicit set.
>
<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>
>
Any comments , please ?
>
>
>
Jan 21 '08 #5
What that quote means is that you can use VBScript in ASP/IIS.
You cannot use it in server-side ASP.NET/IIS.

That script you wrote will *not* execute server side.
Believe me. I have co-written several books on ASP and ASP.NET.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"race4space" <ra********@discussions.microsoft.comwrote in message
news:23**********************************@microsof t.com...
Juan, Thanks for your message. However VBScript is a server programming
language.

See this Microsoft site for confirmaiton of this:

http://msdn2.microsoft.com/en-us/lib...wf(VS.85).aspx
Microsoft Visual Basic Scripting Edition brings active scripting to a wide
variety of environments, including Web client scripting in Microsoft Internet
Explorer and Web server scripting in Microsoft Internet Information Service.
"Juan T. Llibre" wrote:
>re:
!>IIS is not displaying run time errors
!<%@ Language=VBScript %>

VBScript is not a server programming language. It's a client-side programming language.

IIS doesn't even know any error occurred in that script.
You need to debug VBScript client-side.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"race4space" <ra********@discussions.microsoft.comwrote in message
news:04**********************************@microso ft.com...
Hi, IIS is not displaying run time errors - the various debugging options
(Enable Server Side Debugging, Send Errors to Browser) have been set to true
in the IIS console.

No Errors are sent to browser and the script stops running at the error.

This occurs for instance with an Option Explicit error - ie a non
dimensioned variable is referenced in code with Option Explicit set.

<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>

Any comments , please ?



Jan 21 '08 #6
Hey Juan. I think maybe he's using a .asp extension and just posted to the
wrong group. :]

Ray at work

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:Ox**************@TK2MSFTNGP04.phx.gbl...
What that quote means is that you can use VBScript in ASP/IIS.
You cannot use it in server-side ASP.NET/IIS.

That script you wrote will *not* execute server side.
Believe me. I have co-written several books on ASP and ASP.NET.

Jan 21 '08 #7
Yup.

It certainly looks that way. ;-)

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Ray Costanzo" <my first name at lane34 dot commercialwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
Hey Juan. I think maybe he's using a .asp extension and just posted to the wrong group. :]

Ray at work
"Juan T. Llibre" <no***********@nowhere.comwrote in message news:Ox**************@TK2MSFTNGP04.phx.gbl...
>What that quote means is that you can use VBScript in ASP/IIS.
You cannot use it in server-side ASP.NET/IIS.

That script you wrote will *not* execute server side.
Believe me. I have co-written several books on ASP and ASP.NET.

Jan 21 '08 #8
race4space

Your code as follows has a typo in it:
<%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>
You reference the variable testMy, but you declared the variable testMe.

HTH

--
Regards

Chris Marsh
Jan 21 '08 #9
re:
!Your code as follows has a typo in it:

Chris,

I think that was intentional, to see if an error occurs.

The error should occur, but it will occur client-side and, unless the code is being debugged
client-side, the error will never show up and, particularly, it can't show up server-side.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Chris Marsh" <cj*****@newsgroup.nospamwrote in message news:uF*************@TK2MSFTNGP04.phx.gbl...
race4space

Your code as follows has a typo in it:
><%@ Language=VBScript %>
<% Option Explicit %>
<%
Dim testMe
testMe = "Hello World!"
Response.Write "testMy : " & testMy
Response.End
%>

You reference the variable testMy, but you declared the variable testMe.

HTH

--
Regards

Chris Marsh

Jan 21 '08 #10
Juan

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
re:
!Your code as follows has a typo in it:

I think that was intentional, to see if an error occurs.

The error should occur, but it will occur client-side and, unless the code
is being debugged
client-side, the error will never show up and, particularly, it can't show
up server-side.
Ah, in that case I misunderstood - apologies. That's what comes of not
reading the thread thoroughly enough before posting :-(

--
Regards

Chris Marsh
Jan 21 '08 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by lurisia | last post: by
2 posts views Thread by John Alleyman | last post: by
3 posts views Thread by Shabam | last post: by
4 posts views Thread by Simon Wigzell | last post: by
5 posts views Thread by tshad | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.