This project has moved. For the latest updates, please go here.

Issue when running in Medium trust?

Jul 11, 2010 at 6:55 PM

Hi all,

I'm trying to get 1.3 running with my hosting provider, and I'm getting a security issue when Global.asax line executes - ServiceLocator.Initialize(KernelFactory.CreateKernel());

The error is a Security Exception, and the last method call in the trace is Ninject.Modules.CompiledModuleLoaderPlugin.CreateTemporaryAppDomain() +19

I'm assuming that creating a temporary AppDomain is disallowed in Medium Trust.

Anyone else got this issue?







Jul 12, 2010 at 2:57 PM

If you're seeing something about Ninject then I think you must have grabbed the 2.0 branch instead of the 1.3 branch.

Jul 12, 2010 at 3:04 PM

Yes, it would appear that I am being an idiot, and not reading the readme.txts..........  :-(

Sorry about that!