I tried both of them. Where is this sent from Fluent to NHibernate? I'll
just hardcode it for now.

2009/7/11 Hudson Akridge <[email protected]>

> If you rebuilt FNH with the latest version of NHibernate, you may need to
> include a hibernate.cfg.xml file with your application that has the
> proxyfactory.factory_class registered with either castle or LinFu (doesn't
> really matter which), then pass that to the fluent configuration before you
> attempt to build a session factory.
>
>
> On Fri, Jul 10, 2009 at 9:16 PM, Mikael Henriksson 
> <[email protected]>wrote:
>
>> Hi,
>>
>> I was because of need to use NHibernate Validator updating the NHibernate
>> version to the latest 2.1.3 or something like that. Now I get an exception
>> saying:
>>
>>
>> NHibernate.Bytecode.ProxyFactoryFactoryNotConfiguredException: The 
>> ProxyFactoryFactory was not configured.
>>
>> Initialize 'proxyfactory.factory_class' property of the session-factory 
>> configuration section with one of the available NHibernate.ByteCode 
>> providers.
>> Example:
>>
>> <property 
>> name='proxyfactory.factory_class'>NHibernate.ByteCode.LinFu.ProxyFactoryFactory,
>>  NHibernate.ByteCode.LinFu</property>
>> Example:
>>
>> <property 
>> name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory,
>>  NHibernate.ByteCode.Castle</property>
>>
>> What do I need to do to make it work?
>>
>> Cheers! :)
>>
>>
>>
>
>
> --
> - Hudson
> http://www.bestguesstheory.com
> http://twitter.com/HudsonAkridge
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to