Message - Failed to connect to the Excel workbook. Probably, it happened because of too many open connections

Applies to TestComplete 15.73, last modified on March 04, 2025

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

See Also

Using Excel Files as Data Storages
Using CSV Files as Data Storages
Variables of the DB Table Type

Highlight search results