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:
if (httpNode == null && Iis7AndAbove()) { const int DefaultMaxAllowedContentLength = 30000000; return Math.Min(maxRequestLength, DefaultMaxAllowedContentLength); }
On IIS7+ you need to add a node to specify the maxAllowedContentLength for requests. (maxAllowedContentLength = Bytes)
Add this to your web.config:
< 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 dedicated to the discussion of DNN Platform.
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.