I get this error. I believe I have the facility configured properly.
No component for supporting the service
Castle.Facilities.NHibernateIntegration.ISessionManager was found.
My configuration is
container.AddFacility<Castle.Facilities.AutomaticTransactionManagement.TransactionFacility>
("atm");
var nHibernateFac = new MutableConfiguration("facility");
var nHibernateFactorySettings = nHibernateFac.Attribute
("isWeb", "true")
.Attribute("type", typeof
(Castle.Facilities.NHibernateIntegration.NHibernateFacility).AssemblyQualifiedName)
.CreateChild("factory")
.Attribute("id", "nhibernate.factory")
.CreateChild("settings");
nHibernateFactorySettings.CreateChild("item",
"true").Attribute("key", "show_sql");
nHibernateFactorySettings.CreateChild("item", typeof
(global::NHibernate.ByteCode.Castle.ProxyFactoryFactory).AssemblyQualifiedName).Attribute
("key", "factory_class");
container.Kernel.ConfigurationStore.AddFacilityConfiguration
("nhibernate", nHibernateFac);
container.AddFacility("nhibernate", new
Castle.Facilities.NHibernateIntegration.NHibernateFacility(new
NHibernate.ConfigurationBuilder()));
Anyone have any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---