Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Latest version of Subtext does not run in Medium trust #13

@jeremy-jameson

Description

@jeremy-jameson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions