KNOWLEDGE BASE

Tableau Server 2020.2 connections to datasources fail with error %1 is not a valid Win32 application.


Published: 01 Jun 2020
Last Modified Date: 01 Sep 2020

Issue

Upgrades or installations of Tableau Server 2020.2 result in connections to live data sources failing with error %1 is not a valid Win32 application.  This affects connections utilizing tabprotosrv which will fail to load causing issues with refreshes and loading views connected to live data sources including the built-in admin views.

Environment

  • Tableau Server 2020.2.0+
  • Windows Server 2012+
  • MS SQL Server
  • PostgreSQL
  • Oracle

Resolution

Option 1
Upgrade to Tableau Server 2020.2.5 or later

Workaround
If upgrading Tableau Server is not possible, look for a file within the Tableau Server installation path named 'Tableau'. 

For default paths 

C:\Program Files\Tableau
C:\ProgramData\Tableau

If such a file exists, move this to a different location or delete the file and retest the views. 

Make sure there are no scripts being run on the server which output such a file to the install directory.

Cause

This is a known issue that is fixed in more recent version of Tableau Server.
Having a file named 'Tableau' within the install directories will break the call to tabprotosrv due to the path not enclosed in quotes, picking up any stray files named 'Tableau' preventing tabprotosrv from being initiated.  

Additional Information

If there is no Tableau file that exists in the install directory or if after moving this file, the error persists, please contact Tableau Technical Support.

 
Did this article resolve the issue?