Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Virtual directory warning if URL contains a sub folder

0 views
Skip to first unread message

.NET Developer

unread,
Sep 25, 2002, 9:30:11 AM9/25/02
to
Hi everyone,

I understand that ASP.NET automatically makes an aspx filename named
default.aspx or index.aspx the default web page. So, if I went to the
following URL for example: www.here.com, and I had default.aspx in
the root of that domain site, it would display default.aspx.

But why does this happen:

I create a folder inside the root called sub, so the structure is now
www.here.com/sub. And I place a default.aspx web page in that sub
folder too. But if I navigate to that URL, I don't see default.aspx
as the default page, I get a "virtual directory" warning page instead.

Is this how all web sites work, or is it ASP.NET specific? Is there a
way that I can make my default.aspx appear if someone navigates to a
sub folder in my root domain?

Thanks very much for any advice,

Best regards from Robert.

.NET Developer

unread,
Oct 1, 2002, 2:46:22 AM10/1/02
to
Hi everyone,

I have solved this problem: all I had to do was ask the hosting
company about this, and they did something on the server, and now I
can have my .NET web app inside a folder on my web space.

I'm guessing here, but I think they might have set the folder up to be
a virtual directory under IIS.

Sorry if this was a daft question.
- Robert.

pleaserep...@hotmail.com (.NET Developer) wrote in message news:<66900ea6.0209...@posting.google.com>...

0 new messages