Try our conversational search powered by Generative AI!

File Manager 404 error when uploading large file



I have two sites that are CMS 6 R2 with one being Relate+ and the other standard CMS

On the Relate+ site I can upload a file to the file manager that is 38mb in size however the other site fails with a 404 error. Using Fiddler it states the 404 error is on /CMSRoot/CMS/Edit/ActionWindow.aspx?id=10&plugin=36 but pasting this into the browser works ok and loads the correct action window.

I've checked the request limits in the the web.config files and they are the same on both sites and all other possible config values appear to be the same as well.

I've checked IIS and the values of Request Filtering > Request limits are set to 4294967295 on both sites (this matches the max request limits in web.config).

Finally I enabled logging on the site that produces the error and the action generates the following in the log file:

2013-08-22 15:22:29,194 DEBUG [8] EPiServer.Web.UrlRewriteModuleBase.BeginRequestEventHandler - Starting request with Url http://pathtocms/CMS/Edit/ActionWindow.aspx?id=10&plugin=36
2013-08-22 15:22:29,194 DEBUG [8] EPiServer.Web.UrlRewriteModule.HttpUrlRewriteToInternal - Url is not valid for rewrite. Returning URL http://pathtocms/CMS/Edit/ActionWindow.aspx?id=10&plugin=36
2013-08-22 15:22:29,194 DEBUG [8] EPiServer.Web.UrlRewriteModuleBase.BeginRequestEventHandler - Exiting with no rewrite, Url is http://pathtocms/CMS/Edit/ActionWindow.aspx?id=10&plugin=36

I've uploaded a small file on the site that produces the error successfully so this suggests the size of the file is the issue for some reason.

Can anyone think of what I am missing or anything else I can do to try and identify the cause?

Thanks in advance,


Aug 22, 2013 16:40

Do you have some request limits on <location> elements for VPP folders?

Aug 22, 2013 17:29

Hi Valdis,

The <location> element in web.config for the VPP folder concerned is the same on both sites and set as follows on both:

  <location path="Global">
        <add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" />
        <add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" />
    <staticFile expirationTime="-1.0:0:0" />


Aug 23, 2013 9:29

If you are uploading files in CMS Admin UI - try to set request limits to "/{your cms path}/CMS/Admin/" location. If you upload in CMS Editor UI - set limits for "/{your cms path}/CMS/Edit" location.

Aug 23, 2013 14:32

Hi Validis,

Well, I've checked this and I don't have locations for CMS/Admin or CMS/Edit but I do have a location section for "{my cms path}" which should cover both admin and edit. This is set the same on both sites, the site that works and the site that doesn't so I don't think that this is the cause...


Aug 27, 2013 10:54

In case anyone is interested a colleague helped resolve this as follows:

 - Values added to <http request> executionTimeout="7200" maxRequestLength="204800"

 - maxAllowedContentLength value increased on web server



        <requestLimits maxAllowedContentLength="5024000000" />



Sep 17, 2013 12:58





        <requestLimits maxAllowedContentLength="5024000000" />



Apr 17, 2015 10:10
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.