Have you taken any steps to teach windsor that it must get the ISession instance from a session factory?
I certainly do not claim to have full knowledge in this area, but you might want to look at http://www.castleproject.org/container/facilities/trunk/nhibernate/index.html /Oskar 2010/5/24 Bobby Fallaha <[email protected]>: > Hey there, > > I have an application that is using ASP.NET MVC 2 along with Windsor > IOC and NHibernate. I am also using Rhino for the security. > > So i am receiving this error message when creating the controller in > the windsor contoller factory: > > "Type NHibernate.ISession is abstract. > As such, it is not possible to instansiate it as implementation of > NHibernate.ISession service" > > public IController CreateController(RequestContext requestContext, > string controllerName) > { > return > _kernel.Resolve<IController>(controllerName.ToLowerInvariant() + > "controller"); > } > > any idea? > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
