Re: Installing v2.1.5 under Medium trust
I was just able to replicate this. It seems to be coming form MagicAjax. Are you working with the source code? If so have a look in the MagicAjax project in MagicAjaxContext.cs see this section around line#217
#if !NET_2_0 || !MEDIUM_TRUST
_configuration = (MagicAjaxConfiguration)ConfigurationSettings.GetConfig("magicAjax");
I added this try catch and that fixed it for me.
I'll update the release downloads shortly.