"unexpected error has occurred" when user enters letter in column of type number
I am testing the form validation on my edit form. The column is of type number. When I typed in a letter, instead of presenting me with a validation error, I got "An unexpected error has occurred." I refreshed the page, entered a letter again, and this time was presented with a validation error. I'm afraid this sort of thing will happen to my end users once I move to production. Any idea what might cause this?There are no mistakes; every result tells you something of value about what your are trying to accomplish.
November 15th, 2010 4:52pm

Hi, The solution is to change a single entry in Web.config, by modifying the line… <SafeMode MaxControls=“200“ CallStack=“false“… to… <SafeMode MaxControls=“200“ CallStack=“true“… You will also need to set custom errors to 'Off' . <customErrors mode=“Off“/> This will allow you to see the error in details. I hope it can help you to find errors. Is type you choose string in the Range Validator? Or please have a try to type number with Form Validation successfully. I wish you every success in your important work. Best regards, David HM
Free Windows Admin Tool Kit Click here and download it now
November 16th, 2010 8:26pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics