You can configure the max file upload with the security settings, but a value above 28 Mb is not accepted. So I changed the settings in the web.config (maxRequestLength), but only values below 28 Mb are reflected in the UI security settings, and what's a bigger problem, also not reflected in the file upload within the site assets.
Is this a bug? (I've checked versions from 9.3.2 uptil 9.81 but no improvement on this subject).
Hi Peter, I found this in the code of DNN, in the method DotNetNuke.Common.Utilities.Config.GetMaxUploadSize: [code] if (httpNode == null && Iis7AndAbove()) { const int DefaultMaxAllowedContentLength = 30000000; return Math.Min(maxRequestLength, DefaultMaxAllowedContentLength); } [/code] So it's definitely intentional, but I don't know why that is. Maybe you can create an issue on GitHub so it can be discussed wether or not this is something to fix?
On IIS7+ you need to add a node to specify the maxAllowedContentLength for requests. (maxAllowedContentLength = Bytes)
Add this to your web.config:
<code><system.webserver><security></security></system.webserver></code>< system.webServer> < security> < requestFiltering> < requestLimits maxAllowedContentLength="2147483647" /> < /requestFiltering> < /security> < /system.webServer>
DNN ver. 09.10.02
So is it possible to upload files over 28Mb ?
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.