Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i get error as
A potentially dangerous Request.Form value was detected from the client (GetActivityText[1]="

acaac



i used Validaterequest=false in page but then to i get error as above

Pls advice
Posted

1 solution

you can add this in your web config file
XML
<system.web>
        <httpruntime requestvalidationmode="2.0" />
    </system.web>
 
Share this answer
 
Comments
Ron Beyer 22-Jan-14 23:20pm    
Please note, there is a bug with the CodeProject XML pre tags that removes capitalization. Please look up the proper capitalization for this setting before using it otherwise it won't work. Configuration settings names in XML are case sensitive.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900