neat upload 1.2.30

classic Classic list List threaded Threaded
3 messages Options
p s
Reply | Threaded
Open this post in threaded view

neat upload 1.2.30

p s

I am using IIS 7 on vista business.

I have the following in my web.config

in  <system.web>

and also
    <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" />

and i get the following error when i try to upload a large file(300M).

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

Requested URL: http://localhost:80/v2.2.13.0/Main/ASUsers_BulkUpload.aspx

Physical Path: C:\dev\v2.2.13.0\Web\TQWebApp\Main\ASUsers_BulkUpload.aspx

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: PageHandlerFactory-ISAPI-2.0-64

Most likely causes:

  • Request filtering is configured on the Web server to deny the request because the content length exceeds the configured value.

What you can try:

  • Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting in the applicationhost.config or web.config file.

More Information... This is a security feature. Do not change this feature unless the scope of the change is fully understood. You can configure the IIS 7.0 server to reject requests whose content length is greater than a specified value. If the request's content length is greater than the configured length, this error is returned. If the content length requires an increase, modify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting.



It worked fine on my development server.
p s
Reply | Threaded
Open this post in threaded view

Re: neat upload 1.2.30

p s
I turned off request filtering module and it worked fine. It was turned on by default.
Reply | Threaded
Open this post in threaded view

Re: neat upload 1.2.30

Rather than turning off request filtering in IIS7 entirely, it's better to keep it on but increase the maxAllowedContentLength .

Go to c:\windows\system32\inetsrv\config\applicationHost.config and
<section name="requestFiltering" overrideModeDefault="Deny" />
<section name="requestFiltering" overrideModeDefault="Allow" />

then add to your application's web.config:
          <requestLimits maxAllowedContentLength ="2147482624" /> <!-- value in bytes : this is just less than 2GB-->