Unhandled Exception Has Occurred In Your Application
Overview
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.
Steps
- Clear the Connected Desktop cache. To see how, click here → Clear Connected Desktop cache
- Right-Click
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).
- 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
- 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
- Right-Click
on the
from the bottom left of your screen and click on Run.
- Type in RegEdit and click OK.
- Click the
to expand the folders and navigate to the following folder path below:
HKEY_CURRENT_USER
Software
SmartVaultCorporation
Options
- 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.
- Make sure that WdcDatabasePath is highlighted in blue and click Edit
Modify...
- 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.
- Now you may reopen the SmartVault Connected Desktop and attempt to open any folder or file from the Connected Desktop.
Considerations
If the problem still persists, please contact SmartVault Customer Support by submitting a ticket.