473,545 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application Name in Virtual Directory

Hi,

I am wondering that the Application Name in Virtual Directory is compulsory
be non-empty field when configuring Virtual Directory for ASP.NET application?

I realized some of my ASP.NET applications can run with empty Application
Name, but some cannot.

Is the Application Name must be same as the xxx.DLL file name in BIN folder
and Inherits="xxx.L ogin" in aspx? (xxx is the name I am referring to)?

Thank you.

- Dennis -

Jul 21 '05 #1
1 1829
Dennis,
The following is an excerpt from one of my books.

IIS Application
When a virtual directory is set up as an IIS application, the files within
it can share information such as context flow, session state, configuration,
and other settings. A virtual directory marked as an IIS application is
designated as the starting-point directory (also called as application root)
for a web application in your Web site. Every file and directory under the
application root in your Web site is considered part of the application
until another starting-point directory is found. That is, you can nest Web
applications.

To answer your question, no, it is not mandatory to have an application name
in your virtual directory. As far as the application name itself, it can be
anything you want. It is used by IIS, and isn't dependent on any file names.
I could be wrong on this, I'm not 100% sure. Read the following thread, it
gives some examples.
http://dotnetjunkies.com/Newsgroups/...31/103828.aspx

"Dennis" <De****@discuss ions.microsoft. com> wrote in message
news:BA******** *************** ***********@mic rosoft.com...
Hi,

I am wondering that the Application Name in Virtual Directory is
compulsory
be non-empty field when configuring Virtual Directory for ASP.NET
application?

I realized some of my ASP.NET applications can run with empty Application
Name, but some cannot.

Is the Application Name must be same as the xxx.DLL file name in BIN
folder
and Inherits="xxx.L ogin" in aspx? (xxx is the name I am referring to)?

Thank you.

- Dennis -

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3660
by: Leszek | last post by:
Hello, Could anybody explain what's a difference between a virtual directory and an application root under IIS? I'm a little bit confused. This is mu problem: Let's assume the following directory structure: FileManager (application name a.k.a. virtual directory?)
8
1219
by: Mark Goldin | last post by:
I am trying to create a new ASP.NET application. By default it has name "webapplications1". How can I name it differently and also point to a folder of my choice? Thanks
10
1788
by: Steve Taylor | last post by:
I am having trouble understanding the ASP.NET application boundaries. Here's my setup: 1. Win2003 Server with IIS 6 and an application defined at the root "SalesNow" (www.salesnow.com). 2. A Default.aspx at the root which redirects the user to "Pages/Main.aspx" using javascript window.location. 3. On the Pages/Main.aspx page a...
21
2145
by: Chris | last post by:
I'm trying to get an existing VS.NET project up on my Win2003 server and I get the following error (on the actual website page): "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS." ...
27
2530
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: Mensaje de error del analizador: We can't load the type 'JULIAN.Global'.
1
244
by: Dennis | last post by:
Hi, I am wondering that the Application Name in Virtual Directory is compulsory be non-empty field when configuring Virtual Directory for ASP.NET application? I realized some of my ASP.NET applications can run with empty Application Name, but some cannot. Is the Application Name must be same as the xxx.DLL file name in BIN folder and...
5
1424
by: Oriane | last post by:
Hi, I'm developinf an Asp.Net 3.5 site on W2k3, and I use a Web application Visual Studio 2008 project. This Web app is configured on IIS 6 as an "application" under a web site. When I start an aspx page from IIS (or directly on the navigator), I get an error about the <system.websection in the web.config file. Something like: using a...
0
7406
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7813
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7431
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5337
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4949
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1888
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1020
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.