What are the different modes for the `customErrors` element in Web.config?

Question

Grade: Education Subject: Support
What are the different modes for the `customErrors` element in Web.config?
Asked by:
74 Viewed 74 Answers

Answer (74)

Best Answer
(364)
The `customErrors` element in Web.config supports three modes: `Off` (disables custom error handling and shows detailed error information), `On` (displays the custom error page for all users, hiding detailed error messages), and `RemoteOnly` (shows custom error pages only to remote users and detailed error messages to local users, which is useful for debugging).