Hi Richard,
Thanks for posting in the community! My name is Steven, and I'll be
assisting you on this issue.
From your description, you've generated an custom error page(an aspx page)
to provide a friendly error display UI when some unhandlered exceptions
occur. However you found the "defaultRedirect" custom error page you set
in the web.config file didn't work, you still got a runtime error instead
of the correct error page, yes?
If there is anything I misunderstood, please feel free to let me know.
First , I'd like to ask for some further infos on this issue:
1. Do you visit the certain page from a remote client or local client.
Since the "RemoteOnly" option will redirect only remote user to the custom
error page. Also, I may try set it as "On" to see whether it works.
2. Check on your custom error page( the aspx page) to see whether it is
correct at all? Also, you may try using a very simple aspx page to test
whether the problem is on the error page.
3. Do you have any other particular configuration setting for the certain
web application, such as formAthentication for page protection(folder
protection). As for this point, you can try creating a new simple web
application and try using a custom error page to see whether the problem
remains.
Please check out the above steps and it would quite helpful if you could
provide me some more infos so as for me to repro the problem on my side.
Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)