KNOWLEDGE BASE

Error "There is no active connection to the data source" Refreshing Using Command Line Utility


Published: 17 Jul 2014
Last Modified Date: 31 Aug 2015

Issue

When using the command line utility to refresh a data source, the workbook on Tableau Server might not be updated and the following error might occur:
 
There is no active connection to the data source.

Environment

  • Tableau Server
  • Tableau Desktop

Resolution

In the command, add quotations to the original file name and path. For example:
C:\Program Files\Tableau\Tableau 8.2\bin>tableau refreshextract --server https://<server name> --username <user name> --password <password> --project "Default" --datasource "<data source name>" --original-file "C:\Users\<user>\Documents\<file>"

 

Cause

The syntax of the command is incorrect.
Did this article resolve the issue?