-->
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.  [ 4 posts ] 
Author Message
 Post subject: Newbie Cannot Instantiate Dialect Class
PostPosted: Fri May 05, 2006 12:20 am 
Newbie

Joined: Fri May 05, 2006 12:09 am
Posts: 11
I am trying to get my application to work. I have my config in app.config and it seems to load all the properties right. But when I try and load my classes it throws an exception ""Could not instantiate dialect class NHibernate.Dialect.MsSQL200Dialect". I have tried to set this programmatically and through the app.config. If I look at my config object the property gets set correctly but nothing seems to get this to instantiate. Has anyone seen this or have any idea how to get past it. I am using VS.Net 2005, nhibernate 1.0.2, vb.net.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 12:36 am 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
I don't see that dialect. Try SQLServerDialect instead?

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
 Post subject: Re: Newbie Cannot Instantiate Dialect Class
PostPosted: Fri May 05, 2006 1:11 am 
Expert
Expert

Joined: Thu Jan 19, 2006 4:29 pm
Posts: 348
GarrettD78 wrote:
"Could not instantiate dialect class NHibernate.Dialect.MsSQL200Dialect".


MsSQL_200_Dialect? Is it typo in message or in config file?

The correct name is MsSql2000Dialect so fix the case also...

Gert


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 05, 2006 9:00 am 
Newbie

Joined: Fri May 05, 2006 12:09 am
Posts: 11
Copying and pasting you typing of the MsSql2000Dialect and using SetProperty worked. I think my config file is not getting uploaded right now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.