Make sure the hbm.xml files are marked as Embedded resource.
Send it to us the inner exception, otherwise.

On Thu, Feb 19, 2009 at 8:23 PM, JoAnnP38 <joann.pee...@gmail.com> wrote:

>
> Based on a suggestion from Fabio Maulo I am creating a unit test that
> demonstrates a bug I might have found. First I created my own NUnit
> test until I saw on nhforge.org that I should use the NHibernate.Test-
> Lite project that is posted. So I transferred my test code to here and
> now I get the following error when my mappings are being compiled:
>
> NHibernate.Test.NHSpecificTest.NH1234.SampleTest (TestFixtureSetUp):
> NHibernate.MappingException : Could not compile the mapping document:
> NHibernate.Test.NHSpecificTest.NH1234.Mappings.hbm.xml
>  ----> System.InvalidOperationException : Could not find the dialect
> in the configuration
>
> What I don't understand is that the SQL dialect is specified in
> App.config ("NHibernate.Dialect.MsSql2005Dialect"), so why am I
> getting this error?
> >
>
>


-- 
Dario Quintana
http://darioquintana.com.ar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to