cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The Microsoft Data Link Error can occur when testing Business Adapter Studio's connection to Microsoft SQL Server during the "initializing provider" step. This error often occurs because the beacon doesn't have the correct native client installed. The correct native client must be installed to connect to the external database.

ms data link error.png

The provider parameter mentioned in the error is a standard part of SQL connection strings, which are not specific to FlexNet Manager Suite. See Microsoft's Connect to an ODBC Data Source (SQL Server Import and Export Wizard for more information on configuring this connection.

Test your connection with a UDL test

To verify your connection settings are correct, test the connection with a Universal Data Link (UDL) test. A UDL file enables you to test the Object Linking and Embedding Database (OLE DB) provider's connectivity to any backend database independent of a full application.

To test the connection using the SQL Server OLE DB provider, follow these steps:

  1. Create a new text file (such as SQL_CONN.txt).
  2. Resave the file as a UDL file (such as SQL_CONN.udl). Select Yes to the warning message about changing the file name extension.
  3. Open the UDL file.
  4. Select the Provider tab, then select the SQL Server OLE DB provider you use in your application, and select Next.

HollyM_1-1678815529121.png

  1. On the Connection tab, specify
    1. The network protocol
    2. The fully qualified domain name (FQDN)
    3. The port number under Select or enter a server name

data link properties.png

  1. Select Test Connection.
    • If you don't receive an error, your settings are correct.
    • If you receive a similar error to the Microsoft Data Link error, follow the solution steps below.

test connection.png

Solution

To resolve the issue, install one or both of the following providers, depending on your TLS setting and SQL versions.

  • Microsoft OLE DB Provider for SQL Server (SQLOLEDB) is the most common provider. It's built into Windows and can connect to any version of SQL Server that's not configured to require TLS 1.2 channel bindings.
  • Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL) is the latest SQL Server OLE DB provider. The provider has all the newest features, such as TLS 1.2, MultiSubnetFailover, and Azure authentication options. This provider is recommended for newer SQL Server databases.

For more information on each provider, see Microsoft OLE DB Driver for SQL Server.

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Mar 14, 2023 01:21 PM
Updated by: