custom error 404 page - sometimes it does not work?

S

Samuel

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.
 
M

[MSFT]

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
 
S

Samuel

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.
 

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

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top