Solved

Application Variables being lost when using Virtual Directories

Posted on 2008-10-26
2
304 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now