Rank: Advanced Member
Groups: Member
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
ProblemI am using IIS 7 and i get the following error when i try to upload a large file:
Quote:HTTP Error 404.13 - Not Found
Description: The request filtering module is configured to deny a request that exceeds the request content length.
Error Code: 0x00000000
Notification: BeginRequest
Module: RequestFilteringModule ResolutionTo resolve this issue you need to configure the settings of your server. Please do the following steps: - Go to c:\windows\system32\inetsrv\config\applicationHost.config and
change
Code:<section name="requestFiltering" overrideModeDefault="Deny" />
to
Code:<section name="requestFiltering" overrideModeDefault="Allow" />
- Add to your application's web.config the following code:
Code:<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength ="2147482624" /><!--this value in bytes~2GB-->
</requestFiltering>
</security>
<system.webServer>
- Here in web.config find the <system.web> section and the httpRuntime key.
Modify the maxRequestLength and executionTimeout attributes of this key. For example:Code:<system.web>
<!-- Uploading file size and timeout restriction -->
<httpRuntime executionTimeout="540000" maxRequestLength="2097151"/> <!-- ~2GB -->
</system.web>
Note:- The maxRequestLength value should be specified in kilobytes. The default value is 4096 KB (the same as 4 MB).
- The executionTimeout value should be specified in seconds.
See also: Edited by moderator Thursday, June 20, 2013 8:02:22 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 6/10/2009(UTC) Posts: 1
|
Sir, Still im having the same problem if i upload 2 or more big files and also i have iis6
thanks
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hello,
If you have IIS 6 you need to implement suggestions from the third point of previous post.
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.