ASP.NET 2.0 Returns HTTP 404 on existing page

P

Peter Strøiman

Hi.

I have a web project I have been working on, and it used to work, but now it
reports a 404 error on pages that do exist.
Even if I allow directory browsing on the web application and see the name
of the file I wish to see, and click it from there, it gives me a 404.

I tried removing .NET from the IIS and reinstalling it (aspnet_regiis -u
then -i). No help

By a google search, I can see that I'm not the only person with the problem,
but apparently, noone has the answer.

I'm using .NET verion 2.0.50215

Thanks in advance,
Peter Strøiman
 
P

Peter Strøiman

I discovered one detail. If I modify web.config so that it's no longer
valid, I get a "correct error message" saying that the web.config is
invalid.
 
P

Peter Strøiman

Argh

Found out the problem.

A small file named app_offline.htm had mysteriously appeared in my project.
The very existence of that file causes the web site to be taken offline.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top