|
|
|||||||||||||||
|
||||||||||||||||
|
I got error "The request filtering module is configured to deny a request that exceeds the request content length" at IIS 7.SUMMARY This problem occurs because by default in IIS 7 enabled requestFiltering that have MaxAllowedContentLength property. It specifies, in bytes, the maximum length of content in a request. The default is 30000000 (approximately 30 megabytes.) SOLUTION
To change this value you must include following code in your Web.config file if
you want to apply this setting only to you application. If you want to change
this setting for all of the computer and not just this ASP.NET application, you
must modify the Machine.config file. By default, the element is set to the
following parameters in the Machine.config file: The Machine.config file is
located in the \System Root\Microsoft.NET\Framework\Version Number\CONFIG
directory. MORE Note During the upload process of large files,
built-in ASP.NET loads the whole file in memory before the user can save the
file to the disk. Therefore, the process may recycle because of the memoryLimit
attribute of the processModel tag in the Machine.config file.
More info you can find in Microsoft KB article:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;295626 REFERENCES
Microsoft Developer Network: |
|||||||||||||||
|
©2002-2010 Element-IT Software. All Rights Reserved. |