Resolving the "Unhandled Exception Has Occurred In Your Application" Error

Overview

You may encounter this error upon opening any folder or file of a client within the Connected Desktop. The cause of this issue is due to 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

  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.

Resolving This Error

  1. Clear the Connected Desktop cache. Learn how to Clear Connected Desktop cache.
  2. Right-click on the Windows icon from the bottom left of your screen and click File Explorer. In the screenshot below, type in %appdata%\SmartVault\AppDataCache and press Enter on your keyboard.

  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 it now works in the connected desktop; otherwise, continue 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 screenshot.

      Note

    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 on the Windows icon from the bottom left of your screen and click Run.

  6. Type in RegEdit and click OK.

  7. Click the > icon 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 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.

...