Thanks Anthony, but that doesn't help me move forward on the issue.
I've just done a test. If I go into IIS Manger and create a virtual
directory there, both the default.aspx document and the Integrated Windows
Authentication are set as they should be. In addition, the site has the ASP
..NET configuration tab in the site's properties.
If I create a new ASP .NET Web Application Project from Visual Studio 2008,
and I go into the project properties and change over to IIS, rather than the
ASP .NET development server, I'm FORCED to ask VS .NET to create the virtual
directory for me and it doesn't set these two items I've mentioned.
Clearly ASP .NET is installed on IIS (and yes, I have run aspnet_regiis -i
in the past to test if that would help). And it would seem that because it
is installed, IIS is aware of default.aspx pages as it does add that to the
document list if I make the virtual directory myself.
This is a reproduceable problem that I encounter on every XP machine I try
it on.
How can nobody else be having this issue?
"Anthony Jones" <An*@yadayadayada.comwrote in message
news:Oq**************@TK2MSFTNGP04.phx.gbl...
"Scott M." <s-***@nospam.nospamwrote in message
news:Oq*************@TK2MSFTNGP04.phx.gbl...
>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 installation).
Installations and testing is all done via an Administrator account.
If I simply create a new ASP .NET Web Application Project (WAP) on my
local
>file system and then go into the project properties and switch the web
server over to IIS and click the "Create Virtual Directory" button, the
page
>will not run and will eror out.
I can overcome this by going into IIS and turning on Integrated Windows
Authentication and adding "default.aspx" to the default document list.
My question is, why do I have to set these items up manually? ASP .NET
is
correctly installed into IIS (the ASP .NET tab is present in IIS
configuration settings).
Is anyone else experiencing this? BTW-This is not an isolated incident,
I
get this behavior EVERY time and on EVERY machine I try it on.
Since IIS 5.1 predates .NET its default documents list would not include a
default.aspx. I haven't got a vanilla XP to prove that ASP.NET would add
it
to the list for you. Although it does look like you've proved that it
doesn't.
As to intergrated windows authentication that just sounds like you haven't
granted the IUSR_ account access to the folder you pointing your virtual
directory at.
--
Anthony Jones - MVP ASP/ASP.NET