Regular |
 |
Joined: Thu Nov 30, 2006 10:48 am Posts: 59
|
I switched to nHibernate release 2.0 beta 2. I received
Could not find the dialect in the configuration and then changed the config section in App.config. When I received the error again, I made the changes based on the release notes and the info at http://www.manning-sandbox.com/thread.jspa?messageID=72781. But it's still not working. Any ideas? Thanks --
<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler,NHibernate" requirePermission="false"/>
</configSections>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.0">
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
<property name="connection.connection_string">Data Source=localhost;initial catalog=MyDb;Integrated Security=SSPI</property>
</session-factory>
</hibernate-configuration>
_________________ metazone
|
|