Friday, June 1, 2012

A potentially dangerous Request.Form value was detected from the client

If you encounter this error , try followings:
1- put ValidateRequest="false" in aspx page directive.
2- if you are using .net framework version 4.0 put <httpRuntime requestValidationMode="2.0" /> in  web.config under system.web section.

these two steps solved my problem.

No comments:

Post a Comment