Solved

Application Variables being lost when using Virtual Directories

Posted on 2008-10-26
2
333 Views
Last Modified: 2012-05-05
Hi,

I am currently working on a site which has a number of sub-directories under the root folder. We are using a number of virtual directories as well. The problem we are having is that when we set up Applciation vars in the Global .asa file, the virtual directories which sit under the application root folder do not seem to be able to pick them up. When I remove the virtual directories and use the actual directories under the root location, the application vars are picked up fine. Can anyone please help, it appears that the virtual directories are causing my application vars to be lost ? .

thanks for you help in advance.
0
Comment
Question by:ByteThoughts
2 Comments
 
LVL 7

Accepted Solution

by:
bluV11t earned 500 total points
ID: 22806622
Try removing application from the virtual directories. If the virtual directories has got its own application it also has its own set of application variables.

Right click the virtual directory, on the virtual directory tab, in the Application settings section, click the button remove next to application name.
0
 

Author Closing Comment

by:ByteThoughts
ID: 31510063
Thanks very much for your help. This was very much appreciated. VD where being created as Applications in their own right.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question