473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP.NET 2.0 Returns HTTP 404 on existing page

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
Nov 19 '05 #1
2 997
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.

"Peter Strĝiman" <pe************@nospam.nospam> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
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

Nov 19 '05 #2
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

"Peter Strĝiman" <pe************@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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.

"Peter Strĝiman" <pe************@nospam.nospam> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
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


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: S.W. Rasmussen | last post by:
With the risk of being accused of multi-posting I would like to draw the attention to a serious visual basic/windows issue discussed in the microsoft.public.vb.bugs newsgroup. As pointed out below...
5
by: lkrubner | last post by:
I know I'm missing something obvious, but I looked hard at this page and did not see the format of the return specified: http://us3.php.net/manual/en/function.ord.php >From the limited example...
5
by: Dan C Douglas | last post by:
I have just installed VS.NET 2003 on my computer. I have a project that I have been developing on VS.NET 2002. I haven't upgraded this project to VS.NET 2003 yet and I am still developing it in...
2
by: Lila Godel | last post by:
I am having a problem with the download of web pages via the WebClient.DownloadFile function in the specialized VB.Net 2003 I.E. plug-in I am designing to speed up the work on my latest project. ...
7
by: mattrapoport | last post by:
I have a page with a div on it. The div displays a user comment. When the user logs into this page, their current comment is pulled from a db and displayed in the div. The user can edit the...
1
by: Vlad | last post by:
Hello everybody, I have a problem with custom error page. I' using a redirection in a web.config file to a custom error page: <customErrors mode="RemoteOnly"...
82
by: quiberon2 | last post by:
Hi, Sorry if it might be a stupid question but what should returns malloc(0) ? void *ptr = malloc(0); I am running gcc 3.3.5 and a non-null address is returned. ( in the compiler that I am...
9
by: Milsnips | last post by:
Hi all. i'm tryng to implement the Rewrite.NET url rewritining functionality into a test project i've created, however i am hitting a problem at this line (direct from the web example): ...
0
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
I've been evaluating the possibility of modifying an existing web app with Oracle backend to use the OCI8 functions rather than ODBC. I was attracted by some specific functionalities (specifying...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.