KNOWLEDGE BASE

Error "Tableau Exception: Error occurred while trying to load the map source" Viewing Workbook Using .tms File


Published: 22 Aug 2014
Last Modified Date: 02 Sep 2015

Issue

When viewing a workbook that uses a .tms file and has been published to Tableau Server or Tableau Online, the following error might occur:

Tableau Exception: Error occurred while trying to load the map source "{mapsource name}". The load was not able to complete successfully
 

Environment

  • Tableau Online
  • Tableau Server

Resolution

Option 1

  1. Open the .tms file in a text editor.
  2. Change mapsource inline='false' to mapsource inline='true'.
  3. Open the workbook in Tableau Desktop and reconnect to the .tms file.
  4. Republish the workbook to Tableau Online or Tableau Server.

Option 2

Save a copy of the .tms file to the Tableau Server Mapsources folder. This folder is found under \ProgramData\Tableau\Tableau Server\data\tabsvc\vizqlserver\Mapsources on the computer running Tableau Server.

Note: This option is available for Tableau Server only.

Cause

The .tms file is missing from Mapsources folder when inline = 'false' is set in .tms file.

Additional Information

The inline setting indicates when the .tms file information is located in the workbook (inline = 'true') or when the .tms information is located in the Mapsources folder (inline = 'false').

In the case where inline = 'false', the .tms file must be stored in the Mapsources folder on the computer running Tableau Server. Since Tableau Online users do not have access to the Mapsources folder, they must use the inline = 'true' option for their .tms files.
Did this article resolve the issue?