FrameWorkが実行できず、Systemが表示されます.Management.ManagementExceptionアクセスが拒否されました


FrameWorkを実行すると、次のエラーが発生します.
System.Management thrown System.Management.ManagementException

System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
System.Management.ManagementScope.InitializeGuts(Object o)
System.Management.ManagementScope.Initialize()
System.Management.ManagementObject.Initialize(Boolean getObject)
System.Management.ManagementClass.GetInstances(EnumerationOptions options)
System.Management.ManagementClass.GetInstances()
FrameWork.Components.sys_FrameWorkInfoTable..ctor()
FrameWork.CheckUpdate..ctor()
FrameWork.FrameWorkPermission.app_Auth(Object sender, EventArgs e)
System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

あなたのサーバーのためです.Netの実行権限が低くasp.NetプロセスはSystemにアクセスできません.管理系统FrameWorkを見つけることができますComponents.sys_FrameWorkInfoTable.csファイル、元のコンストラクション関数
        /// <summary>
        ///     
        /// </summary>
        public sys_FrameWorkInfoTable()
        {
            ManagementClass mc = new ManagementClass("Win32_Processor");
            ManagementObjectCollection moc = mc.GetInstances();
            foreach (ManagementObject mo in moc)
            {
                _S_RegsionGUID = mo.Properties["ProcessorId"].Value.ToString();
                break;
            }
        }
に変更
      /// <summary>
        ///     
     /// </summary>
        public sys_FrameWorkInfoTable()
        {
            ManagementClass mc = new ManagementClass("Win32_Processor");
            try
            {
                ManagementObjectCollection moc = mc.GetInstances();
                foreach (ManagementObject mo in moc)
                {
                    _S_RegsionGUID = mo.Properties["ProcessorId"].Value.ToString();
                    break;
                }
            }
            catch (Exception)
            {
                _S_RegsionGUID = Common.EnBase64(AppDomain.CurrentDomain.BaseDirectory);
            }
            finally {
                mc.Dispose();
            }
        }