Solved

Application Variables being lost when using Virtual Directories

Posted on 2008-10-26
2
351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

696 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