I'm using NHibernate 3.3.1 in medium trust. It throw a Security Exception. In the NHibernate 3.3.1 say that it is compatible with medium trust.
Has it any prerequisite?
I've had success using the NHibernate.DependencyInjection NuGet package to use NHibernate in a medium trust environment.