Thanks Oskar, I was able to resolve my issue. i was missing registering the Castle FactorySupportFacility.
On May 24, 1:25 pm, Oskar Berggren <[email protected]> wrote: > 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 > athttp://www.castleproject.org/container/facilities/trunk/nhibernate/in... > > /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 > > athttp://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 > athttp://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.
