Socket connection 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 timeout, network, or processing error messages if the receiveTimeout 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 receiveTimeout setting specifies how long the Internet Information Services (IIS) will remain open to receive files before closing the export.

In the following example, the receiveTimeout setting in the netTcpBindingNoSecurity section binding is set at the default 4 hours to allow more time for exporting a large dataset. If required, you can increase this value depending on factors such as the system's processor speed, network speed, and so on.

        <binding name="netTcpBindingNoSecurity" closeTimeout="04:00:00" openTimeout="04:00:00" receiveTimeout="04:00:00" sendTimeout="04:00:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxConnections="100" maxReceivedMessageSize="2147483647">          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>

          <security mode="None"/>

        </binding>