Invalidpathexception Error When Performing Tableau Server Upgrade

Published: 11 Jun 2020
Last Modified Date: 08 Jul 2022


During Tableau Server upgrade, when running the upgrade script the following error occurs:

2020-06-01 12:56:58.566 +0100 main : ERROR com.tableausoftware.installer.UpgraderMain - Generic exception raised during installation.

java.nio.file.InvalidPathException: Illegal char <:> at index 40: C:\Users\[username]\AppData\Local\Temp;D:\[some-file-path]

[username] Will be a specific user
[some-file-path] Will be an explicit path


  • Tableau Server 2020.2
  • Windows Server 2012


Check the Windows Temp folder environment variable and fix the TEMP variable to default for the [username].  Edit the windows TEMP environment variable for [username] to remove everything past:




Tableau Server expects a single value for TEMP environment variable.

It is possible that the additional value d:\[some-file-path] was added to the TEMP environment variable accidentally.

Additional Information

Msinfo32/System Information can be used to check the Environment Variables for all users:

msinfo32 screenshot

In this example the TEMP environment variable d:\[some-file-path]that needs to be removed is ;D:\Program Files\Oracle\instantclient_12_1
Did this article resolve the issue?