Many organizations have very large files that need to be saved to Easyfile. The default setting in the Easyfile site’s web.config file is roughly 100MB. Sometimes this needs to be increased.
The following procedure shows how to update the setting.
Check the average document size to get a rough idea of what the new setting should be.
In the Easyfile site web.config file look for the <system.web> section. Under httpRuntime, change the maxRequestLength.
Below, the value is 102400 which translates to roughly 100MB. Change the value in KBs to meet the document requirements. for example a value of 202400 = 200MB.
After the change is made, save the file and restart the IIS web service.
<system.web>
<customErrors mode="Off" />
<authentication mode="Forms">
<forms name="frmeasyfile" loginUrl="~/Account/Login" defaultUrl="~/" timeout="360" slidingExpiration="true" />
</authentication>
<membership defaultProvider="SpMembershipProvider">
<providers>
<clear />
<add name="SpMembershipProvider" type="EasyFileWeb.Models.Security.SpMembershipProvider" cacheTimeoutInMinutes="30" />
</providers>
</membership>
<compilation targetFramework="4.5" />
<httpRuntime targetFramework="4.5" maxRequestLength="102400" executionTimeout="1600" requestLengthDiskThreshold="2147483647" />
</system.web>