“Unable to establish the connection with the name…” – CODESOFT Error Message
Target Audience: Basic User, Advanced User, IT Manager
Article #: 12246
Summary
Using the Open merge database with document feature in CODESOFT attempts to establish the connection to the database when the label design is opened. However, if this fails, the user gets the error message “Unable to establish the connection with the name “[Database Connection]”. Please check if it exists or select another connection.” This article will explain the cause and provide the steps needed to resolve it.

Explanation
So far, we’ve found two reasons that cause this connection issue:
The database query references invalid values
In one situation, the SQL query referenced a When Printed field that experienced a name change. However, the SQL query wasn’t updated after field name was changed.

Database Connection was not selected.
In another situation, the database was not selected after the label design was opened. Selecting the database resolved the issue.

Quick Fixes
Updating the SQL query field name and/or selecting the database will resolve the issue.
Additional Comments
Issue found in TEKLYNX Enterprise v2021.
If you need further assistance, please contact us.
Author
Related Articles
- Loftware Redirect Print to PDF action using multiple printer seats
- License is failed – TEKLYNX CENTRAL Error Message
- Loftware Web Designer vs Desktop Designer
- Loftware Workday API Splitting Print Jobs
- Planning a BarTender Server Migration and Upgrade – BarTender Instructions Article
- Deciding on an In-Place Upgrade, Test Server, or Migration – BarTender Reference Article