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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Uploading a module that's bigger than web.config's max upload sizeUploading a module that's bigger than web.config's max upload size
Previous
 
Next
New Post
12/3/2014 8:11 AM
 
Tony,

I haven't heard of that component yet, at least not for DNN - but it should not be a big thing to write it. You could start that routine during the upgrade process (implement IUpgradeable).

But it has pitfalls: What happens if the server does not reach the components to download, eg. in an intranet scenario?

A better solution would be the FTP scenario, to increase the max upload size in web.config, but if this seems too technical, you could support this idea: http://www.dnnsoftware.com/voice/allo...

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
12/3/2014 8:49 AM
 

There is nothing directly which does what you want, but many of the pieces are available in the code for the Host > Extensions page. Specifically, the more extensions tab will allow you to download code from a well known URL and then install those pieces directly.  The problem is, the system would still see those as separate packages so you would need to figure out how to manage installation yourself (it could be as simple as unzipping files to the appropriate directories). 


Joe Brinkman
DNN Corp.
 
New Post
12/3/2014 12:45 PM
 
One idea I have now is a preinstaller module which all it does is increase the size of the max upload in web.config.
Is there such a thing as installing and running an extension/module silently without it being added to the list of installed extensions?

And a similar post installer which writes the value to its default value.
 
New Post
12/3/2014 1:27 PM
 
IIS7's default maxRequestLength is 28.6MB (30,000 kbytes). I don't know where the current DNN 12M size came from. Maybe a left over from an earlier version of IIS?

The default maxRequestLength needs to be larger. Modules and extension sizes are getting bigger. Just few days ago a DNN theme creator said he created a theme which is 120M big.  I am pretty sure zipping this with maximum compression, it's still bigger than 12M.

The reason there's a maxRequestLength was to protect IIS from possible disruptive large file uploads or requests. This is a valid protection measure. However the extensions installer and uploader lives in a protected area which is not accessible by the public. The default maxRequestLength can stay as is but add a web.config exception for the extensions page like this. I propose DNN starta shipping with this added config setting:

(Pasting html is not working so I converted the angle brackets to square ones)

[configuration]

  [location path="nameofextentionspage.aspx"]

    [system.web]

      [httpRuntime maxRequestLength="102400"/]

    [/system.web]

  [/location]

[/configuration]

 
New Post
12/3/2014 1:47 PM
 
maxRequestLength setting can be configured at the machine, site and page level. My proposal mentioned earlier is doing it at the page level for the extensions page.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Uploading a module that's bigger than web.config's max upload sizeUploading a module that's bigger than web.config's max upload 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