Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Problem uploading large files to media library View modes: 
User avatar
Member
Member
merete-grape - 11/19/2010 8:49:19 AM
   
Problem uploading large files to media library
Trying to upload files of different sizes.
No problems with files smaller than 80 MB, but when I try uploading 123MB or 309MB it showes me following error after some time:
Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.


My web.config is set with:
<httpRuntime maxRequestLength="2097151" waitChangeNotification="1" maxWaitChangeNotification="3600" />

Please give me some clues to why I can't upload large files...

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 11/19/2010 10:07:06 AM
   
RE:Problem uploading large files to media library
Hi,

What version of IIS are you using? If it is IIS7, following lines have to be added into your web.config file into <system.webServer> section.
        <security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483648"/>
</requestFiltering>
</security>

P.S. - the value of maxAllowedContentLength is in bits.

For more info please take a look into documentation - Configuring maximal uploaded file size.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
merete-grape - 11/19/2010 10:55:21 AM
   
RE:Problem uploading large files to media library
Thanks for helping :)

It all works now!