473,396 Members | 1,773 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 Error: HTTP 404 - File not found

I am encountering an error HTTP 404 - File not found. It seems that
when I upload a file with a symbol # in the filename, this error
occurs (e.g. case#2.pdf). I cannot access the file I uploaded. But
when I upload the same file with a different filename or just without
the symbol # (e.g. case2.pdf) , it works I can access the file. Why is
this the case?

Feb 7 '07 #1
4 3554
ki******@gmail.com wrote:
I am encountering an error HTTP 404 - File not found. It seems that
when I upload a file with a symbol # in the filename, this error
occurs (e.g. case#2.pdf). I cannot access the file I uploaded. But
when I upload the same file with a different filename or just without
the symbol # (e.g. case2.pdf) , it works I can access the file. Why is
this the case?
I've never run into this. Could you show the code that is failing to access
the file?

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Feb 7 '07 #2

<ki******@gmail.comwrote in message
news:11**********************@h3g2000cwc.googlegro ups.com...
>I am encountering an error HTTP 404 - File not found. It seems that
when I upload a file with a symbol # in the filename, this error
occurs (e.g. case#2.pdf). I cannot access the file I uploaded. But
when I upload the same file with a different filename or just without
the symbol # (e.g. case2.pdf) , it works I can access the file. Why is
this the case?
Because the hashmark has special meaning in a URL, you'd need to escape it
in the URL, otherwise the portion after the hashmark is considered to be an
HTML bookmark.
-Mark
Feb 7 '07 #3
wrote on 07 feb 2007 in microsoft.public.inetserver.asp.general:
I am encountering an error HTTP 404 - File not found. It seems that
when I upload a file with a symbol # in the filename, this error
occurs (e.g. case#2.pdf). I cannot access the file I uploaded. But
when I upload the same file with a different filename or just without
the symbol # (e.g. case2.pdf) , it works I can access the file. Why is
this the case?
Try uploading with form post in stead of [form] querystring!

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 7 '07 #4
ki******@gmail.com wrote:
>I am encountering an error HTTP 404 - File not found. It seems that
when I upload a file with a symbol # in the filename, this error
occurs (e.g. case#2.pdf). I cannot access the file I uploaded. But
when I upload the same file with a different filename or just without
the symbol # (e.g. case2.pdf) , it works I can access the file. Why is
this the case?
This is your web site? What server-side process are you using to
receive the file? The "#" sign character is an unusual one to find in
a file name (and has a special meaning in a URL), and it may be that
whatever is handling the file on the server side just can't handle
that character.

--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov
http://members.cox.net/slatteryt
Feb 7 '07 #5

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

Similar topics

3
by: masonj | last post by:
For no apparent reason, my webpage cannot be brought up due to an internal server error. My host tells me an asp 0126 error occurred because an include file is missing. Its there. I've also...
2
by: Kevin R. | last post by:
I have been ignoring this problem for a few weeks now, but it's becoming a bit annoying not to mention unproductive. Here it goes: I compile my project with no errors. Then after I debug/run it,...
4
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I...
0
by: aartinawani | last post by:
Hi I have an asp.net application running under Windows 2003 Server, IIS 6, for 2 years. Today, suddenly, the site went down at 3:38 pm and the application raised an error entitled "Server too...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
0
by: psilu | last post by:
Hi , I have created a virtual directory and copied my web services file to corresponding physical directory. But when i am trying to discover the webservice from virtual directory i am getting...
2
by: tshad | last post by:
This has been driving me crazy. I have been trying to get the error handling working on my system and can get parts of it working and others won't work at all. I found that you can't access...
6
by: kikapu | last post by:
Hi to all, i have the following simple Socket Server code and a vb client that send to it some data using WinHttp. (very simple code, just open and send) The string is succesfully sent to the...
2
by: vijayrvs | last post by:
SearchCrawler.java The program search crawler used to search the files from the website. From the following program i got 7 compiler error. can any body clarify it and provide me solution. ...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
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: 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
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.