I don't know why you get this but if add "<trust level="Medium" originUrl="" />" to your web.config you will be noticed about this problem when running locally instead of when it's in production.
/martin On Wed, Sep 30, 2009 at 12:33 PM, Josh Pollard <j...@thepollardfamily.net>wrote: > > I tried searching for this, but Medium Trust returned no results for > some reason. Anyway, the release notes for version 1.0 say that all > the magic that was causing medium trust issues had been removed. When > I deployed my app to my host though I still get medium trust issues > > System.Web.Services.Protocols.SoapException was unhandled > Message="Server was unable to process request. ---> An invalid or > incomplete configuration was used while creating a SessionFactory. > Check PotentialReasons collection, and InnerException for more detail. > \n\n ---> The type initializer for > 'NHibernate.ByteCode.Castle.ProxyFactory' threw an exception. ---> > That assembly does not allow partially trusted callers." > > Is there some silly I'm missing that will make this work? I couldn't > find anything in the Wiki detailing how to get FNH working in a medium > trust scenario. > > thanks! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---