Subtext icon indicating copy to clipboard operation
Subtext copied to clipboard

Latest version of Subtext does not run in Medium trust

Open jeremy-jameson opened this issue 13 years ago • 0 comments

While trying to repro another issue that only occurs when running Subtext is running in Medium trust configuration, I discoverd that the latest version doesn't run at all after changing the trust level to Medium.

Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

Line 64: DynamicModuleUtility.RegisterModule(typeof(OnePerRequestModule)); Line 65: DynamicModuleUtility.RegisterModule(typeof(HttpApplicationInitializationModule)); Line 66: bootstrapper.Initialize(CreateKernel); Line 67: } Line 68:

Source File: C:\NotBackedUp\Subtext\src\Subtext.Web\App_Start\NinjectMVC3.cs Line: 66

jeremy-jameson avatar Jan 31 '12 17:01 jeremy-jameson