I recently followed the documentation to increase the allowed file size upload limit, and that seemed to work, but now I'm running into an "upload failed" message for a file that's within the allowed size range.
Changes I initially made per the documentation:
After I made those changes, I was able to successfully update the security settings to 475MB. First I tried uploading a video that was 65MB (so well above the original default 28MB limit), and that worked fine. Now I'm trying to upload a second video that's 201MB, and that's the one that's failing. The upload progress bar gets all the way to the end and then turns orange with an "upload failed" message. No related errors in the admin logs from what I can see, and I checked that there's still plenty of free disk space.
Any ideas what might be causing this?
Have you tried adding the requestLengthDiskThreshold attribute as well?
It goes in the httpRuntime element.
Example of max values found here : https://stackoverflow.com...-of-maxrequestlength
I seem to recall having had the same issues years back - but I couldn't find it in my notes, so I had to rely on my old friend Google to help me out ;-) # DnnBro
Hi DnnBro, thanks for the suggestion. That attribute was already present in the web config, so I didn't have to add it. Right now it's set to the same value as maxRequestLength, which I believe is correct - I read somewhere that it should never be larger than maxRequestLength, since that can cause problems. I can try bumping both of those values up a bit so they're still equal though and see if that makes a difference.
Hi Joe,
Yes both files are mp4. Thanks for the suggestion about the logs, I'll take a look at those and provide an update when I have a chance.
Hi Joe and DnnBro,
I finally had a chance to get back to this, and I'm not seeing anything in either the log4net logs (/portals/default/logs) or the IIS logs (C:\inetpub\logs\LogFiles).
I double checked the sessionTimeout on the server, which is set to 20 minutes. If I understand correctly, the executionTimeout is in seconds, so a value of 3000 = 50 minutes. I timed the file that's failing, and it takes just over 2 minutes to get to the end of the progress bar before the failure message, so I wouldn't think it's timing out at this point. Any other thoughts?
Thanks again, Pam
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.