I got an error from my web application which is got from my live site ” a potentially dangerous request.form value was detected from the client in server”. I am enable the ValidateRequest="false" in to the corresponding page and added the requestValidationMode="2.0" in the webconfig file and I am using the Html. Encode and decode concept but still I got this error in my live site but this application works well in my localhost. Let me know what I did wrongly?
I got an error from my web application which is got from my live
Share
In framework 4.0 you have to set requestValidationMode value to 2.0 in web config to make this work