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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsMaximum request length exceeded errorMaximum request length exceeded error
Previous
 
Next
New Post
11/26/2008 4:07 PM
 

What is the maximum size file that the documents module supports? We are trying to upload a file that is 8.5 megs and are recieving this error.

InnerException: Maximum request length exceeded.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpRequest.GetEntireRawContent
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Maximum request length exceeded. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInformCollection() at System.Web.HttpRequest.get_form() at System.Web.HttpRequest.get_Hasform() 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 ---
Source:
Server Name: IIS06101

Is there somewhere to set this up? Thanks in advance.

 
New Post
11/26/2008 4:32 PM
 

Hello,
This is a setting controlled by the system, not the module.  I believe the standard size uploadable for DNN/IIS is approximately 2MB.


-- Scott Allender
http://www.scottallender.com
 
New Post
11/26/2008 5:02 PM
 

You can configure this in web.config.




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
11/26/2008 9:42 PM
 

where please?

Joe Craig wrote
 

You can configure this in web.config.

 
New Post
11/26/2008 10:24 PM
Accepted Answer 

That would be in the <httpRuntime> node located within in the <system.web> node. Here are the values that I'm using on a site to which we upload audio mp3 files of up to 8 MB in size. Most likely you will also need to increase the executionTimeout value as well. Ours is set for 240 sec (4 min) max.

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" executionTimeout="240" />


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsMaximum request length exceeded errorMaximum request length exceeded error


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