Skip to main content

Customer Center

SmartVault Customer Center

Unhandled Exception Has Occurred In Your Application


You may encounter this error upon trying to open any folder or file of a client within the Connected Desktop. The cause of this issue is due a registry key that has an incorrect path. This fix is only for the error that is indicating the following line as shown in the screenshot below:

System.Data.SQLite.SQLiteException (0x80004005): unable to open database file

Please note* Before proceeding, be sure to ask your IT person or the admin in charge of configuring your computer as the following steps below will require to change things inside the Windows Registry. If you are not familiar with working with the Windows Registry, do not proceed. Contact your IT or our support for further assistance. 


  1. Clear the Connected Desktop cache. To see how, click here   Clear Connected Desktop cache
  2. Right-Click mouse.png on the  from the bottom left of your screen and click on File Explorer. In the screen shot below, type in %appdata%\SmartVault\AppDataCache and hit Enter on your keyboard (Click on image below to expand if needed).

  3. If the AppDataCache folder does not exist, Go to "%appdata%\SmartVault ", Create a folder called "AppDataCache" and put this file inside it. Test to see if now works in connected desktop, otherwise continue on to step 4
  4. Copy the entire file location path as shown below and also add the file name in the path as shown below the screen shot.

    Add the file name to the end of the path so it looks like this example below when you copy and paste the whole line:

       C:\Users\COMPUTER USER NAME\AppData\Roaming\SmartVault\AppDataCache\wdcdb.sqlite
  5. Right-Click mouse.png on the  from the bottom left of your screen and click on Run
  6. Type in RegEdit  and click OK

  7. Click the  to expand the folders and navigate to the following folder path below:

      HKEY_CURRENT_USER  Software  SmartVaultCorporation  Options
  8. Click on the WdcDatabasePath and check the file path listed there. Take note of the Computer's User name part to see if it matches the file path you copied earlier in Step 3. If you see that it does not match what you copied earlier, proceed to Step 8 to fix the file path it should be. 
  9. Make sure that WdcDatabasePath is highlighted in blue and click Edit  Modify...
  10. Copy and Paste the file path that you copied in Step 3 and make sure that the file name wdcdb.sqlite is included at the end of the path and click OK. 

  11. Now you may reopen the SmartVault Connected Desktop and attempt to open any folder or file from the Connected Desktop.


If the problem still persists, please contact SmartVault Customer Support by submitting a ticket.