CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
A potentially dangerous Request.Form value was detected from the client
- Article ID:
7297 - Date Created
Saturday, May 2, 2026 - This Article Has been Viewed
0 times - Short Desc
Receiving Web.Config error message stating to add debugging, even though my page already has it set. - Article DetailsServer Error in '/' Application.
A potentially dangerous Request.Form value was detected from the client (myTextarea="...ORE-02 Up!<br />With domain: c...").
The Problem: Strict Infrastructure Validation
In earlier versions of ASP.NET (2.0 through 3.5), Request Validation only occurred when a specific .aspx page was being processed. This allowed the directive <%@ Page ValidateRequest="false" %> to work effectively because the validation happened late enough in the lifecycle for the page to say "I've got this".
Starting with ASP.NET 4.0, the validation was moved much earlier in the HTTP request lifecycle (before the BeginRequest phase). It now applies to all requests, including Web Services and custom handlers, not just .aspx pages. Because it triggers so early, the framework rejects "dangerous" content (like HTML tags in your textarea) before it even reads the page's directive to disable validation - Recreate Issue
Web.Config does not have the required httpRuntime property to handle the request. - Resolve Issue
Add the following to your Web.Config file.
<httpRuntime requestValidationMode="2.0"/>
If you already have this in your file, simply add the requestValidationMode="2.0"
To the list of httpRuntime elements in the list.

Share With Friends (Updated 6-8-2010)
Recent Articles
- A potentially dangerous Request.Form value was detected from the client 0
- 'FFProbe' is ambiguous in the namespace 'NReco.VideoInfo' 0
- Microsoft OLE DB Provider for SQL Server (0x80040E21) Multiple-step OLE DB operation generated errors 0
- Microsoft Store Crashed and cannot force it to shutdown in task manager 0
- The MERGE statement attempted to UPDATE or DELETE the same row more than once. 0
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24959
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21730
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19809
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 18295
- The backup set holds a backup of a database other than the existing 17094