Server Error in '/' Application.

Unable to read the security policy file for trust level 'CustomMedium'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Unable to read the security policy file for trust level 'CustomMedium'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): Unable to read the security policy file for trust level 'CustomMedium'.]
   System.Web.HttpRuntime.SetTrustLevel(TrustSection trustSection, SecurityPolicySection securityPolicySection) +9037805
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +186

[HttpException (0x80004005): Unable to read the security policy file for trust level 'CustomMedium'.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9009107
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175