-
Notifications
You must be signed in to change notification settings - Fork 262
Description
下面是日志 windwos10 家庭版
2024-12-03 17:44:57:886 [ERROR] System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.UnauthorizedAccessException: 尝试执行未经授权的操作。
在 Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
在 Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
在 FreeControl.Utils.SysEnvironment.SetSysEnvironment(String name, String strValue)
在 FreeControl.Utils.SysEnvironment.SetPathAfter(String strHome)
在 FreeControl.Utils.ADB.AddEnvironmentPath(String path)
在 FreeControl.Main.InitPdone()
在 FreeControl.Main..ctor()
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 FreeControl.Utils.Singleton1.get_Instance() 在 FreeControl.Program.Main() 2024-12-03 17:45:10:279 [ERROR] System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.UnauthorizedAccessException: 尝试执行未经授权的操作。 在 Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) 在 Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind) 在 FreeControl.Utils.SysEnvironment.SetPathAfter(String strHome) 在 FreeControl.Main.InitPdone() 在 FreeControl.Main..ctor() --- 内部异常堆栈跟踪的结尾 --- 在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) 在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) 在 System.Activator.CreateInstance(Type type, Boolean nonPublic) 在 FreeControl.Utils.Singleton
1.get_Instance()
在 FreeControl.Program.Main()