Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am facing this error while adding data to my textbox it is successfully saved in a database

but showing this below error
A potentially dangerous Request.Path value was detected from the client (&).

VB
[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (&).]
   System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9672644
   System.Web.ValidateRequestExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +35
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Posted

That's because of the ampersand (&). Check out this link for detailed info:
http://www.hanselman.com/blog/ExperimentsInWackinessAllowingPercentsAnglebracketsAndOtherNaughtyThingsInTheASPNETIISRequestURL.aspx[^]

Good luck!
 
Share this answer
 
i got the answer i did changes in aftersave url
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Jun-14 13:55pm    
Not an answer. What makes you even self-accepting it formally? I would call it cheating. Please stop it.
—SA

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