Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8995285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:35:58+00:00 2026-06-15T23:35:58+00:00

A potentially dangerous Request.Form value was detected from the client I know the reason

  • 0

“A potentially dangerous Request.Form value was detected from the client”

I know the reason why I am getting this error screen, and I have read thru all the other questions asked here, and most answers along with the suggestion on the error screen says to put:

<httpRuntime requestValidationMode="2.0" />

and

<pages validateRequest="false" />

in the Web.Config file, which I have done, as you can see here:

<?xml version="1.0" encoding="utf-8"?>

<configuration>
  <system.web>
  <httpRuntime requestValidationMode="2.0" /><pages validateRequest="false" />
    <compilation debug="true" targetFramework="4.0"><assemblies><add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /></assemblies></compilation>
 <customErrors mode="Off" />
 </system.web>
    <system.data>
      <DbProviderFactories>
         <remove invariant="System.Data.SqlServerCe.4.0" />
        <add invariant="System.Data.SqlServerCe.4.0" name="Microsoft® SQL Server® Compact 4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
    </DbProviderFactories>
  </system.data>
</configuration>

I am using asp.net in Webmatrix 2.0 if that is of any help. I have searched everywhere to find a different solution but every one is saying the validation mode and validate request thing, and still it’s not working, does anyone know any other possible reasons as to why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:35:59+00:00Added an answer on June 15, 2026 at 11:35 pm

    With Web Pages you can switch Request Validation off for an individual form field using the Request.Unvalidated() method.

    Read the “HTML Input And XSS Attacks” chapter of this good Mike Brind’s article: WebMatrix – Protecting Your Web Pages Site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A potentially dangerous Request.Form value was detected from the client (Body=<b></b>). This error is
I am getting the error A potentially dangerous Request.Form value was detected from the
I get the Error: A potentially dangerous Request.Form value was detected from the client
Possible Duplicate: A potentially dangerous Request.Form value was detected from the client A potentially
I am getting this error in my asp.net page: A potentially dangerous Request.Form value
I’m getting an HttpRequestValidationexception with this error message: A potentially dangerous Request.Form value was
I'm trying to solve a A potentially dangerous Request.Form value was detected from the
today I receive multiple (50->*) e-mails regarding: A potentially dangerous Request.Form value was detected
I need send html. I get error(this machine transalate): Detected a potentially dangerous value
What's the best way to handle errors such as A potentially dangerous Request.Form value

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.