When does the error occur?
This error occurs when you are trying to read data from a CSV or an Excel file, and TestComplete fails to connect to the file.
Why is the message shown?
To read data from a CSV or an Excel file, TestComplete creates a connection to it. If there are already many open connections to the data source, TestComplete may fail to open another one. This may happen because some drivers limit the number of simultaneous connections.
Workarounds
-
In your tests, call the
DBTableVariable.Disconnect
methods for all the DBTable variables you do not use anymore. -
In your tests, call the
DDT.CloseDriver
method to close the connection opened by a driver.
See Also
Using Excel Files as Data Storages
Using CSV Files as Data Storages
Variables of the DB Table Type