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 ForumsRepositoryRepositoryUpload sizeUpload size
Previous
 
Next
New Post
10/3/2005 4:07 PM
 

What is the max. upload size and if there is it possible to change it.

I want it use it for a internal down and upload page.

If i try to upload a file of 20 Mb i get this error.

A critical error has occurred.
Maximum request length exceeded.

Thanks

Taco

 
New Post
10/3/2005 6:13 PM
 

That's a web.config setting and has nothing to do with the repository. Open up your web.config and look for

<!-- allow large file uploads -->

<httpRuntime executionTimeout="300" useFullyQualifiedRedirectUrl="true" maxRequestLength="10000" />

Your's will look slightly different that that one but that's the line you need to edit. maxRequestLength is where you set the file sixe (default is 8192 or about 8MB). You can change it to whaterver you want but there is a price to pay. Do a search at http://msdn.microsoft.com on maxRequestLength for more info.

Also, chances are you'll have to add the executionTimeout setting as well. By default I think .NET limits it to one minute.

 
New Post
10/3/2005 9:27 PM
 

max upload size is in your web.config in the application root (\inetpub\wwwroot\dotnetnuke) - make a backup, then find this line

<add key="upload.maxsize" value="10MB" />

The format of this option is <number>MB (or KB or b, so you may write 100Kb or 20MB or 150b).

HTH
-- Roberta

 
New Post
10/4/2005 11:47 AM
 

Thanks for the quick reply.

I will try the suggestions.

I hope it's works.

 
New Post
4/24/2006 11:07 PM
 
so there's no way to configure the upload-size for the module only. Is there any other way to do this ? For example, I would like my repository module with template AAA ( or skin AAA ) can upload file with size limit to N1  bytes, and template BBB can upload file with size limit to N2 bytes. Beside that, can I change the file extension filter for files to upload ? The default is (All Files *.*) (Pictures *.jpg, *.gif) (Html *.html, *.htm).

Out of topic question: in module setting, I allow registered users to view module only, and they can not edit the module. If I log in as a registered user, a edit mark appears next to the item which I am the author. If I click on the edit mark, Repository shows: "you don't have permission to ... " I think it's fine. So I allow registered users to edit module. This time,  all items have edit mark on them, and I can freely make changes even I'm not the author of items. And all changes I made are apply right away in Repository, don't need any Approve from the Moderator. Is it followed design or did I miss anything ?

thanks,

Thang.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUpload sizeUpload size


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