Hey all,
I'm new to the NHibernate system, yet I already have a problem:
I keep getting the "Could not create the driver from NHibernate.Driver.SQLiteDriver" error message.
This is a copy of my config file
Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section
      name="nhibernate" 
      type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
    />
  </configSections>
  <nhibernate>
    <add 
      key="hibernate.dialect"
      value="NHibernate.Dialect.SQLiteDialect" 
    />
    <add 
      key="hibernate.connection.provider"
      value="NHibernate.Connection.DriverConnectionProvider" 
    />
   <add 
     key="hibernate.connection.driver_class"
      value="NHibernate.Driver.SQLiteDriver"
    />
   <add 
     key="hibernate.connection.connection_string"
      value="Data Source=nhibernate.db;Version=3" 
    />
   <add 
     key="hibernate.query.substitutions"
      value="true=1;false=0" 
    />
  </nhibernate>
</configuration>
Now whenever the compilation reaches this point:
Code:
Configuration cfg = new Configuration();
cfg.AddAssembly("NHibernate");
-----> ISessionFactory factory = cfg.BuildSessionFactory(); <-----
ISession session = factory.OpenSession();
ITransaction transaction = session.BeginTransaction();
session.Close();
it pops up the error message.
Can someone help me out pls?