SQLite and OpenAcces Error

2 posts, 0 answers
  1. Dino
    Dino avatar
    2 posts
    Member since:
    May 2013

    Posted 14 Jun 2013 Link to this post

    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!
  2. Dino
    Dino avatar
    2 posts
    Member since:
    May 2013

    Posted 14 Jun 2013 Link to this post

    Ok, got it. After installing Simple.Data.ADO from NuGet it worked :)
  3. DevCraft banner
Back to Top