How to resolve a "Connection timeout" error?

"Connection timeout" is an error that occurs as a result of a script exceeding the maximum timeout value. 

The timeout should be added to the following files:

Note: The framework version could change. 

Check in machine.config if the connection timeout is added at the end, just before the last line.
If not, add the following lines at the end (before </configuration> in the machine.config:

<system.transactions>
  <defaultSettings distributedTransactionManagerName="" timeout="23:59:00" />  <machineSettings maxTimeout="23:59:00" />
</system.transactions>

So it will look like:

TimeOut2359.png


Revision #2
Created 14 February 2025 16:45:26 by Theo Vlot
Updated 28 May 2025 12:25:19 by Peter van Driel