KNOWLEDGE BASE

Error "BinaryTupleWriter::AddTuple" Connecting to Stored Procedure


Published: 30 Dec 2013
Last Modified Date: 18 Aug 2016

Issue

When you try to connect to a stored procedure from Tableau Desktop, the following error might occur:
 
BinaryTupleWriter::AddTuple

Unable to connect to the server <server name>. Check that the server is running and that you have access privileges to the requested database.

 

Environment

  • Tableau Desktop
  • Microsoft SQL Server

Resolution

Option 1

Make sure each column in the stored procedure has a unique name. 

Option 2

Use a stored procedure that returns a result set.
 

Cause

  • Two or more columns have the same alias.
  • If the stored procedure returns a results set in which some columns have aliases and some do not, the columns without aliases are not returned.
Did this article resolve the issue?