Uploading large files?

Vote:
 

Hi!

Some time ago we had an issue where the user couldn't upload a large file (20MB) using EPiServer's FileManager. I've tried changing maxRequestLength in Web.config but it still doesn't work.

Has anyone experienced this before and, if so, could you resolve the issue?

We're running EPiServer CMS 5 R2.

#44332
Oct 08, 2010 15:09
Vote:
 

If you are using IIS7, take a look at this: http://bloggingabout.net/blogs/ramon/archive/2009/03/13/how-to-enable-large-file-uploads-in-iis7.aspx

Otherwise, could it be an issue with the upload timing out?

#44334
Oct 08, 2010 15:26
Vote:
 

We're still running on IIS6 but thanks for the link. I'll bookmark it to save me some time when we actually upgrade to IIS7.

 

When I try to upload a test file (approximately 20MB) inside EPiServer's FileManager I immediately get an error page saying "Internet Explorer cannot display the webpage".

I think I've changed the appropriate settings in Web.config but do I have to alter Machine.config as well?

#44371
Oct 11, 2010 8:25
Vote:
 

Try enabling logging on your site before uploading the file. That will help you get a more informative error message than "Internet Explorer cannot display the webpage".

#44447
Oct 12, 2010 8:43
Vote:
 

After following your advice I enabled logging and got the following error message:

 

2010-10-12 14:25:43,636 ERROR [80] EPiServer.Global.Global_Error - 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpException: The client disconnected. ---> System.Web.UI.ViewStateException: Invalid viewstate.

...

System.FormatException: Invalid length for a Base-64 char array.

 

#44695
Oct 13, 2010 8:28
* 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.