MOSS Set Max Upload Size on IIS 7

Hey guys,

I ran through a new problem with MOSS and IIS 7.

If you configure your Max Upload Size in the Web Application Generell Settings, this has no affect for the upload size.

If you try to set this to e.g. 200 MB and then try to upload a file which has a size of e.g. 100 MB, you get a HTTP Error 404.13 - Not Found

To resolve this issue try the following:

This setting made the change for all Web Sites.  

%windir%\system32\inetsrv\appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000

 or if you only want to set it for your app:

%windir%\system32\inetsrv\appcmd set config "Default Web Site/<your app>" -section:requestFiltering -requestLimits.maxAllowedContentLength:1000000 

Attention: The maxAllowedContentLength unit is Byte!!!

 

greets


Posted Apr 24 2009, 04:50 PM by Nadine Storandt
Filed under: , ,

Comments

Andreas Lehmann wrote Set max upload size for IIS7 web applications
on 06-24-2009 13:52

If you want to set the maximum request size, e.g. to define the maximum size for file uploads, you can

Andreas Lehmann wrote Set max upload size for IIS7 web applications
on 06-26-2009 8:20

If you want to set the maximum request size, e.g. to define the maximum size for file uploads, you can

Pal wrote re: MOSS Set Max Upload Size on IIS 7
on 08-14-2009 8:55

Thanx!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
developers.de is a .Net Community Blog powered by daenet GmbH.