Maximum file size of attachments (uploads)

Q: What is the maximum file size of an attachment? How can I change it?

Problem: When we try to attach a file that is too large we get the following error: "Looks like application is not available. Please check your connection or server availability".

connection-error

A: Targetprocess itself does not have a limit for the size of the uploaded files. However, application settings apply a default limit which is set in IIS to 30 Mb. For on-demand (cloud) accounts this limit is already changed to 100Mb. For on-site customers, it is possible to manually increase this size.

To make this change you will need a connection to your Targetprocess hosting server and Administrator permissions to apply necessary changes. Otherwise please contact your administrator and ask him/her to make the changes.

In order to increase default size, please modify IIS and Targetprocess settings.

Modify limit in IIS settings

Run the IIS manager (Run->inetmgr) at your hosting server. Apply the following changes:

iis-request-filtering

Request filtering -> HTTP verbs -> Actions -> Edit Features settings -> Edit Request filtering settings -> Request Limits -> Maximum allowed content length = 30000000

request-limit

The measurement unit is Bytes. To increase the limit from 30 Mb to 100 Mb, change it to 100000000 and save settings.

Alternatively, the same action can be performed via editing the configuration file. File is located here by default:

C:WindowsSystem32inetsrvconfigapplicationHost.config

Add the following lines into the section named <system.webServer>:

<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1000000000" />
</requestFiltering>
</security>

Modify limit in Targetprocess application settings

We will also need to modify the Targetprocess configuration file, located here by default:

C:inetpubwwwrootTargetprocess2wwwrootweb.config

Find the line:

<httpRuntime executionTimeout="3600" maxRequestLength="50240" requestValidationMode="2.0" />

The value maxRequestLength should be modified. Measurement unit is Kb. Set it to 100000 for 100 Mb limit and save the file.

You should restart your website for the changes to be applied.

Still have a question?

We're here to help! Just contact our friendly support team

Find out more about our APIs, Plugins, Mashups and custom extensions. Join our community of passionate users and even discuss directly with our developers.

Get started for free

How many people would be using Targetprocess?
  • Myself
  • 2–20
  • 21–100
  • 101–1000
  • 1000+
By clicking Continue you agree to our Terms of service and Privacy policy