[問題] 執行時 發生授權錯誤訊息
執行一個.net上運行的程式,結果出現以下訊息
如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。
************** 例外狀況文字 **************
System.Security.SecurityException: 不允許要求的登錄使用權。
於 System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
於 Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
於 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
於 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
於 System.Windows.Forms.Control.WndProc(Message& m)
於 System.Windows.Forms.ButtonBase.WndProc(Message& m)
於 System.Windows.Forms.Button.WndProc(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
失敗組件的區域:
MyComputer...(略)
至regeidt內的eventlog開放所有權限,還是一樣.
該如何解決?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 221.120.68.221
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章
10
25