KNOWLEDGE BASE

"a database with alias name 'db#' is not attached" Error When Connecting to a Shared Drive-Hosted File


Published: 16 Oct 2019
Last Modified Date: 19 Jul 2021

Issue

When connecting to, refreshing, or joining an Excel file or text file hosted on a shared drive, the following error occurs:

Could not execute the given query.
        The result status code is 7.
        a database with alias name 'db#' is not attached

Environment

  • Tableau Desktop 2019.2
  • Windows 10
  • Excel

Resolution

Move the files to a local drive, or use a cloud-based file share, such as Dropbox, OneDrive, or Box

Cause

Another user or program is trying to access or change the files.
Did this article resolve the issue?