This project is read-only.

Request Validation has detected a potentially

Topics: ASP.NET 2.0
Jan 29, 2011 at 9:27 PM

Get this on Uploads, Checked that requestValidationMode="2.0" and validateRequest="false"

I know I'm probably missing an Obvious setting - New Install

Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. To allow pages to override application request validation settings, set the requestValidationMode attribute in the httpRuntime configuration section to requestValidationMode="2.0". Example: <httpRuntime requestValidationMode="2.0" />. After setting this value, you can then disable request validation by setting validateRequest="false" in the Page directive or in the <pages> configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case. For more information, see

Jan 30, 2011 at 1:43 AM

I gather, you have disabled validateRequest in Web.config rather than on the page. Is it correct?

Jan 30, 2011 at 1:58 PM

Yes I should read before I ask Right, Thanks

Jan 31, 2011 at 2:25 AM

It should work, but maybe I'm missing something as well.

What happens if you disable validation on the page? maybe it will give us a clue?