Hey,
    I'm trying to get my site to run on a webhost with medium trust, I
followed the blog post at (http://nhforge.org/wikis/howtonh/pre-
generate-lazy-loading-proxies.aspx) to pre-generate the proxies. The
proxy generates ok but when I run it it throws the following
exception.


Method 'get_ProxyValidator' in type 'CastleStaticProxyFactoryFactory'
from assembly 'BAPS.Core.Proxies, Version=1.0.3735.31841,
Culture=neutral, PublicKeyToken=null' does not have an implementation.

command to generate the proxies

>..\..\libs\bin\net-2.0\NHPG.exe /o:BAPS.Core.Proxies.dll BAPS.Core.dll

nhibernate config

<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
                <session-factory>
                        <property
name="connection.provider">NHibernate.Connection.DriverConnectionProvider</
property>
                        <property 
name="dialect">NHibernate.Dialect.MsSql2005Dialect</
property>
                        <property
name="connection.driver_class">NHibernate.Driver.SqlClientDriver</
property>
      <property
name="proxyfactory.factory_class">CastleStaticProxyFactoryFactory,
BAPS.Core.Proxies</property>
                        <property name="hbm2ddl.keywords">auto-quote</property>
                        <property name="show_sql">true</property>
      <property name="current_session_context_class">web</property>
                </session-factory>
        </hibernate-configuration>


Any clue on what I'm doing wrong?

Thanks

John

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