Thread processing a large job was aborted - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

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]\SDx Server Files\Web_Sites\[Site Name].