Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 26th, 2004, 01:13 AM
Authorized User
 
Join Date: Nov 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Explicit Variable Check at IIS Level

Hi, is there a way in which I can set the "Option Explicit" at the IIS level or at the website level.

The site that is developed in my workstation has no "Option Explicit" defined. However, there are many include files within the ASP code. The site works fine without any errors in my workstation.

If the site is deployed on my client's system, error messages popup mentioning variable declaration not done.

The client says, he has not done any changes in the code, nor any changes have been made in the webserver.

This behaviour is something which I'm unable to understand. Any help on this subject is appreciated.

Tx for replies.
Praveen

 
Old April 26th, 2004, 05:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I am not sure if that can be done at IIS level. I do it this way.

I assume that you would have written your connection string in an include file and almost all files would be including it for sure. So probably you can define the "Option Explicit" in that connection string file.

cheers!

-Vijay G





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to check variable value gantait XSLT 3 February 20th, 2007 12:17 AM
Check two string values on a single variable?? ramesh.kumarm XSLT 2 June 29th, 2006 03:29 AM
best way to check for variable being empty crmpicco Classic ASP Basics 3 March 28th, 2006 12:11 PM
Check quantity stock level Fehrer Access VBA 17 March 29th, 2004 06:11 PM
Check for existence of a session variable apd8x ASP.NET 1.0 and 1.1 Basics 2 November 12th, 2003 11:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.