473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 3625
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: lurisia | last post by:
Hi, I'm not getting any error messages for my incorrect php code, and it's making it very difficult to debug. Instead of an error, the page displays part of the generated html (without the part...
2
by: John Alleyman | last post by:
Hi there, Is there a simple way to prevent error messages (falsely connecting to database etc.) being diplayed? My own build in messages are enough... thanks, Chris
2
by: Passero | last post by:
I'm using IIS from win xp pro and normally when my page doesn't work i get the error message but not on my computer.... Someone told me that i had to check the option in my IE, i did that but i...
3
by: Shabam | last post by:
I know that dotnet allows for form field validation. However I'm looking to customize the error message display and am wondering if it's possible to do what I need. Example: Suppose in a...
4
by: Simon Wigzell | last post by:
I'm running asp on MS Server 2000. Running Internet Explorer I used to get a proper message with page and line number when there was a bug in my asp code. Suddenly I'm not getting these any more, I...
1
by: bjbounce2002 | last post by:
Hello, I am using forms with command buttons to close form or run action queries. The error messages such as "Null value in required field" or "duplicate value in primary key" are suppressed....
5
by: tshad | last post by:
I have a problem where I have some text boxes in my datagrid. The problem is the message gets displayed and moves the cells to the right. Is there a way to tell the messages to go to a specific...
0
by: Dave S | last post by:
In .Net 1.1 SP1 Web services that raise exceptions that contain xml encodable characters such as ",< etc. are displayed incorrectly. For example the exception "The file "filename.txt" cannot be...
2
by: Daniel Forstner | last post by:
I have been using access for years but only recently have I been getting more serious and as a result I have been playing around with the different options / settings access offers. It seems to me...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.