Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > File sizes View modes: 
User avatar
Member
Member
ewanm - 1/2/2010 1:24:00 AM
   
File sizes
I am trying to allow users to upload files of various types to my site. It appears that when the file is large, it fails to upload. Can anyone offer any suggestions as I require to upload up to around 30Mb.

Thanks,

Ewanm

User avatar
Member
Member
Alex Rybin - 1/2/2010 6:01:32 PM
   
RE:File sizes
I think that is IIS restriction. What version of IIS do you use?

User avatar
Member
Member
ewanm - 1/3/2010 3:24:05 AM
   
RE:File sizes
Thanks Alex,

I am running Windows Server 2003 with IIS V6.0.

Ewanm

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/4/2010 2:16:45 AM
   
RE:File sizes
Hi all,

Yes, it could be also IIS restriction, but you can also configure Kentico CMS to allow upload of bigger files by setting the MaxRequestLength parameter in web.config file. For more details please see this blog post.

I hope it will help.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
ewanm - 1/4/2010 9:53:19 AM
   
RE:File sizes
Hi there,

That seems to have worked. Thanks!!!

Ewanm

User avatar
Member
Member
elias.anthan-metc.state.mn - 3/11/2013 4:13:12 PM
   
RE:File sizes
We are facing this same problem, and have set MaxRequestLength to allow up to 2gb. PDFs of 50MB size hang at 70%-100%. This is only happening in our production environment, where we have a web farm set up. That is the only difference we have been able to see. We have made sure that multiplefileuploader temp files are deleted. We cannot get any file larger than 500k to upload. We are running Server 2008 R2/IIS7. IIS has no bandwidth restrictions set. What are we doing wrong?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/11/2013 5:36:02 PM
   
RE:File sizes
Hi,

What are the request limits set on your IIS? Also, this blog post is about staging, but the file upload is there as well in a little bit different way so checking this may help too.

Best regards,
Juraj Ondrus

User avatar
Member
Member
elias.anthan-metc.state.mn - 3/14/2013 8:28:32 PM
   
RE:File sizes
Thanks for the reply, Juraj. I believe we have unlimited request limits set in IIS, but I'll double-check. When we hit the server directly though - no ISA Server or firewall in between - the uploads of any large size are lightening fast. That's why we were investigating the firewall as a choke point. For the users in our building (the only ones doing uploads to the CMS), we now have an internal DNS which points the host header to one of the app servers in the farm.

User avatar
Member
Member
elias.anthan-metc.state.mn - 3/14/2013 8:25:33 PM
   
RE:File sizes
Turns out we had an issue with our Checkpoint firewall. As we're migrating to a new DMZ, we think this issue will go away. In the meantime, we're bypassing the firewall via an internal DNS.