Thread processing a large job was aborted - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Problem

Exporting large data sets can result in thread abort errors if the httpRuntime executionTimeout setting in the web.config file on the target system site is set too low to allow the export of the data to be completed.

Solution

The parameter httpRuntime executionTimeout in the web.config file specifies the time after which Internet Information Services (IIS) closes and the export stops. To allow more time for the export to be completed, the httpRuntime executionTimeout value in the web.config file on the staging system and target system sites is set to the default value of 108000 seconds (30 hours). However, this setting depends on other factors, such as the system's processor speed, network speed, and so on.

In the following example, the parameter has been reduced to 36000 seconds (which equals ten hours).

  <system.web>

    <!-- The upload limit is currently set to 400MB, this can be changed as necessary -->

    <httpRuntime executionTimeout="36000" maxRequestLength="400000"/>

The web.config file is located at [installation location]\ Server Files\Web_Sites\[Site Name].