The configuration is correct.Ensure that FNH is reading your config. file or ensure you are using the last version of FNH.
2009/5/29 John <[email protected]> > > Hi, > > I'm just trying my hand at WPF and I'm using NHibernate and Fluent > NHibernate with it. > > I'm currently running into a problem with the NHibernate.ByteCode > > ============================== > Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory, > NHibernate.ByteCode.Castle' during configuration of proxy factory > class. > Possible causes are: > - The NHibernate.Bytecode provider assembly was not deployed. > - The typeName used to initialize the 'proxyfactory.factory_class' > property of the session-factory section is not well formed. > > Solution: > Confirm that your deployment folder contains one of the following > assemblies: > NHibernate.ByteCode.LinFu.dll > NHibernate.ByteCode.Castle.dll > ============================== > > I have the following config > > <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> > <session-factory> > <property > name="connection.provider">NHibernate.Connection.DriverConnectionProvider</ > property> > <property > name="connection.driver_class">NHibernate.Driver.SqlClientDriver</ > property> > <property > name="connection.connection_string">connectionStringHere</property> > <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</ > property> > <property name="show_sql">false</property> > <property > > name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, > NHibernate.ByteCode.Castle</property> > </session-factory> > </hibernate-configuration> > > I also have the NHibernate.ByteCode.Castle dll in my bin folder. > > Any ideas? > > Thanks > > John > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
