Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

Disabling the Http Request in Page level in 4.0 Framework.is not working

$
0
0

Hi,

We are facing an  strange error like 'A potentially dangerous Request.Form value was detected from the client ()' in our application .Actually we

 had migrated our code from 3.5 to 4.0 , after migrating only,  we are facing the issue.  As I read some of the articles  for issue in that they were

suggesting  to go for  change in web.config like ' <httpRuntime requestValidationMode="2.0"/> ' but here my question is we have disabled the

  Page level http request validation  to false  in our page for  4.0 Framework without changing the requestValidationMode to2.0  but it is not

 working.Here my requriment is like we are not ready to change the requestValidationMode to 2.0 in web.config file because we need validate

the webservice request and ajax requests as such as in 4.0 framework  but we  need to validate or not in particular pages as per the business

logic .So how do we do this is in 4.0 framework.


Viewing all articles
Browse latest Browse all 631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>