Login

I cannot upload files larger than 4MB

Versions: n/a, FAQ number: 55, Old FAQ number: 1020

I cannot upload files larger than 4MB - why? How do I limit the size of uploaded files?

EPiServer 4 uses the ASP.NET control HtmlInputFile which by default will receive files up to a maximum size of 4 MB. This setting has been introduced to prevent denial-of-service attacks by uploading very large files. To adjust this setting you need to follow the instructions in the Microsoft KnowledgeBase article Q295626

In EPiServer 3 this setting was configurable from admin mode, but ASP.NET does not expose a programmatic way to change this setting, therefore EPiServer 4 has no corresponding GUI to change this setting.

EPiTrace logger