File Attachments only limited to 4MB even though I set limit higher

Home Forum General File Attachments only limited to 4MB even though I set limit higher

This topic contains 0 replies, has 0 voices, and was last updated by  ehuezo 9 years, 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #330

    ehuezo
    Keymaster

    After investigating the issue I have found that it is a ASP.NET limitation put in place in order to prevent DOS attacks on web servers.

    http://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.maxrequestlength(VS.80).aspx

    HttpRuntimeSection.MaxRequestLength Property

    The maximum request size in kilobytes. The default size is 4096 KB (4 MB).

    In order to bypass this limit you need to :

    1.Open the Web.config file located in <Perfectforms Folder>/services/Web.config with a text editor

    2.Add the following key under the <system.web> tag:

    <httpRuntime executionTimeout=”YourNewTimeInSeconds” maxRequestLength=”YourNewFileSizeLimitInKBs” />

    3.Save Web.config

    4.Restart the Perfectforms application via IIS management console.

    executionTimeout is not required but would be useful because large uploads might timeout.

    maxRequestLength’s maximum value is 2097150

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.