Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have an issue with uploading large files (Zip files) to media library.
I'm not getting the timeout as everyone else, i'm getting a 404 - File or directory not found page.
I'm trying to upload a 76 mb zip file (Have tried a large tiff file also).
have included the <httpRuntime maxRequestLength="2097151"/> which should be max allowed size right?
running umbraco v
220.127.116.11 (Assembly version: 1.0.3441.17657) on IIS 7 on win 2003 server.
Did you check the permissions for the network service account on the media folder? It needs at least write rights, but for creating folders you mights set full rights.
I have no troubles uploading files less than 10 mb it's like a 50 mb border...
Ouh, we have set httpRuntime to the following settings:
<httpRuntime executionTimeout="360" maxRequestLength="990000" />
and this works for big files > 50 MB without problems
Nope... The issue here is not the same.. Usually the error will be some runtine errors, when this mentioned line isn't correct. My issue is, that i'll get an 404 error page inside umbraco. The menu and stuff is still there but the properties area is a 404 error page.
BTW, i've just triet your httpRuntime setting, and it still fails.
To solve this issue navigate to your inetsrv folder in your windows folder.
and run this code
appcmd.exe set config "sitename" -section:requestFiltering -requestLimits.maxAllowedContentLength:size in bytes -commitpath:apphost
sitename is the name you gave your site in IIS7, and size in bytes is well the maximum upload size in bytes.
I hope this helps :).
Muchas Gracias... It solves the problem... Not even an Umbraco CMS issue, but a ISS7 issue!
woops, minor correction %winsrv% should be %windir%
Yeah, thats more like it :-)
It worked like a charm. Thank you!
I'm using umbraco v 4.6.1 (Assembly version: 1.0.4029.25836) and I'm getting the same error, but when attempting to use Zen's solution, I am still not seeing any change. Is this a known bug or am I possibly missing something?
thank you Zen :) it looks like it is working :)
You can also do it using IIS GUI:
Thank God for Google and folks having discovered the two changes that need to happen to allow large Media uploads.
It would be really great if, during the Media Upload process, if a file is larger than the allowed size, that the user get a "file too large; see administrator to change maximum upload size settings" message rather than misleading "file not found" after the upload completes.
And for us administrators, make it far more clear that both 1) web.config file maxRequestLength must be changed (maybe put a comment in the default web.config file at that line so users know about the next step...); and 2) must edit the Request Filtering feature in IIS 7 to also increase file size limits.
Thanks zen you are star, it took ages to find the solution.
And if you don't have access to the IIS, you can control this in your web.config:
<requestLimits maxAllowedContentLength="4000000000" />
Insert this (you might want to change the length value ;-) right before </system.webServer>
Thanks for posting a solution to this.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted