This is a migrated thread and some comments may be shown as answers.

SQLite and OpenAcces Error

1 Answer 54 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dino
Top achievements
Rank 1
Dino asked on 14 Jun 2013, 09:56 AM
Hey there, 

i´ve got some Problems configuring my SQlite Database with OpenAccess. I followed the Instructions on the OpenAcceess ORM Tutorial but im not getting it started. Maybe you could give me some advice :)

Here the Exception:

System.Configuration.ConfigurationErrorsException: Database provider System.Data.SQLite.SQLiteFactory, System.Data.SQLite, Version=1.0.81.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139 not installed properly (CLR=v4.0.30319 64bit). ---> System.IO.FileLoadException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.81.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)

   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)

   at System.Type.GetType(String typeName, Boolean throwOnError)

   at OpenAccessRuntime.ProviderFactoryLoader.LoadImpl(String name, LogEventStore log, Int32 id)

   --- End of inner exception stack trace ---

   at OpenAccessRuntime.ProviderFactoryLoader.LoadImpl(String name, LogEventStore log, Int32 id)

   at OpenAccessRuntime.ProviderFactoryLoader.Load(String name, LogEventStore log, Int32 id)

   at OpenAccessRuntime.Relational.RelationalStorageManagerFactory..ctor(StorageManagerFactoryBuilder b)

   at OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL()

Thanks!

1 Answer, 1 is accepted

Sort by
0
Dino
Top achievements
Rank 1
answered on 14 Jun 2013, 10:55 AM
Ok, got it. After installing Simple.Data.ADO from NuGet it worked :)
Tags
Getting Started
Asked by
Dino
Top achievements
Rank 1
Answers by
Dino
Top achievements
Rank 1
Share this question
or