in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

test.exe.config?

Last post 01-25-2009 10:28 AM by EdoTokugawa. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-25-2009 10:28 AM

    test.exe.config?

    I've downloaded and built  SQLite-1.0.60.0 from the source code and I try to run the test.exe application with the following error.

     

    Ln 38 of TestCaseDialog.cs

    DbProviderFactory factory = DbProviderFactories.GetFactory(_provider.SelectedItem.ToString());

    Throws ConfigurationErrorsException "Failed to find or load the registered .Net Framework Data Provider.

     

    I'm running test.exe from the <PATH TO SRC>\bin there is a test.config.exe with the following contents

     <configuration> <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite"/> <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite"
    type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> </DbProviderFactories> </system.data> </configuration>

     

    The directory contains all the assemblies built from the package 

     SQLite.Interop.DLL

    System.Data.SQLite.dll

    System.Data.SQLite.Linq.dll

     

    From all my reading. This should work. Anyone know what I'm missing. Yes, I've already read all the forum information. VIsual Studio 2008 is the build platform. I've tried changing the configuration as stated in the Docs and this also fails. 

     

     

    <configuration>
    <system.data>
    <DbProviderFactories>
    <remove invariant="System.Data.SQLite"/>
    <add name="SQLite Data Provider" invariant="System.Data.SQLite"
    description=".Net Framework Data Provider for SQLite"
    type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite,
    Version=1.0.60.0, Culture=neutral,
    PublicKeyToken=db937bc2d44ff139"/>
    </DbProviderFactories>
    </system.data>
    </configuration>
     
     
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems