KNOWLEDGE BASE

Error "Unable to connect to the data source" When Accessing Published Workbooks


Published: 18 Dec 2017
Last Modified Date: 09 Apr 2018

Issue

When opening views that use published data sources, the following error might occur:
 
"Unable to connect to the data source.
Try connecting again. If the problem persists, disconnect from the data source and contact the data source owner."


or

"DataServiceFailure
Unable to connect to the server "localhost". Check that the server is running and that you have the access privileges to the requested database."

Environment

  • Tableau Online
  • Tableau Server

Resolution

As the site administrator or data source owner, grant the affected user the 'Connect' permission for the published data source.

Cause

The affected user has not been granted permission to connect to the published data source.
Did this article resolve the issue?