I am having this issue when I am sending an encoded query string. The server is returning a 500 Error.

I am using the js function encodeURIComponent to encode things in the front end and then use .NET decode function in the backend. For example:



I tried to check the validaterequest in the web.config but I don't think that is the problem, since the request does reach the controller.

1 Answer 1


You might be running into similar issues as in this SO question,


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.