Thread:
 If you had this problem: 
 nahuelgq   05 Nov 2006, 03:03 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: nahuelgq (05 Nov 2006, 03:03) Replies: 0, Views: 28043
Subject: If you had this problem:
I had this fragment of code:

NHibernate.Cfg.Configuration conf = new 
NHibernate.Cfg.Configuration();

conf.AddAssembly("NHibernateTesting");

And I got this exception at the second line:
"The dialect was not set. Set the property hibernate.dialect."

The problem was that my app.config was renamed to app.config.xml, 
and that is incorrect, the file must be just "app.config". 

I hope that it has been useful.

Nahuel from Argentina.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]