Summary
This article explains how to increase the default upload and download limits for Laserfiche Web Access and WebLink. It is only necessary to complete the steps listed below if the default limits are not sufficient.
Note: Though Laserfiche Agenda Manager is web-based, it will not be covered in this article, as it has an upload/download limit of 100MB, which is sufficient for virtually all situations.
Note: Some browsers define their own limits. For example, Internet Explorer 6 limits downloads to 2GBs, while Internet Explorer 7 has a limit of 4GBs (for more information on Internet Explorer limits, see Microsoft Knowledge Base Article 298618).
Important: The steps below require you to edit Web Access' and/or WebLink's web.config file, which, if edited incorrectly, may cause the software to stop running. As a precaution, back up the original copy of this file (each file's location will be listed in the sections below) before making any changes. If your change causes problems, replace the edited file with the original.
Web Access Limits
By default, Web Access allows users to:
To modify the settings above, open the Web.config file, which is in Web Access' installation directory (in most cases, this will be <Installation Drive>\Program Files\Laserfiche\Web Access 8\Web Files), and follow the necessary instructions below.
Note: In order for a change to take effect, restart Internet Information Services (IIS) or restart the application pool hosting Web Access.
Note: In the code blocks listed below, some of the initial values may vary if the Web.config file has previously been edited.
To modify upload limits:
<location path="Dialogs/UploadFilePage.aspx">
<system.web>
<neatUpload useHttpModule="true" />
<!-- By Default This allows uploads of sizes up to 2GB -->
<httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
</system.web>
</location>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="X" />
</requestFiltering>
</security>
<location path="Dialogs/DropInFile.aspx">
<system.web>
<!-- By Default This allows uploads of sizes up to 2GB -->
<httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
</system.web>
</location>
<location path="Light/ImportAction.aspx">
<system.web>
<!-- By Default This allows uploads to go on for 1 hour -->
<httpRuntime executionTimeout="3600" />
</system.web>
</location>
To modify export limits:
<location path="Dialogs/Export/GetExportFile.aspx">
<system.web>
<!-- By Default This allows downloads to go on for 2 hours -->
<httpRuntime executionTimeout="7200" />
</system.web>
</location>
WebLink Limits
By default, WebLink allows users to export and e-mail files that are no larger than 4,096KBs (4MB) and take no longer than 900 seconds (15 minutes) to download. Since WebLink allows read-only access to all users, it is not relevant to modify upload limits.
To modify the settings above, open the Web.config file, which is in WebLink's installation directory (in most cases, this will be <Installation Drive>\Program Files\Laserfiche\WebLink 8\Web Files), and follow the necessary instructions below.
Note: In order for a change to take effect, restart IIS or restart the application pool hosting WebLink.
Note: In the code blocks listed below, some of the initial values may vary if the Web.config file has previously been edited.
Note: Modifying the export settings below will affect both exporting and e-mailing documents out of WebLink.
To modify export limits:<httpRuntime executionTimeout="900" />