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

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

am 21.01.2008 12:16:00 von race4space

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 ?

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

am 21.01.2008 12:23:44 von nomailreplies

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" wrote in message
news:04339B06-0A90-44A9-993D-1FE288847365@microsoft.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 ?
>
>
>

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 13:46:03 von race4space

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/library/1kw29xwf(VS.85).asp x
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" wrote in message
> news:04339B06-0A90-44A9-993D-1FE288847365@microsoft.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 ?
> >
> >
> >
>
>
>

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

am 21.01.2008 13:46:47 von Ray Costanzo

Do you have friendly errors turned off in IE?

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

Ray at work

"race4space" wrote in message
news:04339B06-0A90-44A9-993D-1FE288847365@microsoft.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 ?
>
>
>

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 13:50:01 von race4space

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/library/1kw29xwf(VS.85).asp x
> 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" wrote in message
> > news:04339B06-0A90-44A9-993D-1FE288847365@microsoft.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 ?
> > >
> > >
> > >
> >
> >
> >

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 13:56:00 von race4space

Hi ! I have "Show Friendly HTTP Error Messages" unticked in IE. In addtion
the behavior occurs when I view the page in Firefox. This indicates it is not
a browser issue but an IIS 7 issue. (It is a classic ASP script).

This post from another person also points to the problem:

http://forums.iis.net/p/1118833/1741397.aspx

"Ray Costanzo" wrote:

> Do you have friendly errors turned off in IE?
>
> http://support.microsoft.com/kb/294807
>
> Ray at work
>
> "race4space" wrote in message
> news:04339B06-0A90-44A9-993D-1FE288847365@microsoft.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 ?
> >
> >
> >
>
>
>

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 14:04:21 von nomailreplies

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" wrote in message
news:236F9BC7-37CD-48EA-876C-442E78FD56A8@microsoft.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/library/1kw29xwf(VS.85).asp x
> 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" wrote in message
>> news:04339B06-0A90-44A9-993D-1FE288847365@microsoft.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 ?
>> >
>> >
>> >
>>
>>
>>

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 15:37:55 von Ray Costanzo

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

Ray at work

"Juan T. Llibre" wrote in message
news:OxQgk4CXIHA.4712@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.
>
>

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 16:00:39 von nomailreplies

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" wrote in message news:%23dM02sDXIHA.4696@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" wrote in message news:OxQgk4CXIHA.4712@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.

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 17:02:39 von Chris Marsh

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

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 17:08:24 von nomailreplies

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" wrote in message news:uFeEOdEXIHA.280@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
>

Re: IIS 7 - Error Messages Not Displayed tho Debugging Options set

am 21.01.2008 18:01:21 von Chris Marsh

Juan

"Juan T. Llibre" wrote in message
news:%23rwPafEXIHA.1168@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