Are the .hbm.xml files being compiled as Resources? They must be... Check the file properties in Visual Studio.
RP On Monday, June 23, 2014 6:10:49 PM UTC+1, Oskar Berggren wrote: > > > > > 2014-06-23 18:06 GMT+02:00 Eric Downey <edow...@gmail.com <javascript:>>: > >> Okdoke. Just turned on log4net and go the following. Didn't see >>> anything that looked like an error specifically or even where it got hung >>> up. But I'm not an NHibernate expert either ;) >>> >> >> 2014-06-23 11:58:56,744 INFO NHibernate 3.3.1.4000 (3.3.3.GA) >> 2014-06-23 11:58:57,306 INFO Bytecode provider name : lcg >> 2014-06-23 11:58:57,308 INFO Using reflection optimizer >> 2014-06-23 11:58:57,320 DEBUG >> connection.driver_class=NHibernate.Driver.SqlClientDriver >> 2014-06-23 11:58:57,321 DEBUG connection.connection_string=Data >> Source=DOT6ZF85V1\MSSQLSERVERR2;Initial Catalog=HSC;Integrated >> Security=True;MultipleActiveResultSets=True >> 2014-06-23 11:58:57,322 DEBUG adonet.batch_size=100 >> 2014-06-23 11:58:57,323 DEBUG show_sql=true >> 2014-06-23 11:58:57,323 DEBUG dialect=NHibernate.Dialect.MsSql2008Dialect >> 2014-06-23 11:58:57,324 DEBUG max_fetch_depth=true >> 2014-06-23 11:58:57,324 DEBUG command_timeout=60 >> 2014-06-23 11:58:57,325 DEBUG query.substitutions=true 1, false 0, yes >> 'Y', no 'N' >> 2014-06-23 11:58:57,325 DEBUG current_session_context_class=web >> 2014-06-23 11:58:57,326 DEBUG hbm2ddl.auto=update >> 2014-06-23 11:58:57,326 DEBUG generate_statistics=true >> 2014-06-23 11:58:57,327 DEBUG <-HSC.Domain >> 2014-06-23 11:58:57,328 INFO Searching for mapped documents in assembly: >> HSC.Domain >> 2014-06-23 11:58:57,330 WARN No mapped documents found in assembly: >> HSC.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null >> > > It does confirm that it looks in an assembly but doesn't find anything. So > I guess it's back to triple-checking the initialization logic and > resources, and that the correct files are used during execution. > > /Oskar > > > > -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-development+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.