A potentially dangerous Request.Form value was detected
Sample Error
A potentially dangerous Request.Form value was detected from the client.
Description: Request Validation has detected a potentially dangerous client
input value, and processing of the request has been aborted.
Description: Request Validation has detected a potentially dangerous client
input value, and processing of the request has been aborted.
Solution or Workaround
If your server is running ASP.NET 4.0, you may encounter this error if you are using an older version of PDshop. We recommend upgrading or updating your copy of PDshop. PDshop versions 8.209 and higher are compatible with ASP.NET 4.0, earlier versions may not be.
Or, see below for a possible workaround. New changes in ASP.NET 4.0 force request validation to be true for all .aspx pages, unlike previous versions of ASP.NET. Request validation cannot be set false from within the .aspx page directives alone.
When using PDshop's HTML content editor with ASP.NET 4.0, you may may need to add the following tag to system.web section of your web.config file:
<httpRuntime requestValidationMode="2.0" />
Or, see below for a possible workaround. New changes in ASP.NET 4.0 force request validation to be true for all .aspx pages, unlike previous versions of ASP.NET. Request validation cannot be set false from within the .aspx page directives alone.
When using PDshop's HTML content editor with ASP.NET 4.0, you may may need to add the following tag to system.web section of your web.config file:
<httpRuntime requestValidationMode="2.0" />
Related Articles
Related Topics
Search for help...