Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 362821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:17:01+00:00 2026-05-12T13:17:01+00:00

What version/implementation of the SQLLite can be used with NHibernate. I get an error:

  • 0

What version/implementation of the SQLLite can be used with NHibernate. I get an error:

The IDbCommand and IDbConnection
implementation in the assembly
SQLite.NET could not be found. Ensure
that the assembly SQLite.NET is
located in the application directory
or in the Global Assembly Cache. If
the assembly is in the GAC, use
element in the
application configuration file to
specify the full name of the assembly.

Let me say that dll is in the bin directory, I made sure.
I am using System.Data.SQLite.DLL version 1.0.60.0.

Here is the hibernate.cfg.xml

    <property name="connection.driver_class">
        <!--NHibernate.Driver.SqlClientDriver-->
        NHibernate.Driver.SQLiteDriver
    </property>
     <property name="connection.connection_string">
        <!--    Server=.\SQLEXPRESS;User Id=epitka;Password=password;Database=dnn49;-->
        Data Source=nhibernate.db;Version=3
  </property>
  <property name="dialect">NHibernate.Dialect.SQLiteDialect</property>

  <property name="query.substitutions">true=1;false=0</property>

  <property name="show_sql">true</property>

I am running this on Window XP box.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:17:01+00:00Added an answer on May 12, 2026 at 1:17 pm

    IDbCommand and IDbConnection are in the System.Data namespace, not in SQLite. Would you post your nhibernate configuration settings?

    Here are the relevant settings

    dialect = NHibernate.Dialect.SQLiteDialect, NHibernate
    connection.driver_class = NHibernate.Driver.SQLite20Driver, NHibernate
    

    SQLite20Driver is for System.Data.SQLite, while SQLiteDriver is for SQLite.NET. So SQLite20Driver is your answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to be able to get attributes like Implementation-Version that are set in
Can someone help me with Delphi implementation of CRC-CCITT ( 0xFFFF )? Already get
Specfically 1.6.0.14 for Linux You can use the Rhino context to get the implementation
What's the JSF implementation version that JBoss 7.1.1.Final has? and how can I know,
I'd like to add an Implementation-Version line to a manifest in my jar file
I have the ruby version manager installed and use the ruby implementation installed by
I've read somewhere that the trunk version of Firefox already had a WebSocket implementation.
Version used: Delphi 7. I'm working on a program that does a simple for
Short version: Can I grant access to external databases to a role? Long version:
I am trying to improve SQLite error handling in an existing C++ program. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.