Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Change maxsize for upload in 7.5?

Vote:
 

This is maby a stupid and simple question but I can't get it to work.

I am trying to upload a 40 MB file and I get an error in the media manager uploader saying that it is to big. I have changed all requestsize to a very high value but still gets the error.

Are there any other places this can be set?
I get the error locally so there are no timeout from the iis.

#90963
Sep 23, 2014 11:00
Vote:
 

Hi,

You need to both changed maxAllowedContentLength and maxRequestLength

Worked for me:

- Change maxAllowedContentLength to 2147483648 (2GB)

- Find httpRuntime requestValidationMode="2.0" and change it to 

         

Regards.

/Q

#90967
Sep 23, 2014 11:58
Vote:
 

Add the following code to your web.config, it works on my end. 


    
        
        
    




   
      
         
         
      
   
#90968
Sep 23, 2014 11:59
Vote:
 

And also note that maxAllowedContentLength is in bytes while maxRequestLength is in Kilobytes. Those need to be matched or the lesser one will be effective. 

/Q

#90969
Sep 23, 2014 12:11
Vote:
 

Thanks, I have missed one little row in my web.config.

Great!

#90976
Sep 23, 2014 12:44
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.