I have created a text area that allows users to enter html code. When I attempt to post this code back to the server, I get a popup window that says "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code returned from the server was: 500".
I believe this has something to do with the fact that what I am posting back contains html.
How do I do this safely and without causing this error message?
Thanks!
It's a very generic error seemingly caused by any number of things unfortunately, from app recycling, corrupted cookies, RoleManager, anything..
For reference:
I would strongly advise against turning validation off, that's not fixing the problem it's merely hiding the symptom and it's opening the door to XSS to do so.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With