Loading

Error "[Microsoft][ODBC SQL Server Driver][DBNETLIB] SQL Server does not exist or access denied." Opening Workbook or a Accessing Dashboard Connected to MS SQL Server

Julkaisupäivä: Jan 27, 2025
Kuvaus

Issue

When attempting to open a workbook in Tableau Desktop or view a dashboard on Tableau Server, the following error might occur:

 

TableauException: [Microsoft][ODBC SQL Server Driver][DBNETLIB] SQL Server does not exist or access denied.
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()).
Unable to connect to the server <server name>. Check that the server is running and that you have access privileges to the requested database.

 

Cause

Tableau Desktop or Tableau Server is unable to communicate with the SQL Server database.

In addition, the computers running Tableau Server do not have the new version of the Microsoft SQL Server driver, and are using the default SQL Server driver installed with the Windows operating system. The default SQL Server driver works with many Microsoft SQL Server features, but advanced features of the newer versions of Microsoft SQL server are not compatible with the default SQL Server driver.

 

Ratkaisu

The following troubleshooting steps might resolve the issue:

  • On the computer running Tableau Server, download and install the Microsoft SQL Server driver from the Tableau Drivers & Activation page. If running Tableau Server in a distributed environment, install the drivers on all computers running Tableau Server. After downloading and installing the driver on all Tableau Server nodes, restart Tableau Server. For more information, see tsm restart in Tableau Help.
  • Confirm that the SQL Server database mentioned in the error message is running.
  • Make sure that nothing is preventing Tableau Desktop or Tableau Server from communicating with SQL Server, such as a firewall.
  • Check the SQL Server log files to verify that the user or Tableau Server Run As User has permission to access the database. For more information, see Run As User in Tableau Help.

 

    Knowledge-artikkelin numero

    001473974

     
    Ladataan
    Salesforce Help | Article