Cannot Import Large Documents - Integration for Accela - English - Foundation 22.1 - OnBase - Essential - Premier - Standard - external - Standard - Essential - Premier

Integration for Accela

Integration for Accela
Foundation 22.1

Users are unable to import large documents into OnBase using Accela's document creation functionality.


Increase the maxAllowedContentLength and maxRequestLength settings in the web.config file of the Accela Service to allow for the largest documents that need to be imported.

  1. Locate the web.config file for the Accela Service.

    The folder containing the Accela Service can be located using the IIS Manager.

  2. Open the web.config file in a plain-text editor, such as Notepad.

    Do not open the web.config in a binary editor, such as Microsoft Word, because binary editors can introduce invalid characters to the file that cause the service to fail.

  3. Locate the httpRuntime element in the web.config file.
  4. Update the value of the maxRequestLength attribute to increase the maximum file size allowed. This value is in kilobytes (KB).

    Due to additional system information that is sent with requests, the maximum size setting should be slightly above the largest file size that needs to be imported. For example, if the largest file you need to import is no greater than 40 MB, set the maximum file size to 41 MB to ensure that a 40 MB file can still be imported.

  5. Update the value of the executionTimeout attribute to allow for the increased file size, if necessary. This value is in seconds.
  6. Locate the requestLimits element under the system.webServer element.
  7. Update the value of the maxAllowedContentLength attribute to match the size configured for the maxRequestLength. This value is in bytes.

    The sizes configured for the maxRequestLength and maxAllowedContentLength attributes must be equal, but note that maxRequestLength is in kilobytes and maxAllowedContentLength is in bytes.

  8. Save and close the web.config file.
  9. Restart the Accela Service in order for the changes to take effect.

    The maxRequestLength and executionTimeout settings may also need to be increased for the OnBase Application Server. For details, see the Application Server module reference guide.