Medium trust share webhosting site with Castle Windsor

风格不统一 提交于 2019-12-12 16:26:06

问题


I deployed by ASP.NET MVC 3 applications which uses Castle Windsor for DI. The application is hosted on GoDaddy's shared web hosting. I am receiving the following exception when trying to load the site. Doing some search on Google, I found that it's caused because GoDaddy hosting is medium trust.

Is there any ways to solve this problem?

Inheritance security rules violated while overriding member: 'Castle.MicroKernel.DefaultKernel.InitializeLifetimeService()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.

来源:https://stackoverflow.com/questions/7199238/medium-trust-share-webhosting-site-with-castle-windsor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!