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...Performance and...Performance and...Allow for large Uploads/DownloadsAllow for large Uploads/Downloads
Previous
 
Next
New Post
2/24/2012 7:39 AM
 

I have come across a little information that I wanted to share with the DotNetNuke Community. I have been working tirelessly on allowing large uploads in the neighborhood of 2GB per file. I was able to do this easily with minimal effort once the learning curve had subdued. Keep in mind this is on a Windows 2003 IIS6 environment. The following are the steps needed:

  1. First navigate to your dotnetnuke root folder (i.e. C:\wwwroot\dotnetnuke)
  2. Open web.config in your favorite text editor (i.e. Notepad)
  3. Find the following entry
  4. <!-- allow large file uploads --> <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="2048000" requestLengthDiskThreshold="2048000" executionTimeout="1200" /> <httpCookies httpOnlyCookies="true" requireSSL="true" domain="" />
  5. This is a snippet of my web.config note "maxRequestLength and requestLengthDiskThreshold" are in MB "exeutionTimeout" is in seconds.

Now for the second step:

  1. Open Internet Information Services by navigating to Start>Administrative Tools>Internet Information Services (IIS) Manager
  2. Right click on Computer Name (i.e. Localhost (local computer) ) and choose Properties
  3. Put a check mark on Enable Direct Metabase Edit
  4. Choose apply and close
  5. Navigate to C:\Windows\system32\inetsrv
  6. Find Metabase.xml
  7. MAKE A COPY OF THIS FILE ( EDITING THIS FILE IS LIKE EDITING THE REGISTRY)
  8. Open Metabase.xml with your favorite text editor
  9. For uploads find the entry "AspMaxRequestEntityAllowed=" (THIS VALUE IS IN KB) I set the value to 52560000
  10. Now for downloads find the entry "AspBufferingLimit=" (THIS VALUE IS IN KB) again I set the value to 52560000
  11. Save the Metabase.xml

I recommend restarting your machine at this time and try your Uploads and Downloads. Works like a charm for me. I hope someone will find this useful I know it has taken me a week to get the correct information.

 
New Post
2/29/2012 6:48 PM
 
thank you - i've update the wiki article to contain a link to your information - http://www.dotnetnuke.com/Resources/Wiki/Page/Working-with-large-files.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/18/2012 9:23 AM
 

Thank you, Tony,

After a lot of trials and searching to allow for 1GB+ uploads to DNN, I saw your post and tried it.  IT WORKS! :-)

Thank you! Thank you!

Chris

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Allow for large Uploads/DownloadsAllow for large Uploads/Downloads


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