?
Solved

Application Variables being lost when using Virtual Directories

Posted on 2008-10-26
2
Medium Priority
?
356 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

762 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