Skip to main content
System StatusContact Support Agility Community

Can I increase the size limit for file attachments?

This feature is available in all editions.


Learn how to how to change the file size limits for attachments. On-premise customers only.


Yes. For On-premise (locally installed) customers only, follow the steps below to increase attachment file size limits. They cannot be changed for On-demand (hosted) customers. Doing so would affect all of our hosted customers. Agility does not officially support this change, but you can change it yourself following the steps below. Also note that any Agility upgrade/update will overwrite the web.config file, so all your changes will be lost and will need to be re-done every time.

How To

Increasing the attachment file size limit, requires changing the web.config file as follows:

<httpRuntime> child element of the <system.web> section in the web.config

Also, add a maxRequestLength attribute and set its' value to the max number of KB (the default is 4096KB or 4MB).

 Example: Setting the file size limit to 10MB:

<httpRuntime enableVersionHeader="false" maxRequestLength="10240" />

 (Optional) You can also extend the executionTimeout attribute.

For more information about these attributes, refer to Working Around File Size Limitations for additional information.