Well,

after you find solution for your problem, take a look on this:

http://www.codeproject.com/KB/WPF/WPF_NHibernate_Validator.aspx



2009/5/29 Shane C <[email protected]>

>
> And did you make sure that the NHibernate Castle lazy-loading binaries
> are available?
>
> On May 29, 4:44 am, John <[email protected]> wrote:
> > 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
> >
>


-- 
Paulo R. Quicoli

Editor Técnico - ClubeDelphi Magazine - DevMedia

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to