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

custom error 404 page - sometimes it does not work?

I set up a custom error 404 page as URL and it works sometimes but not
always. The problem is when the URL contains special characters, like [ or :
, it produces the error message:

The system cannot find the file specified.

and nothing else. The response code is 404, and it does not contain any
other info in the response header. The server is IIS5.

The odd thing about this problem is that it happens on only one server that
I am aware of. Most of my clients do not have this problem, so I suspect that
this is a server related issue instead of coding issue.

What can possibly cause this problem?

Any suggestion will be greatly appreciated.

Jul 19 '05 #1
3 1523
Hello,

When the Error occurred, if you referesh the web page, will this get the
correct result? if not, you may try to reset the IIS, will this correct the
problem? Additionally, I suggest you may enable IIS log to see if you can
find more information in the log file.

Luke

Jul 19 '05 #2
Thanks for your reply, Luke. The problem has been identified -> the client's
server has a setup that blocks special characters in the URL. I had to modify
the custom error code to conform to their security measure.

"[MSFT]" wrote:
Hello,

When the Error occurred, if you referesh the web page, will this get the
correct result? if not, you may try to reset the IIS, will this correct the
problem? Additionally, I suggest you may enable IIS log to see if you can
find more information in the log file.

Luke

Jul 19 '05 #3
Thank you for the information.

Luke

Jul 19 '05 #4

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

Similar topics

17
by: Steve Jorgensen | last post by:
If you've ever employed custom error numbers and messages in you programs, you've probably ended up with code similar to what I've ended up with in the past something like... <code> public...
9
by: Nick | last post by:
the customError feature is not working. I have it setup as the help says in my web.config file. <customErrors defaultRedirect="DsAppError.aspx" mode="RemoteOnly"/> I tried in a couple...
4
by: Jon Spivey | last post by:
Hi, I've set up a custom error like this <customErrors mode="On" defaultRedirect="ErrorPage.aspx"> <error statusCode="404" redirect="error404.aspx" /> </customErrors> So requests for...
0
by: David Bartosik - MS MVP | last post by:
I have a web service consumer in asp.net with the web config file set with a custom error page and the remote only setting. Most the time if an error occurs the custom error page is displayed. ...
5
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
6
by: | last post by:
I have made some user controls with custom properties. I can set those properties on instances of my user controls, and I have programmed my user control to do useful visual things in response to...
4
by: =?Utf-8?B?QWxm?= | last post by:
Hello all, I am having trouble dealing with ~(tilde) in my .Net 1.1 web application, specially when it comes through the URL. For example, when someone requests the following URL:...
4
by: Yo mama | last post by:
Hi! I have problem using simple custom form control on asp.net page. It does not do much. Just label and button. (It is for training purpose). My control works fine when I use it in my windows...
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
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...

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.