I'm working on an Nhibernate project and I'm having problem getting my asp.net version to work. The console and form versions work just fine but when I try running the exact same code in an aspx page, i get the following error:
An exception occurred during configuration of persistence layer.
I've been banging my head on this for two days, reading everything I can. I'm using .net 3.5 but the problem exists with .net 2.0 as well.
One solution was to specify the cfg.xml file name in the .configure function but that has not helped.
Has anyone else run into this problem?
|