Base solution for your next web application
Open Closed

UserFriendlyException: Reset Password Error #5724


User avatar
0
brian.foster created

Hello, I downloaded my asp.net zero application following the steps in the documentation and begin to login. I was prompted to reset my password in which I did and received the following UserFriendlyException: Passwords must have at least one non alphanumeric character. Which is expected, but I didn't expect to the developer screen, as a user wouldn't know what to do with this expection. How do I enable a UI friendly version of this exception?

I did add

<configuration>
  <system.web>
    <customErrors mode="On" />
  </system.web>

to the web.config file


1 Answer(s)