How to resolve warning message "No Database is Connected to This View"

This article discusses how to resolve the warning message “No database is connected to this view”. This warning message appears when you try to access a vault view that is missing registry information on the computer. Without this registry information, the vault view cannot function.

A vault view can be either Shared or Private. A shared view is accessible to all Windows profiles on the computer. A private view is only accessible to the Windows profile that creates the view.

Vault View Registry Keys

The connection information for a shared vault view is stored under the following registry keys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\Databases\[Vault Name]
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SolidWorks\Applications\PDMWorks Enterprise\Databases\[Vault Name]

If the view is private, the view information is stored in the following registry key instead:

  • HKEY_CURRENT_USER\Software\SolidWorks\Applications\PDMWorks Enterprise\Vaults\[Vault Name]

Solution 1: Re-add the Vault View

If the view is not supposed to be private or is missing the shared view information in the registry, you can delete the problematic vault view and re-add it. Please take note that any files that are checked out in the view remain identified as checked out, so you must perform an Undo Check Out to release the checked-out state.

  1. Delete the vault view by right-clicking on the vault view and selecting Delete File Vault View.
  2. Go to Start > All Programs > SOLIDWORKS PDM > View Setup.

  3. Select Next. Then select the appropriate archive server and Next.
    view setup archive servers.png
    Note that if your archive server is not shown in the list, you may have to manually type it in using the Add button. Please see your PDM administrator if you are not sure which server to add.

  4. Select your vault and click Next.

  5. Specify the location for the vault view, and whether you would like to install the vault view for only your Windows profile or for all Windows profiles on the computer.
    a. Unless you have different users sharing the same machine, it is usually recommended to select the For all users option.

    b. It is recommended to place the vault on or close to the root directory of a drive, to avoid potential issues with file path length.

  6. Click Next and then Finish.

If you do not want to delete the vault view, it is also possible to manually recreate the vault view registry information.

Solution 2: Export the Registry Keys from a Working Computer

You can export the needed registry keys from the registry of a working client computer. These are the registry keys covered in the Vault View Registry Keys section of this article. Then, you can import the registry keys to the problematic client computer and verify the following values after the keys have been restored: 

  • DbName REG_SZ [Name of the file vault database]
  • DbServer REG_SZ [Name of the SQL server]
  • ServerLoc REG_SZ [Name of the archive server]
  • ServerPort REG_DWORD [Archive server port, by default decimal value 3030]
  • ShellRoot REG_SZ [Full path to the vault view folder (including the vault name)]

Solution 3: Manually Recreate the Registry Keys

Another available option is to download the needed registry file attached to this article in order to recreate the registry keys on the computer. Before the registry file can be used, the correct values will need to be inputted.

  1. Open the registry file in Notepad.
  2. Edit the registry file with your vault values. The values can be obtained from the Administration tool for PDM if you have access to the vault properties or the registry of a working computer.

  3. Import the updated registry file.

For further technical support, please contact Hawk Ridge Systems at 877.266.4469 for the U.S. or 866.587.6803 for Canada and

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.