sharparchitecture / Sharp-Architecture

S#arp Architecture: ASP.NET MVC Best Practices with NHibernate
http://sharparchitecture.github.io/
Other
593 stars 153 forks source link

NHibernate debug #118

Closed arifov closed 9 years ago

arifov commented 9 years ago

Hi. I've faced with Oracle connection issue and i cannot understand the source of the issue.

SharpArchitecture hides NHibernate exceptions so I have only {"An ISessionStorage has not been configured"} And I cannot find the way to obtain more information. Please help me because it makes me crazy..

Thanks.

seif commented 9 years ago

Sharp Architecture shouldn't be hiding nhibernate exceptions. That error means that you have not initialised correctly. What is your initialisation code?

Have a look here for an example: https://github.com/sharparchitecture/Sharp-Architecture-Cookbook/blob/master/Solutions/SharpArchCookbook.Web.Mvc/Global.asax.cs

arifov commented 9 years ago

You gave me good clue and my problem is solved now. Thanks!