Question
What are the different modes for the `customErrors` element in Web.config?
Asked by: USER6367
74 Viewed
74 Answers
Answer (74)
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).