Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Repository Modu...  Uploading Large Files To The Repository
Previous Previous
 
Next Next
New Post 7/4/2007 11:43 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Uploading Large Files To The Repository 

One of the most common questions on the forum is "How do I upload a large file?" or "The Repository is timing out. Why?". There's a default of 8MB or 110 seconds for an upload to occur in DNN. If either of those parameters are broken you'll get a timeout error.

You need to open up your web.config and look of the <httpRuntime.... /> under <!--allow large file uploads-->. More information on httpRuntime can be found at http://msdn2.microsoft.com/en-us/library/e1f13641.aspx

 
New Post 8/12/2007 9:41 PM
User is offline Mark McQuaid
9 posts
www.webwave.biz
10th Ranked


Re: Uploading Large Files To The Repository 

I am having very strange problems with the Repository module. I recently upgraded from DNN 4.4.1 to 4.5.5 and also upgraded all modules (except events). The version of the repository that I am using is 03.01.13. The repository module was working fine in 4.4.1, but now I am having problems. Any time I try to upload a file, the object record is written to the database, but the file does not get uploaded. I've changed the httpRuntime setting in web.config as follows:

    <httpRuntime  executionTimeout="600"
                               useFullyQualifiedRedirectUrl="true"
                               maxRequestLength="50192"
                               requestLengthDiskThreshold="50192" />


These are not very large files. Each are between 3 or 4 mb and I can upload the files with no problem using Admin --> File Manager. I've even tried to upload very small files (40K), but I get the same results.

Additionally, I have 3 categories defined. When I try to upload a file, I select ONLY ONE of the categories, but for some reason the entry is assigned to TWO of the three categories. I have tried this repeatedly and get the same results each time. I have even tried to "edit" the entry by un-checking the extra category and clicking "update", but it does not change it.

The only way I've found around these problems is to hack the database. I have to:

1) delete the extra object/categories entries
2) upload the files using Admin-->File manger;
3) attempt an upload using the repository module in order to create the database object entry (but does not actually upload the files)
4) move the files I uploaded using Admin--> file manager to the repository directory
5) rename the files to the appropriate file name stored in the repository object record within the database.

Help! What am i missing?

Mark

 

 
New Post 9/11/2007 8:28 PM
User is offline Lance Prager
15 posts
www.compup.com
10th Ranked


Re: Uploading Large Files To The Repository 

I had problems in 3.2.2 with downloads. I found the recommended numbers were way too low:

Here are the settings I used to resolve them:

<httpRuntime
  useFullyQualifiedRedirectUrl="true"
  maxRequestLength="1024000"
  executionTimeout="18000" />

 I am in the process of implementing a new Repository in 4.5.5.

In the default web.config for 4.5.5 there is no executionTimeout. So here is what I am going to try:

  <httpRuntime
  useFullyQualifiedRedirectUrl="true"
  maxRequestLength="1024000"
  requestLengthDiskThreshold="1024000" />

If I have problems I will try this:

<httpRuntime
  useFullyQualifiedRedirectUrl="true"
  maxRequestLength="1024000"
  requestLengthDiskThreshold="1024000"
  executionTimeout="18000" /> -->

 

 
New Post 9/12/2007 9:37 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Uploading Large Files To The Repository 

executionTimeout isn't there by default and has to be added manually.

 
New Post 9/12/2007 5:21 PM
User is offline Lance Prager
15 posts
www.compup.com
10th Ranked


Re: Uploading Large Files To The Repository 

When it is missing does the default of 110 apply? I was pretty successfull in 3.2.2 with 18000 so would you recommend putting it back?

<httpRuntime useFullyQualifiedRedirectUrl="true"
 maxRequestLength="1024000"
 requestLengthDiskThreshold="1024000"
 executionTimeout="18000" />

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Repository Modu...  Uploading Large Files To The Repository
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP