다음을 통해 공유

System.Security.SecurityException: 요청한 레지스트리에 액세스할 수 없습니다.

익명
2015-08-26T14:47:18+00:00

이 대화 상자 대신 JIT(Just-in-time) 디버깅을 호출하는

방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오.

************** 예외 텍스트 **************

System.Security.SecurityException: 요청한 레지스트리에 액세스할 수 없습니다.

   위치: System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)

   위치: Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)

   위치: YesPopWorker.Form_Main.Form_Main_Load(Object sender, EventArgs e)

   위치: System.Windows.Forms.Form.OnLoad(EventArgs e)

   위치: System.Windows.Forms.Form.OnCreateControl()

   위치: System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   위치: System.Windows.Forms.Control.CreateControl()

   위치: System.Windows.Forms.Control.WmShowWindow(Message& m)

   위치: System.Windows.Forms.Control.WndProc(Message& m)

   위치: System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   위치: System.Windows.Forms.ContainerControl.WndProc(Message& m)

   위치: System.Windows.Forms.Form.WmShowWindow(Message& m)

   위치: System.Windows.Forms.Form.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

************** 로드된 어셈블리 **************

mscorlib

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5466 (Win7SP1GDR.050727-5400)

    코드베이스: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


taskhosting

    어셈블리 버전: 1.1.1.1

    Win32 버전: 1.1.1.1

    코드베이스: file:///C:/Windows/SysWOW64/taskhosting/taskhosting.exe


System.Windows.Forms

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5468 (Win7SP1GDR.050727-5400)

    코드베이스: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5467 (Win7SP1GDR.050727-5400)

    코드베이스: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5467 (Win7SP1GDR.050727-5400)

    코드베이스: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


Interop.WinHttp

    어셈블리 버전: 5.1.0.0

    Win32 버전: 5.1.0.0

    코드베이스: file:///C:/Windows/SysWOW64/taskhosting/Interop.WinHttp.DLL


System.Configuration

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5420 (Win7SP1.050727-5400)

    코드베이스: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


System.Xml

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5420 (Win7SP1.050727-5400)

    코드베이스: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


mscorlib.resources

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5466 (Win7SP1GDR.050727-5400)

    코드베이스: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


System.Windows.Forms.resources

    어셈블리 버전: 2.0.0.0

    Win32 버전: 2.0.50727.5420 (Win7SP1.050727-5400)

    코드베이스: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ko_b77a5c561934e089/System.Windows.Forms.resources.dll


************** JIT 디버깅 **************

JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의

config 파일(machine.config)의 jitDebugging 값을 

system.windows.forms 섹션에 설정해야 합니다.

또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야

합니다.

예:

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

JIT 디버깅을 사용하면 처리되지 않은 모든 예외는

이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT 

디버거에 보내집니다.

가정용 Windows | 이전 Windows 버전 | 접근성

잠긴 질문. 이 질문은 Microsoft 지원 커뮤니티에서 마이그레이션되었습니다. 질문이 도움이 되었는지 여부에 대해 응답할 수는 있지만, 메모나 회신을 추가하거나 질문을 따를 수는 없습니다.

댓글 0개 설명 없음

답변 1개

정렬 기준: 가장 유용함
  1. 익명
    2015-08-27T06:05:55+00:00

    안녕하세요 Sata030  님

    해당 문의 내용만으로는 정확한 문제 파악이 어려운 점 양해 바랍니다. 

    혹시 Microsoft Visual Studio 를 이용중이신가요? 

    만약 그러시다면 해당 문의사항은 저희 Microsoft Community 의 지원범위를 벗어나는 것으로 보입니다. 개발 프로그램과 관련된 문의로 보이며 다소 번거로우시더라도 MSDN 포럼을 참조하시길 바랍니다.

    • Microsoft MSDN 포럼

    http://social.msdn.microsoft.com/Forums/ko-kr/categories/

    추가적인 내용이 있다면 하단의 [응답] 버튼을 눌러 회신해주시기 바랍니다.

    감사합니다.

    ※ 응답이 문제 해결에 도움이 되었다면, 아래에 있는 답변으로 [표시] 버튼을 눌러 주시기 바랍니다. 이는 유사한 증상을 겪는 다른 사용자들에게 도움이 될 수 있습니다.

    이 대답이 도움이 되었나요?

    댓글 0개 설명 없음