views:

51

answers:

1

Hi I am using Castle with the Nhibernate Integration Faclility

I am running a few tests and they are failing with the error

at Castle.MicroKernel.DefaultKernel.get_Item(Type service)
at Castle.Facilities.NHibernateIntegration.DefaultSessionManager.ObtainCurrentTransaction()
at Castle.Facilities.NHibernateIntegration.DefaultSessionManager.OpenSession(String alias)
at Castle.Facilities.NHibernateIntegration.DefaultSessionManager.OpenSession()
at Core.Repositories.NHibernateSqlDbLiteRepository`1.GetAll()
A: 

well I think the error is pretty obvious - you didn't register transaction manager. This probably means you didn't add Transaction facility to the container, did you?

Krzysztof Koźmic