3

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?

1
  • Did you build a custom c# console app as described? Without that your custom 404 page will not show on the site collection.
    – pelleg
    Mar 16, 2009 at 18:34

2 Answers 2

2

Add a wildcard handler in IIS for such urls.

IIS configuration

1
  • 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.
    Mar 16, 2009 at 14:49
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.