开发者

Medium trust share webhosting site with Castle Windsor

开发者 https://www.devze.com 2023-03-30 17:10 出处:网络
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 si

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 viola开发者_开发问答ted while overriding member: 'Castle.MicroKernel.DefaultKernel.InitializeLifetimeService()'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号