I successfully run Nhibernate 2.1 and now 3 in a medium trust environment. The only thing I had to do for NH3 was to download the Castle source and modify the CommonAssemblyInfo.cs file to activate partially trusted subscribers.
You will need to reference the compiled dll dll in the NHibernates source and rebuild. You can refer to all compiled dlls in your project and alt.
[assembly: AllowPartiallyTrustedCallers ()]
Everything else works fine, including proxies.
Additionally → it should be noted that I run this at trust levels at the Rackspace Cloud Medium level, and not at Go Daddy, but I am suspicious / reliable that it should be the same!
Change To run nHibernate 3.2 in a medium trust environment, see the link or one
Rippo
source share