Try our conversational search powered by Generative AI!

File Size limit

Vote:
 

Hi,

I am trying to upload a swf file of 64MB on a standard episerver cms 5 install. However, this is not working.

I am assuming the file is simply too large, what is the size limit for an upload?

Regards,

Ian

#26265
Nov 28, 2008 10:29
Vote:
 

Hi Ian.

Have you tried to set the locations maxRequestLength? I think it is 4000 bytes by default.

<location path="Global">
 <httpRuntime maxRequestLength="1000000" />

Hope this helps!

- Tore Gjerdrum -

#26267
Nov 28, 2008 10:47
Vote:
 
#31677
Aug 06, 2009 15:45
Vote:
 

It doesn't work :-(

<location path="Global">
 <httpRuntime maxRequestLength="1000000" />

#31678
Aug 06, 2009 15:45
Vote:
 

When uploading a file with the file manager the request is posted to the filemanager which is inside the UI folder, so you have to set the maxRequestLength for the UI folder instead of the Global folder.

If you're running on IIS7 there's also a request filtering module that has to be configured to allow for larger posts.

system.webServer/security/requestFiltering/requestLimits/@maxAllowedContentLength 

This directive is configured in bytes (not kB as is the case with maxRequestLength) 

#31679
Aug 06, 2009 16:18
Vote:
 

I tested and it doesn't work :-(

 

#32214
Aug 26, 2009 9:43
Vote:
 

you can use the advanced file upload.

or add the tag 

<requestLimits maxAllowedContentLength="your desired limit" />

So the final code will be 

<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="your desired limit" />
</requestFiltering>
</security>
</system.webServer>

 

#59016
May 16, 2012 9:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.