hallo,
i'm using Firebird 1.5 and C# with Visual Studio 2005. i would like to use NHibernate for or-mappings.
i've created a new application project with a mapping class and the corresponding xml file. the connection parameters are in the app.config which looks like this:
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.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"
/>
<add
key="hibernate.dialect"
value="NHibernate.Dialect.FirebirdDialect"
/>
<add
key="hibernate.connection.driver_class"
value="NHibernate.Driver.FirebirdClientDriver"
/>
<add
key="hibernate.connection.connection_string"
value="DataSource=QUARK;Database=DataTest;User=SYSDBA;Password=masterkey;ServerType=0;initial catalog=nhibernate;Integrated Security=SSPI"
/>
</nhibernate>
</configuration>
i've made a reference to the FirebirdSql.Data.FirebirdClient (version 2.0.1.0) in the project map.
but every time i try to instantiate the factory with:
Code:
Configuration cfg = new NHibernate.Cfg.Configuration();
ISessionFactory factory = cfg.BuildSessionFactory();
i get this error
Could not create the driver from NHibernate.Driver.FirebirdClientDriver
i've read the post
http://forum.hibernate.org/viewtopic.php?p=2328099&sid=5525e924e9e78826576badaabe45a5fa in this forum, but it doesn't seem to help.
please help!!!![/quote]
could it be that nhibernat only supports .Net 1.1? i'm using .Net 2.0.