I added
requestvalidationmode=2.0
to my page header.
Everything works great. However when I try and build this on my build server it crashes with this message:
errorASPPARSE: Error parsing attribute 'requestvalidationmode': Type 'MYASPFORM' does not have a public property named 'requestvalidationmode'.
Any ideas on what could be...
I have an ASP.NET 2.0 website that I'm deploying using a web deployment project.
When "Allow this precompiled site to be updatable" is not checked, validaterequest is ignored.
I have tried setting validaterequest=false at both the web.config and page level, and they both seemed to be ignored.
Although I prefer not turn validation off...
Hi
I'm getting errors with an application on our test web server, which has .NET 4.0 installed, when I input HTML into a form. I get the usual errors of:
A potentially dangerous Request.Form value was detected from the client
This is being caused by the change in .NET 4.0 that disables switching off automatic validation for HTML inpu...
Hi, i am following the example at http://msdn.microsoft.com/en-us/library/system.web.util.requestvalidator.aspx but it doesn't seem to work and i still get error. Here is my class and how i add it to webconfig
my webconfig:
<httpRuntime requestValidationType="CustomRequestValidation"/>
my class:
public class CustomRequestVali...