Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Uploading large files?



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.

Oct 08, 2010 15:09

If you are using IIS7, take a look at this:

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

Oct 08, 2010 15:26

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?

Oct 11, 2010 8:25

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".

Oct 12, 2010 8:43

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.


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.