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 ForumsRepositoryRepositoryUploading Large Files To The RepositoryUploading Large Files To The Repository
Previous
 
Next
New Post
7/4/2007 1:43 PM
 

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 11:41 PM
 

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 10:28 PM
 

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 11:37 AM
 

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

 
New Post
9/12/2007 7:21 PM
 

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
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUploading Large Files To The RepositoryUploading Large Files To The Repository


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out