Hello,
I am using the update released on November 25, 2014 and everything seemed to work fine till now and at once I am getting the following error
Note::The error listed below is in the demo examples that came with the SQLCipher package. The exception listed below happens on line 249 in SQLite.cs in the sqlcipher-windows-runtime-81-demo project. The code on that line is listed below:
SQLite3.SetDirectory(/temp directory type/2, Windows.Storage.ApplicationData.Current.TemporaryFolder.Path)
The exception detail is listed below:
“An exception of type ‘System.DllNotFoundException’ occurred in sqlcipher-windows-runtime-81-demo.exe but was not handled in user code”
System.DllNotFoundException was unhandled by user code
HResult=-2146233052
Message=Unable to load DLL ‘sqlite3.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Source=sqlcipher-windows-runtime-81-demo
TypeName=“”
StackTrace:
at SQLite.SQLite3.SetDirectory(UInt32 directoryType, String directoryPath)
at SQLite.SQLiteConnection…ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks)
at SQLite.SQLiteConnection…ctor(String databasePath, Byte key, SQLiteOpenFlags flags, Boolean storeDateTimeAsTicks)
at SQLite.SQLiteConnection…ctor(String databasePath, Byte key, Boolean storeDateTimeAsTicks)
at SQLite.SQLiteConnection…ctor(String databasePath, String key, Boolean storeDateTimeAsTicks)
at sqlcipher_windows_runtime_81_demo.MainPage…ctor()
at sqlcipher_windows_runtime_81_demo.sqlcipher_windows_runtime_81_demo_XamlTypeInfo.XamlTypeInfoProvider.Activate_0_MainPage()
at sqlcipher_windows_runtime_81_demo.sqlcipher_windows_runtime_81_demo_XamlTypeInfo.XamlUserType.ActivateInstance()
InnerException:
More information:
- I am a domain user who has been added to the local Administrators group on the development machine.
- I have Visual Studio opened as Administrator.
- I have also tried to uninstall/re-install and restart the machine and this is not changed the situation.