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
Warning
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
- Clear the Connected Desktop cache.
- Open Windows File Explorer, enter %AppData% in the Address Bar, and then press Enter.
- Click SmartVault to open the folder.
- 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. - Open the AppDataCache folder, right-click on the address bar, and click Copy address as text.
- Open Notepad and paste the clipboard contents (Ctrl + V).
- Add the "wdcdb.sqlite" file name to the end of the path and copy the full path.
- Right-click on the Windows icon, and then click Run.
- Type RegEdit, and then click OK.
- Click the > icon to expand the folders and navigate to the following folder path:
HKEY_CURRENT_USER >Software > SmartVaultCorporation > Options - Double-click on the WdcDatabasePath to open the registry line.
- 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.
- 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.