I think it is stupid, but, i want to post here
My computer is .net 2.0 and hibernate.cfg.xml is: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" /> </configSections> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> <session-factory name="com.ikcsoft.LI.CBL.DAL"> <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> <property name="connection.connection_string"> Password=admin;Persist Security Info=True;User ID=sa;Initial Catalog=LI;Data Source=localhost </property> <property name="adonet.batch_size">10</property> <property name="show_sql">false</property> <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> <property name="use_outer_join">true</property> <property name="command_timeout">60</property> <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> <mapping assembly="com.ikcsoft.LI.CBL.BLL"/> </session-factory> </hibernate-configuration> </configuration>
I launch the application and get the error: Could not compile the mapping document: com.ikcSoft.LI.CBL.BLL.Blpsddtl.Blpsddtl.hbm.xml and the Inner Execption is Could not instantiate dialect class NHibernate.Dialect.MsSql2000Dialect
My Computer environment: windows 2003 with SP3,.net framework 2.0,SQL Server 2000 with SP4.
I tried to fix this, and search via google, after i update .net framework to 2.0 sp1, fixed.but, out clients' computer .net framework is 2.0 and disallow to upgrade to 2.0 sp1. anybody who can help me to solove this. thanks in advanced.
|