Runtime Error R6034 Connecting to Spark SQL

Published: 08 Jan 2018
Last Modified Date: 21 Oct 2019


When connecting Tableau Desktop to Spark SQL server, a runtime error occurs:
Runtime Error! 
Program: >C:\Program Files\Tableau\Tableau 10.4\bin\tabprotosrv.exe 

An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.


  • Tableau Desktop 
  • Windows


Make sure that Tableau Desktop and tabprotosrv.exe are being run as administrator:
  1. Navigate to the Tableau Desktop bin directory (Typically located at C:/Program Files/Tableau/Tableau <version>/bin)
  2. Right-click the tableau.exe file, and select Properties
  3. Select the Compatibility tab
  4. Check  Run this program as administrator
  5. Repeat the above steps for tabprotosrv.exe. 
If the above steps do not resolve the issue, or the user account does not have an option to run as administrator:
  • Work with your IT to ensure that the system's environmental path variable is correct, and there are no extra msvcr90.dll files present that Tableau may be trying to access during its querying.


There is an extra msvcr90.dll file (Windows Runtime Library). This generally occurs with installations of software such as Python which can change the computer's environmental path variable.
Did this article resolve the issue?