Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...A potentially dangerous Request.QueryString value A potentially dangerous Request.QueryString value
Previous
 
Next
New Post
5/4/2012 2:12 PM
 
I keep getting this error. I have searched and added the validation mode parameter to the webconfig line


Restarted application. ERror still thrown.

DotNetNuke Error: - Version 04.08.02

--------------------------------------------------------------------------------


An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: A potentially dangerous Request.QueryString value was detected from the client (error="...ntainers="")."). ---> System.Web.HttpRequestValidationException: A potentially dangerous Request.QueryString value was detected from the client (error="...ntainers="")."). at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, RequestValidationSource requestCollection) at System.Web.HttpRequest.get_QueryString() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
5/4/2012 3:03 PM
 
One post suggested removing the validateRequest parameter. In my testing I found that to be incorrect.

Now functions without error by having the following lines



 
New Post
5/6/2012 8:26 PM
 
please ensure requestValidationMode is set to 2.0 (see http://stackoverflow.com/questions/10215378/validaterequest-and-requestvalidationmode-dont-work-with-net-2-0 ) - this is necessary to fix a breaking .net issue in asp.net 4.0. DotNetNuke will automatically add that in 5.0+ versions, but 4.8.2 is very very old and will not know to do this i.e. your hosting provider could have changed your application pool from 2.0 to 4.0 and caused this issue. On that note, I would highly recommend you upgrade as that version has known critical security issues.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...A potentially dangerous Request.QueryString value A potentially dangerous Request.QueryString value


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out