Question

My site is working good on my local. but on Godady server it is throwing Method Access Exception :

I found this article. Ninject error on deployment

So Now I found that Godady allows medium Trust of Ninject instead of Full trust.

So my question is where can I download medium trust Ninject for .net 4.5.

I tried to visit this link http://www.ninject.org/download.html but it doesnt have Ninject with medium trust dll.

Can anybody suggest another alternative. ?? Please help !!! ...

Was it helpful?

Solution

I found a Ninject with Medium trust. But it was not the official one. Somebody updated the package. For anybody else who is looking for Ninject with Medium Trust for .net 4.5 can visit

https://teamcity.bbv.ch/viewLog.html?buildId=987&tab=artifacts&buildTypeId=bt7

login as Guest.

But I could not make that solution working.

So finally I switched to Unity. It works great in Medium Trust environments.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top