views:

521

answers:

2

In SharePoint,

I want to be able to direct to a custom error page if a 404 is reached.

However, after following:

How to point to a custom 404 error Web page in Windows SharePoint Services 3.0 or in Microsoft Office SharePoint Server 2007

I'm unable to hit my custom error page when trying for entries such as:

http://localhost/adsdasad or something erroneus.

Any ideas?

+2  A: 
Chris Ballance
How would you do this? I'm looking at the properties for the SharePoint - 80 website, and don't see where I can add wildcard handlers.Not entirely sure I know what they are.
LB
added screenshot to show how to add a wildcard in iis
Chris Ballance
A: 

Those URL's are not being handled by your SharePoint configuration because IIS does not think that the should be handled by SharePoint. As Chris points out you should add custom 404 handling at the IIS level too.

Nat