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...Upgrading DNN P...Upgrading DNN P...7.2.2 Upgrade Breaks Access to Host Settings7.2.2 Upgrade Breaks Access to Host Settings
Previous
 
Next
New Post
3/24/2014 2:48 PM
 

After upgrading from 7.2.1 to 7.2.2, my Host Settings kept throwing this error

 DotNetNuke.Services.Exceptions.PageLoadException: The MaximumValue 0 cannot be less than the MinimumValue 1 of rangeUploadSize. ---> System.Web.HttpException: The MaximumValue 0 cannot be less than the MinimumValue 1 of rangeUploadSize.
   at System.Web.UI.WebControls.RangeValidator.ValidateValues()
   at System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid()
   at System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---

So after installing a new install of 7.2.2 and looking at the Host Settings page, there were a few new settings I had never seen before.  Yup, you guessed it...Max Upload Size

So after digging around online, I found this setting in web.config that did not have a value set.

My old value =

<security>
<requestFiltering>
<requestLimits maxUrl="6144" maxQueryString="4096" />

My New Value that fixed the issue =

<security>
<requestFiltering>
<requestLimits maxUrl="6144" maxQueryString="4096" maxAllowedContentLength="300000000" />

The upgrade upgrade script did not make this change on my system and the Host Settings module obviously depended on it. After digging around the release.config for a new install, this value is nowhere to be found so I have to assume this web.config setting somehow gets set in code somehow, probably the first time the new Host Settings Module loads by chance?  If that is the case, someone should look at the code and trap for an existing web.config entry with the missing attribute.

 

 
New Post
3/24/2014 5:31 PM
 
thanks - code was added in 7.2.2 to allow users to change the maximum upload size. This was a pull request contributed via github which we reviewed and tested but it seems some older sites are missing that attribute and the code we accepted failed to check for it. I will log this as an issue and get it fixed for 7.3.0

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/14/2014 10:49 AM
 

Thank you Kevin, this solved the problem for me too!

 
New Post
5/14/2014 12:40 PM
 
to clarify my original response, it appears this fix has slipped to 7.3.1 (there were other more important fixes to make - and this is a rare case as it only affects sites which upgrade and the upgrade does not update web.config as the user has not applied permissions correctly). I added code to 7.3.0 to ensure the attributes are there for new installs, we will fix the upgrade issue in 7.3.1

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/20/2014 12:29 PM
 

Thanks Kevin you made my day, the issue with me was slightly different, it worked on ver 7.2.2 but when I updated to 7.3 the Host Settings page kept redirecting to the home page without generating any error message, it was quite confusing

Anyway with you posting it is fixed now, thanks again!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...7.2.2 Upgrade Breaks Access to Host Settings7.2.2 Upgrade Breaks Access to Host Settings


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