I'm having this really noob problem.
After working a lot with NHibernate at work, I decided to fiddle with it at home, but I can't even get to setting it up :D
I want to make a Data layer, wich is a class library, and use that to call NHibernate, no biggy there I think?
I added an app.config to the project, a reference to nhibernate.dll, and I call
Code:
factory = cfg.BuildSessionFactory();
That's where I get this exception:
The hibernate.connection.driver_class must be specified in the NHibernate configuration section.
I do however have this line in app.config
Code:
<property name="hibernate.connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
Any help is welcome!