Hello i have a simple web application written using asp.net core and EF with a SQLite DB. This runs fine on my OSX laptop but is failing with a EF error when i try to hit the web api on the Raspberry pi. The error looks is something to do with SQLite and as I'm ruing on DNX on mono on the pi but googling for the error below or parts of it haven't led to me any similar issues. Also if i comment out the SQLite bits in my code it works without error on the Pi.
Details of my setup:
- raspberry model B
-
Mono JIT compiler version 4.2.3
Microsoft.Data.Entity.Query.RelationalQueryCompilationContextFactory[1] An exception occurred in the database while iterating the results of a query. System.EntryPointNotFoundException: sqlite3_close_v2 at (wrapper managed-to-native) Microsoft.Data.Sqlite.Interop.NativeMethods:sqlite3_close_v2 (intptr) at Microsoft.Data.Sqlite.Interop.Sqlite3Handle.ReleaseHandle () <0xb13e2408 + 0x00017> in :0 at System.Runtime.InteropServices.SafeHandle.DangerousReleaseInteal (Boolean dispose) <0xb4ba6fa8 + 0x00137> in :0 at System.Runtime.InteropServices.SafeHandle.DisposeInteal () <0xb4ba6f80 + 0x00017> in :0 at System.Runtime.InteropServices.SafeHandle.IntealDispose () <0xb4ba6f14 + 0x00023> in :0 at System.Runtime.InteropServices.SafeHandle.Dispose (Boolean disposing) <0xb4ba6db8 + 0x00023> in :0 at System.Runtime.InteropServices.SafeHandle.Dispose () <0xb4ba6d8c + 0x00023> in :0 at Microsoft.Data.Sqlite.SqliteCoection.Close () <0xb13e2308 + 0x00067> in :0 at Microsoft.Data.Entity.Storage.RelationalCoection.Close () <0xb13eb570 + 0x000fb> in :0 at Microsoft.Data.Entity.Storage.Inteal.SqliteRelationalCoection.Close () <0xb13eb508 + 0x00013> in :0 at Microsoft.Data.Entity.Query.Inteal.QueryingEnumerable+Enumerator.Dispose () <0xb13e1fe0 + 0x000a3> in :0 at System.Linq.Enumerable+WhereSelectEnumerableIterator
2[TSource,TResult].Dispose () <0xb13e1f20 + 0x00037> in <filename unknown>:0 at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].MoveNext () <0xb14f93f0 + 0x00147> in :0 at Microsoft.Data.Entity.Query.Inteal.LinqOperatorProvider+ExceptionInterceptor`1+EnumeratorExceptionInterceptor[T].MoveNext () <0xb14f8f60 + 0x00037> in :0
