473,326 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Virtual directory Question

Hi all, I have a questioion about how to configure my virtual
directory

I have my website at "c:\inteput\wwwroot", and I have also a virtual
directory "c:\inteput\wwwroot\admin"

I am using ASP.NET, asn W2K3.

In my website (www.mydomain.com) I have my web.config,
global.asax...etc, and in my "www.mydomain.com/admin", I have also my
web.config, global.asax, becasue both are SEPARATE websites
(applications)

The problem is that when I try to browse my virtual directory,
"www.mydomain.com/admin", it gives me an error of the web.config of the
parent directory.
I mean, it seems that first tries to execute the web.config of the
wwwroot, and gives me an execption, because of a reference of a DLL
that is in my website (but not in my ADMIN) site

How can I resolve this??
Thanks

Alberto

Sep 27 '06 #1
1 1512

Gordowey wrote:
Hi all, I have a questioion about how to configure my virtual
directory

I have my website at "c:\inteput\wwwroot", and I have also a virtual
directory "c:\inteput\wwwroot\admin"

I am using ASP.NET, asn W2K3.

In my website (www.mydomain.com) I have my web.config,
global.asax...etc, and in my "www.mydomain.com/admin", I have also my
web.config, global.asax, becasue both are SEPARATE websites
(applications)

The problem is that when I try to browse my virtual directory,
"www.mydomain.com/admin", it gives me an error of the web.config of the
parent directory.
I mean, it seems that first tries to execute the web.config of the
wwwroot, and gives me an execption, because of a reference of a DLL
that is in my website (but not in my ADMIN) site

How can I resolve this??
Thanks

Alberto
just one more info,...

I have created the virtual directory as application (to be separated
from the parent), but still tries to run the web.config of the parent
folder!! why??

any help would be appreciated

Alberto

Sep 27 '06 #2

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

Similar topics

3
by: Zenobia | last post by:
I copy an application to wwwroot: wwwroot +--- myApp +--- common | +--- images | default.asp global.asa
1
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...
2
by: Jacky Luk | last post by:
Hi all, If I need to make a C# application, do I need to set up a virtual dir such as inetroot on the Harddisks. How do I set up such thingy? Thanks Jack
2
by: Amos Soma | last post by:
Anyone know how I can programatically detect whether a virtual directory exists on a machine my app is running on? And how to retrieve information about that virtual directory? Thanks very much....
2
by: Loane Sharp | last post by:
Hi there I have an ASP.NET web application created in Visual Studio 2005. The application is installed to a subdirectory in wwwroot, which is mapped in turn to a virtual directory under the...
2
by: Lucky | last post by:
Hi guys, Again asking Question regarding Virtual Directories. now i've got the Virtual Directories list with the help of Michael. the code is used to get the virtual directory is ...
1
by: Developer.Man4 | last post by:
Dear all :) i have a very simple and easy question, is any virtual directory web shared enabled?? if yes, can we conclude that any web enabled folder is a virtual directory and any virtual...
4
by: Paul F | last post by:
Im confused about the difference(s) between virtual directories and physical directories in IIS. Any ideas? *** Sent via Developersdex http://www.developersdex.com ***
6
by: Scott M. | last post by:
I didn't get a resolution to this in my earlier post, so I'll try again: System: Windows XP Pro. (SP2) with IIS installed and running PRIOR to VS 2008 Pro. installation. VS 2008 Pro. (full...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.