You need to build NH yourself with Castle trunk. There was a revision (see log, 
can't remember which one) of DP that made using NH proxy generator (NHPG) 
obsolete. Its not an FNH issue

/M

>-----Original Message-----
>From: fluent-nhibernate@googlegroups.com [mailto:fluent-
>nhibern...@googlegroups.com] On Behalf Of Josh Pollard
>Sent: Wednesday, September 30, 2009 12:34 PM
>To: Fluent NHibernate
>Subject: [fluent-nhib] Medium Trust
>
>
>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
-~----------~----~----~----~------~----~------~--~---

Reply via email to