During calling REST service from client end i came across the below error..
"A potentially dangerous Request.Path value was detected from the client"
For this, i found following solution in web.config file of REST end and it works for me
- For httpruntime put requestpathinvalidcharacters="" & requestvalidationmode="2.0"
- For pages put validaterequest="false"
- Both of these tags are located under configuration --> system.web
"A potentially dangerous Request.Path value was detected from the client"
For this, i found following solution in web.config file of REST end and it works for me
- For httpruntime put requestpathinvalidcharacters="" & requestvalidationmode="2.0"
- For pages put validaterequest="false"
- Both of these tags are located under configuration --> system.web
Also, there are some useful links too for this error
(1) Getting “A potentially dangerous Request.Path value was detected from the client (&)”
(2) A potentially dangerous Request.Path value was detected from the client (*)
No comments:
Post a Comment