-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: MsSqlServer200xDialect at .net 2.0
PostPosted: Mon Aug 23, 2010 10:35 am 
Newbie

Joined: Thu Jun 03, 2010 6:03 am
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: MsSqlServer200xDialect at .net 2.0
PostPosted: Mon Aug 23, 2010 10:37 am 
Newbie

Joined: Thu Jun 03, 2010 6:03 am
Posts: 5
my Nhibernate is NHibernate-2.1.2.GA-bin


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.