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 2025-02-14 16:45:26 UTC by Theo Vlot
Updated 2025-05-28 12:25:19 UTC by Peter van Driel