G
Guest
I'm having a bit of a weird problem and I've spent the last few hours
scouring the web trying to solve this before coming here.
Here is the problem:
I get 404 errors for all ASP.NET 2.0 content trying to be served from IIS.
Setup:
IIS 6 (64 bit)
Windows Server 2003 64bit
ASP.NET 2.0 (64 bit)
Some Additional Facts:
Classic-ASP components for IIS not installed.
ASP.NET is registered with IIS.
Directory permissions are fine.
Just .NET 2.0 64 bit on machine (no 1.1 installed)
It's not the "app_offline.htm" issue.
File extension mappings (aspx, asmx, ashx, etc) all fine
What I have tried so far:
It's not the "app_offline.htm" issue - I have confirmed that. I have
unregistered ASP.NET from IIS and re-registered it. No difference. When
ASP.NET is unregistered the files are found and served by IIS (although they
obviously don't work as ASP.NET is not installed). When ASP.NET is registered
it's an immediate 404.
I'm trying to service webservices but I have tried it with simple ASPX file
with no code behind and just "static" html content - same problem. I've tried
it with ASPX files with code behind - same problem.
I've tried removing IIS, restarting machine (even though this is not
necessary), reinstall IIS, re-register ASP.NET 2 with IIS - no difference.
Same problem. All the ASPX and ASMX files/projects I have tried work fine on
IIS 5 on my XP pro dev box.
I've tried manually recreating the file extension mappings to the 64 bit
ASP.NET engine
(c:\windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll). That
didn't work either.
I've enabled directory browsing to see if IIS itself is even seeing the file
which I knew it was as when ASP.NET in not registered it does try to serve
it... anyway, IIS sees it, but when you click on the file - 404. I checked
the error mappings to ensure it really is a 404 and it is - the log says 404
too.
I mapped .html files to the ASP.NET worker process too
(c:\windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll) and when
mapped to it, they give 404s too.
And, after doing all this, I again uninstalled and reinstalled IIS and
re-registered ASP.NET 2.0 and still no joy!
Anybody have any suggestions?
scouring the web trying to solve this before coming here.
Here is the problem:
I get 404 errors for all ASP.NET 2.0 content trying to be served from IIS.
Setup:
IIS 6 (64 bit)
Windows Server 2003 64bit
ASP.NET 2.0 (64 bit)
Some Additional Facts:
Classic-ASP components for IIS not installed.
ASP.NET is registered with IIS.
Directory permissions are fine.
Just .NET 2.0 64 bit on machine (no 1.1 installed)
It's not the "app_offline.htm" issue.
File extension mappings (aspx, asmx, ashx, etc) all fine
What I have tried so far:
It's not the "app_offline.htm" issue - I have confirmed that. I have
unregistered ASP.NET from IIS and re-registered it. No difference. When
ASP.NET is unregistered the files are found and served by IIS (although they
obviously don't work as ASP.NET is not installed). When ASP.NET is registered
it's an immediate 404.
I'm trying to service webservices but I have tried it with simple ASPX file
with no code behind and just "static" html content - same problem. I've tried
it with ASPX files with code behind - same problem.
I've tried removing IIS, restarting machine (even though this is not
necessary), reinstall IIS, re-register ASP.NET 2 with IIS - no difference.
Same problem. All the ASPX and ASMX files/projects I have tried work fine on
IIS 5 on my XP pro dev box.
I've tried manually recreating the file extension mappings to the 64 bit
ASP.NET engine
(c:\windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll). That
didn't work either.
I've enabled directory browsing to see if IIS itself is even seeing the file
which I knew it was as when ASP.NET in not registered it does try to serve
it... anyway, IIS sees it, but when you click on the file - 404. I checked
the error mappings to ensure it really is a 404 and it is - the log says 404
too.
I mapped .html files to the ASP.NET worker process too
(c:\windows\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll) and when
mapped to it, they give 404s too.
And, after doing all this, I again uninstalled and reinstalled IIS and
re-registered ASP.NET 2.0 and still no joy!
Anybody have any suggestions?