Data Engine Error 4: File Used by Other Process

Published: 17 Apr 2013
Last Modified Date: 25 Aug 2020


During an extract refresh, the following Tableau Desktop error occurs while communicating with the data source:

Tableau Data Engine Error: 4: The process cannot access the file because it is being used by another process.


  • Tableau Desktop


Complete the following steps as appropriate:

  • Ensure that you have read/write permissions to the Temp folder, located by default at C:\Users\<USER>\AppData\Local\Temp\TableauTemp 
  • Make sure that no other open Tableau Desktop sessions are using the same extract file as a primary data source.
  • Verify that the .tde file itself is not open or in use, including in another Tableau workbook by another user. If the file is on a network share, make sure no other users are connected to the file.
  • Restart the computer and try the refresh again. Restarting the computer might resolve any latent file locks.


Another Tableau Desktop session is open at the same time and connected to the extract (*.tde) file. The existing session has a lock on the file, so you are unable to perform the refresh from a different Tableau Desktop session.
Did this article resolve the issue?