[MethodAccessException: Attempt by security transparent method 'D3K.Licensing.Client.Helpers.ComputerHelper.GetCPUID()' to access security critical method 'System.Management.ManagementClass..ctor(System.String)' failed.
Assembly 'D3K.Licensing.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.]
D3K.Licensing.Client.Helpers.ComputerHelper.GetCPUID() +73
D3K.Licensing.Client.LicensingClient.IsValid(AppName appName, String key, String clientName, License& license) +193
D3K.Licensing.Client.Integration.LicensingContext.Validate() +663
MySchool.Administration.Web.V2.InitialDataConfig.CreateAdminUser() in InitialDataConfig.cs:63
MySchool.Administration.Web.V2.MvcApplication.Application_Start() in Global.asax.cs:37
[HttpException (0x80004005): Attempt by security transparent method 'D3K.Licensing.Client.Helpers.ComputerHelper.GetCPUID()' to access security critical method 'System.Management.ManagementClass..ctor(System.String)' failed.
Assembly 'D3K.Licensing.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +10109435
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +123
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +181
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +228
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314
[HttpException (0x80004005): Attempt by security transparent method 'D3K.Licensing.Client.Helpers.ComputerHelper.GetCPUID()' to access security critical method 'System.Management.ManagementClass..ctor(System.String)' failed.
Assembly 'D3K.Licensing.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10089676
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263
|