473,413 Members | 1,993 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,413 software developers and data experts.

Undeclared vars on II6 Windows 2003 w/Option Explicit cause page to STOP. Why?

I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in case
some smartaleck decided to propose it as the solution), but it is making
finding undeclared variables very hard! Anyone have any idea what I've
done wrong in my configuration?

Thanks in advance for your help.
Jul 19 '05 #1
2 1421
Well, I finally figured it out. After wasting about 3 hours when I'm trying
to meet a deadline, I found that with ASP server-side debugging enabled, any
error is the equivalent of a Response.End! I couldn't find the answer to
this anywhere on the net; maybe someone at Microsoft or ASPFAQ can
documented it...

"Mike Schinkel" <mi***@xtras.com> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in case some smartaleck decided to propose it as the solution), but it is making
finding undeclared variables very hard! Anyone have any idea what I've
done wrong in my configuration?

Thanks in advance for your help.

Jul 19 '05 #2
Good info, thanks, I'll look into adding it...

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Mike Schinkel" <mi***@xtras.com> wrote in message
news:#G**************@TK2MSFTNGP10.phx.gbl...
Well, I finally figured it out. After wasting about 3 hours when I'm trying to meet a deadline, I found that with ASP server-side debugging enabled, any error is the equivalent of a Response.End! I couldn't find the answer to
this anywhere on the net; maybe someone at Microsoft or ASPFAQ can
documented it...

"Mike Schinkel" <mi***@xtras.com> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in

case
some smartaleck decided to propose it as the solution), but it is making
finding undeclared variables very hard! Anyone have any idea what I've
done wrong in my configuration?

Thanks in advance for your help.


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: biro man | last post by:
I have a dynamic database driven page that I have been working on and tweaking etc until I have got it to work pretty much the way I want it to. I also have a defined website. I wish to include...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
0
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
4
by: Keith | last post by:
I'm in the same boat as the fellow who posted this message back in August: Title : Windows Service, How does one make a service "fail" properly? Author : Ross Bennett Group :...
6
by: Brett | last post by:
I find there is more casting required in C# than VB.NET. If Option Strict/Explicit is turned on, will this basically create the same environment as C# - uppercase, more casting required, must...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
4
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
1
by: Jimmbo | last post by:
I get an option explicit error saying it does not appear as the first line whenever I use it with utf-8 charset encoding on my Sun Cobalt server running Chillisoft on Linux. The error does not...
16
by: John | last post by:
I am looking for VBA code that will work with Access 2003 to enable dragging and dropping a file/folder name from Windows XP Explorer into an Access form's text box. This is a common functionality...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.