Hi all
Im getting the following exception when I try to open a connection to
a SQLite db:
System.TypeLoadException: Requested Windows Runtime type
'Sqlite.Sqlite3' is not registered. --->
System.Runtime.InteropServices.COMException: Class not registered
(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Result StackTrace:
at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
at Sqlite.Sqlite3.sqlite3_open_v2(String filename, Database& db,
Int32 flags, String zVfs)
at MSI.Framework.DataAccess.SQLite.SQLite3.Open(String filename,
Database& db, Int32 flags, IntPtr zVfs)
at MSI.Framework.DataAccess.SQLite.SQLiteConnection..ctor(String
databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks)
at PhoneTests.UnitTest1.CreateATable()
My situation is:
im using sqlite-net-wp8
and sqllite as downloaded from nuget
this produced a .net wrapper called SQLite.cs and SQLiteAsync.cs
and im calling:
using (var conn = new SQLiteConnection(@"E:\TEMP\TEST.DB",
SQLiteOpenFlags.ReadWrite))
Is this enough information or not?
--
Kind Regards, Michael Grant Walmsley
E: [email protected]
P: 0412886788
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users