I have a asp.net 4.0 website which works fine on dev machine. When I try to access the same service hosted on a external web server I get following error
The server encountered an error processing the request. The exception message is '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.'. See server logs for more details. The exception stack trace is: ...
I am using castle windsor 2.5 I tried using later version of castle windsor but to no avail. Could someone please suggest how can i fix this issue. thanks