I just had the same problem... The class name was correct and the XML file was set to embedded resource...
Configuration config = new Configuration();set to Configuration config = new Configuration().Configure();
let program go to find hibernate.cfg.xml,hibernate.cfg.xml config is :
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory name="TestCleanSnowModel">
<!-- properties -->
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.OracleDataClientDriver"</property>
<property name="connection.connection_string">user id=jkpt;data source=jkorasvr;password=designer;</property>
<property name="show_sql">true</property>
<property name="dialect">NHibernate.Dialect.OracleDialect</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<!-- mapping files -->
<mapping assembly="TestCleanSnow" />
</session-factory>
http://www.cnblogs.com/abcdwxc/archive/ ... 92552.html