My Error: 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

I've seen other people report this error where they were getting
examples (propertys) in the error text , i dont.?

I've added a reference to NHibernate.ByteCode.Castle

and added the following line to app.config:

 <add key="proxyfactory.factory_class"
value="NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle"
 /
>

I've spent ages trying to figure this out..if anyone has any ideas/
sugestions/help, it would be v helpful...


thx..

J .


p.s.    entire app.config =

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="nhibernate"
    type="System.Configuration.NameValueSectionHandler,
System, Version=1.0.3300.0,Culture=neutral,
PublicKeyToken=b77a5c561934e089"
/>
  </configSections>
  <nhibernate>
    <add key="hibernate.show_sql"
    value="false" />
    <add key="proxyfactory.factory_class"
value="NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle"
 /
>

    <!-- <add key="proxyfactory.factory_class"
value="NHibernate.ByteCode.Castle.ProxyFactoryFactory,
NHibernate.ByteCode.Castle"/> -->
    <add key="hibernate.connection.provider"
    value="NHibernate.Connection.DriverConnectionProvider" />
    <add key="hibernate.dialect"
    value="NHibernate.Dialect.SQLiteDialect" />
    <add key="hibernate.connection.driver_class"
    value="NHibernate.Driver.SQLite20Driver" />
    <add key="hibernate.connection.connection_string"
    value="Data Source=C:\Users\Jerome\Desktop\SqlLiteBrowser
\comments;Version=3;New=False;Compress=True;" />
  </nhibernate>
</configuration>





--

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