ERRMSG: A potentially dangerous Request Form value was detected from the client

Expand / Collapse
 

ERRMSG: A potentially dangerous Request Form value was detected from the client

Share: Share
UserCPEditMemberPhoto_MemberPhotoToolTip

By Ryan Healey
InstantASP Support


After installing InstantForum.NET or InstantKB.NET 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/>").
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 these 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



Add Your Comments


Comment require login or registration.

Details
Product: InstantKB.NET, InstantForum.NET

Version: All Versions

Type: ERRMSG

Level: Novice

Rated 5 stars based on 1 vote

Article has been viewed 1,004 times.

Last Modified:14 December 2011

Last Modified By: Ryan Healey

Options