HTTP 404 - File not found

G

Guest

We're running IIS5 and I just updated a web application from 1.1 to 2.0. It
runs fine on most pages, but in certain pages I get 404 errors.

From what I can gather, but I may be wrong, an exception is thrown, and
thats when I get the 404 page.

1. The file IS there.
2. I don't have the off line.htm file
3. The server hosts other asp.net 1.1 applications, but this one is set to 2.
4. Since we're running IIS 5, I can't set the Server Extensions.

Any help would be appriciated...
 
S

Scott M.

If you were getting an exception in your application, you'd be getting "500
Internal Server Error" messages, not 404 messages.

Is it possible that your page is supposed to redirect the user to another
page and that page isn't there?
 
G

Guest

No, there are no redirects. Also, like I mentioned, I "think" it's when an
exception occurs, but I'm not 100% sure, so I guess I'm sure that I was wrong
since a 500 error wasn't returned :)
 
S

Scott M.

No, if you were getting an exception, you would be getting a 500 error. If
you are getting a 404, it is most definitely a file not found error, not any
exception error.
 
J

Juan T. Llibre

You also get a 404 error if the account ASP.NET
uses doesn't have sufficient permissions to access the file.
 
G

Guest

I only get the 404 when I perform a post back on the page (hence I thought
that I was getting an exception).
 

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

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,737
Latest member
Georgeengab

Latest Threads

Top