Menu

Search

InstantASP Support

Help & Support


A potentially dangerous Request Form value was detected from the client


Known Issues

After installing InstantForum or InstantKB under .NET 4.0 you may receive the following error when trying to save articles or post topics with HTML inside...

A potentially dangerous Request.Form value was detected from the client (strSearchEventArgsXML="<s/>").

Note. This article applies to earlier versions of InstantForum & InstantKB. We disable requestValidation by default in newer version of InstantForum & InstantKB under both .NET 2.0 and .NET 4.0. You can safely disable requestValidation within InstantForum or InstantKB as all user input is parsed by our own internal validation routines to ensure valid user input.  

Resolution

1. Open your web.config file and locate the <httpRuntime> element  This may look like...

<httpRuntime maxRequestLength="30720"  />

2. Update the httpRuntime element and add the requestValidationMode attribute as shown below...

<httpRuntime requestValidationMode="2.0" maxRequestLength="30720"  />

That's It!

Implementing this suggestions should resolve this exception message. If you require further assistance please don't hesitate to open a support ticket or contact us.


Related Links



Optionally provide private feedback to help us improve this article...

Thank you for your feedback!


Comments

Member Photo
1
gopro posted 5 Years Ago
Junior Member with 26 recognition pointsJunior Member with 26 recognition pointsJunior Member with 26 recognition pointsJunior Member with 26 recognition pointsJunior Member with 26 recognition pointsJunior Member with 26 recognition pointsJunior Member with 26 recognition pointsJunior Member with 26 recognition points
I took your advice after I received this request message and it fixed the problem. Thanks for the quick explanation!<br />

Comments require login or registration.

Details

Product: InstantKB, InstantForum
Version: All Versions
Type: ERRMSG
Level: Novice
Article not rated yet.
Article has been viewed 15K times.
Last Modified: 2 Years Ago
Last Modified By: Ryan Healey

Options

Similar Articles


Tags