To limit the allowable size of each file uploaded as an attachment, follow these instructions. When embedding is instructed you may need to add multiple lines in multiple places to maintain the proper syntax of the config file:
- Open the OnPremise Manager on your Integrify Application server
- Select your application and then choose 'Advanced Configuration' from the second drop-down and click the Run button
- Click the pencil icon next to 'webserver-web-config' (x:\integrify\app\webserver\web.config)
- Embed the following in the proper place within the file and save it:
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647" />
</requestFiltering>
</security>
</system.webServer>
</configuration> - Click the pencil icon next to 'service-config' (x:\integrify\app\service\web.config)
- Embed the following in the proper place within the file and save it:
<configuration>
<system.web>
<httpRuntime maxRequestLength="2097152" />
</system.web>
<system.serviceModel>
<bindings>
<customBinding>
<binding name="integrifyBinding">
<http(s)Transport manualAddressing="true" maxReceivedMessageSize="2147483647"/>
</binding>
</customBinding>
</bindings>
</system.serviceModel>
</configuration> - Once those edits have been made, you will need to restart the application from the OnPremise Manager.
Below are links to each parameter and what they do:
- maxAllowedContentLength - Specifies the maximum length of content in a request, in bytes
- maxRequestLength - Specifies the limit for the input stream buffering threshold, in KB
- maxReceivedMessageSize - The maximum size, in bytes, for a message that can be received
If you need help adjusting your environment, feel free to contact the technical support team to inquire about utilizing service hours.
Comments
0 comments
Please sign in to leave a comment.