KNOWLEDGE BASE

Error "An error occurred when publishing the data source. Cannot publish to Tableau Server." Due to Version Mismatch


Published: 07 Jul 2022
Last Modified Date: 13 Apr 2023

Issue

When using Tableau Desktop at a higher major version such as 2022.2, and trying to publish a data source to Tableau Server at a lower major version such as 2022.1, the error occurs as follows:

An error occurred when publishing the data source.
Cannot publish to Tableau Server.  Please make sure you are connected to a compatible version of the server.
You are using Desktop version 2022.2 and Server version 2022.1.  To publish a data source, make sure your version of Desktop is not newer than 2022.1.

Environment

Tableau Desktop 2022.2 and newer
Tableau Server 2022.1 and newer

Resolution

Publish the data source with a compatible major version of Tableau Desktop such as 2022.1 that matches Tableau Server. Make sure the Tableau Desktop major version is not newer than the Tableau Server major version.

Instructions on upgrading Tableau Desktop can be found here.

The Tableau Desktop downloads are available on the Tableau Release website.

 

Cause

Tableau Server did not release the version 2022.2, but Tableau Desktop and Tableau Prep Builder did release a 2022.2 version.  It is not possible to publish a data source from a newer major version of Tableau Desktop to an older version of Tableau Server.

The behavior is related to a Known Issue with ID 1395120 that is currently under investigation.
Did this article resolve the issue?