Maximum size file attachments

NOTE: This article is intended for the on-premise version of Jitbit. We control the maximum file size on the hosted version and you cannot change it.

For the on-premise version of the helpdesk app, the maximum attachment size depends on your server settings. Typically it's being configured in the web.config file that is located in the root directory of help desk. You can open it with any text editor. The default server setting for the upload size could be as low as 4MB, so you might want to check that before you go live.

You need to check two things in the web.config.

maxRequestLength

Search for httpRuntime and add the maxRequestLength as pictured below. The value is in kilobytes. In the below example the limit is set to 50MB.
<system.web>
<httpRuntime maxRequestLength="50000" />
</system.web>



maxAllowedContentLength


You also need to add the following setting to your web.config if you are running IIS 7 or later (you most likely do). This value is in bytes and the example limit is also set to 50MB.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800" /> <!--50MB-->
</requestFiltering>
</security>
</system.webServer>

If you want to be safe, you can do the same thing in inetmgr.exe:
  1. Select the website you want enable to accept large file uploads.
  2. In the main window double click 'Request filtering'
  3. Select "Edit Feature Settings"
  4. Modify the "Maximum allowed content length (bytes)"

The previous setting still needs to be set directly in the web.config.
Creation date: 17/12/2015 16:08 ()      Updated: 10/02/2017 15:33 ()
Solving problems with on-premise version of Jitbit Helpdesk ticketing system