ASP.Net: A potentially dangerous Request.Form value was detected from the client…

I am facing this problem in an application for sending email by using EasyWebEditor. This error is comming when I click on send email(Submit) button. I found that the problem is coming due to the validation is on on the page tag.

           To remove this problem you have to Disable the ValidateRequest in the Page. For this you have to set ValidateRequest=”false” in the Page Directive(tag) like <%@ Page … ValidateRequest=”false” %>. I am sure that it will remove this error.

Vijay Modi


About Vijay Modi

Having 12+ years of experience in web application development. Expertise in various domains like E-Commerce, E-Learning, Insurance. I have expertise in web application development, window application development, Performance improvement, bug fixing etc. I have worked on various Microsoft technologies including ASP.Net, MVC, WebApi, WCF, Entity Framework, WPF, Window Application Development, AWS, Azure, AngularJS 2.0 / 1.5.2, .NetCore framework, jQuery. I am believing in quality work and achieving deadlines. Also like to work on new technologies and quick learner.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

3 Responses to ASP.Net: A potentially dangerous Request.Form value was detected from the client…

  1. parminder says:

    Thanks Vijay

    This has just fixed my problem. I was using tinMCE at the time.

  2. jesusbosch says:

    with that “solution” you are exposing the application to injection sql attacks, and cross site script injection… so if you think that is a solution…

  3. kevin says:

    Hello Vijay…

    i have same problem but i have uses master page rather than normal page.

    what to do with this after ValidateRequest=”false” in page directive no solution found…
    please give some direction.
    Thank you.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s