Hi anybody.
I'm trying to write my first web application with NHibernate. We already have a nice architecture based on three main components (one project for the web, one for the framework and another one for the business classes).
The DAO layer (the methods for accessing database) are located in both framework and business projects. I should be able to configure NHibernate from the framework project, but it seems there is a problem in such approach becouse any attempt to execute the line
config = new Configuration();
throws a nasty exception:
log4net:ERROR DOMConfigurator: ConfigureFromXML called with null 'element' parameter
We don't have any idea about how to deal with it and we are becoming increasingly frustrated. Could you be so nice to help us?
If you need further details please feel free to ask me. Thank you in advance.
jv (jv at e-chiceros dddoott com)
|