After searching through the net, I have noted that Windows
2003 does not
usually give friendly errors when there is an IIS problem.
It almost always
displays 404 error. In my case, I suspect permission
problems because the
web application started working again after I moved it to
c:\Inetpub\wwwroot.
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Dean Cleaver
Sent: 18 May 2006 02:01
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] IIS 6.0 cannot serve ASP.NET pages
Browse your Windows folder for the Microsoft.Net folder,
find your
framework version folder and execute this:
Aspnet_regiis -I
Dino
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Boster Sibande
Sent: Thursday, 18 May 2006 00:32
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] IIS 6.0 cannot serve ASP.NET pages
Ladies and gentlemen,
I have Windows 2003 server with IIS6 installed. I have also
installed
Visual Studio 2005 on it. In addition, I installed PHP,
MySQL and SQL
Server 2005.
The problem I have is that I cannot open pages with .aspx
extension.
Every time I do so, I hit the 404 error. I searched Google
and learnt
that I need to enable ASP.Net on IIS. I checked IIS and
noted that
ASP.Net 1.1 and 2.0 are already enabled. I even went further
by enabling
everything including Unknown CGI and ISAPI extensions.
The funny thing is that I am able to run .aspx files from
the root
directory of the Default Website but when I try to open
.aspx files from
a directory (other than root) I hit Configuration Error
(web.config/machine.config) if I don't create an
application while I get
404 error when I open .aspx files from an application.
The same pages work perfectly in the Web Developer Server
that comes
with VS2005. They also work well on IIS 5 and IIS 5.1
What could be the problem?
Thanks,
Boster.
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentor. http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|