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

If you are using Connected Desktop, you may receive an "Unhandled Exception Has Occurred in Your Application" Error message when opening the client folder or file.
System.Data.SQLite.SQLiteException (0x80004005): unable to open database file


Before you try to fix the error, you can contact your IT or Support team for assistance because the following steps require you to make changes to your Windows Registry. If you are not familiar with working with the Windows Registry, do not proceed.

How to fix the "Unhandled Exception Has Occurred in Your Application" Error

  1. Clear the Connected Desktop cache.
  2. Open Windows File Explorer, enter %AppData% in the Address Bar, and then press Enter.
  3. Click SmartVault to open the folder.
  4. Look for the AppDataCache folder.
    If the folder does not exist, create it, name it "AppDataCache," and copy wdcdb.sqlite file inside it. Open the Connected Desktop and test to see if it works. If it does not work, continue to Step 5.
  5. Open the AppDataCache folder, right-click on the address bar, and click Copy address as text.
  6. Open Notepad and paste the clipboard contents (Ctrl + V).
  7. Add the "wdcdb.sqlite" file name to the end of the path and copy the full path.
  8. Right-click on the Windows icon, and then click Run.
  9. Type RegEdit, and then click OK.
  10. Click the icon to expand the folders and navigate to the following folder path:    
    HKEY_CURRENT_USER >Software > SmartVaultCorporation > Options
  11. Double-click on the WdcDatabasePath to open the registry line.
  12. Paste the file path copied in Step 7 in the Value data field, ensure the wdcdb.sqlite file name is included at the end of the path, and then click OK.
  13. Now, reopen the SmartVault Connected Desktop and attempt to open any folder or file from the Connected Desktop.

If the problem still persists, submit a ticket to SmartVault Customer Support.

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