Solved

Application Variables being lost when using Virtual Directories

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Select distinct 25 82
Scheduled IIS .Net2 AppPools recycle and SQL connection Hangs 33 88
SQL to update characters in table column 6 85
IIS Authorization for Web Service 2 21
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

18 Experts available now in Live!

Get 1:1 Help Now