473,385 Members | 1,154 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,385 software developers and data experts.

HTTP 404 - File not found

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...
Mar 14 '07 #1
7 3215
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?

"Alex" <al*******@adp.com.(nospam)wrote in message
news:2A**********************************@microsof t.com...
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...

Mar 14 '07 #2
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 :)
Mar 14 '07 #3
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.
"Alex" <al*******@adp.com.(nospam)wrote in message
news:DD**********************************@microsof t.com...
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 :)

Mar 14 '07 #4
You also get a 404 error if the account ASP.NET
uses doesn't have sufficient permissions to access the file.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Scott M." <s-***@nospam.nospamwrote in message news:uJ**************@TK2MSFTNGP04.phx.gbl...
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.
"Alex" <al*******@adp.com.(nospam)wrote in message
news:DD**********************************@microsof t.com...
>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 :)

Mar 14 '07 #5
I think you get a 401 error on that one, not 404.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OR**************@TK2MSFTNGP02.phx.gbl...
You also get a 404 error if the account ASP.NET
uses doesn't have sufficient permissions to access the file.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Scott M." <s-***@nospam.nospamwrote in message
news:uJ**************@TK2MSFTNGP04.phx.gbl...
>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.

>"Alex" <al*******@adp.com.(nospam)wrote in message
news:DD**********************************@microso ft.com...
>>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 :)


Mar 14 '07 #6
You can get either a 404 *or* a 401.

http://www.google.com/search?hl=en&q...%22&lr=lang_en

http://www.google.com/search?hl=en&q...%22&lr=lang_en


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Scott M." <s-***@nospam.nospamwrote in message news:e6*************@TK2MSFTNGP02.phx.gbl...
>I think you get a 401 error on that one, not 404.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OR**************@TK2MSFTNGP02.phx.gbl...
>You also get a 404 error if the account ASP.NET
uses doesn't have sufficient permissions to access the file.
>Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Scott M." <s-***@nospam.nospamwrote in message news:uJ**************@TK2MSFTNGP04.phx.gbl...
>>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.

>>"Alex" <al*******@adp.com.(nospam)wrote in message
news:DD**********************************@micros oft.com...
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 :)



Mar 15 '07 #7
I only get the 404 when I perform a post back on the page (hence I thought
that I was getting an exception).
Mar 15 '07 #8

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

Similar topics

5
by: Richard | last post by:
Hi, Can anyone tell me what the difference is between for line in file.readlines( ): and for line in file:
3
by: Abhas | last post by:
> > Hi, this is Abhas, > > I had made a video library program in C++, but was facing a problem. > > After entering 12 movies, i cannot enter any more movies. > > Something gibberish comes instead....
3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
1
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on...
2
by: aallee83 | last post by:
i'm new in asp.net after develop my solution i copied it on the server where I want it to run but something cares... WHAT?!?! thank you in advance File or assembly name System, or one of its...
1
by: Christian Rühl | last post by:
hey! what i wanna do sounds very simple at first, but it turned out to be a real bone crusher... i want to check if a treeView node is checked and if a correspondent node in my xml config file...
1
by: Christian Rühl | last post by:
hey! what i wanna do sounds very simple at first, but it turned out to be a real bone crusher... i want to check if a treeView node is checked and if a correspondent node in my xml config file...
1
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed....
2
by: Joey | last post by:
Why do HTTP 404 File Not Found messages not get trapped and sent into App_Error in Global.asax, like most other errors/exceptions? How do I detect it?
2
by: ross-mcm | last post by:
I have an app that gets a file from a web server. An ASP page is passed authenitication data (username, password) and a filename. The file is read and then output by the ASP page so the only...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.