ninject/Ninject.Web.Mvc

MVC4 Medium Trust issue

akshayslodha90 opened this issue · 3 comments

I have hosted my website with Speedhost.in. Recently they changed the default setting for all web-apps from full to medium. I am getting a Security Exception since then. My hosting company has restricted overriding of trustlevel policy and so I cannot change the trustlevel to full again.

The security exception I am getting is more of a general exception and I am unable to think of a way to fix this. How should I decide which dll is asking for the restricted permission?

http://stackoverflow.com/questions/28381074/shared-windows-hosting-asp-net-getting-security-exception-when-trustlevel-chan
dxvlv

Ninject is the problem! You need to put the version Ninject medium trust level at your application!

Where we can find the medium trust level version of Ninject ?

Search by .NET Framework 4.0 for medium trust environments in
[http://www.ninject.org/download.html]