System.Security.Cryptography.CryptographicException: 지정된 네트...

System.Security.Cryptography.CryptographicException: 지정된 네트...

작성일 2023.08.21댓글 1건
    게시물 수정 , 삭제는 로그인 필요

아래와 같은 문제가 발생 하였을 경우 해결 방법을 제시해주세요. 


Microsoft .NET Framework
응용 프로그램에서 처리되지 않은 예외가 발생했습니다. [계속]을 클릭하면 응용 프로그램에서 이 오류를 무시하고 계속합니다. [끝내기]를 클릭하면 응용 프로그램이 즉시 닫힙니다.

지정된 네트워크 암호가 맞지 않습니다.






이 대화 상자 대신 JIT(Just-in-time) 디버깅을 호출하는
방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오.

************** 예외 텍스트 **************
System.Security.Cryptography.CryptographicException: 지정된 네트워크 암호가 맞지 않습니다.

   위치: System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
   위치: System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)
   위치: System.Security.Cryptography.X509Certificates.X509Utils.LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle pCertCtx)
   위치: System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromFile(String fileName, Object password, X509KeyStorageFlags keyStorageFlags)
   위치: System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password)
   위치: iCertPrintClient.Form1.RegisterCertificateRoot()
   위치: iCertPrintClient.Form1.Form1_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.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)


************** 로드된 어셈블리 **************
mscorlib
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.4261.0 built by: NET48REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
iCertPrintClient
    어셈블리 버전: 1.3.0.0
    Win32 버전: 1.3.0.0
    코드베이스: file:///C:/Program%20Files%20(x86)/iCertPrintClient/iCertPrintClient.exe
----------------------------------------
System.Windows.Forms
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.4261.0 built by: NET48REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.4210.0 built by: NET48REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.3761.0 built by: NET48REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.4190.0 built by: NET48REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.4240.0 built by: NET48REL1LAST_B
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.3761.0 built by: NET48REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PdfiumViewer
    어셈블리 버전: 2.13.0.0
    Win32 버전: 2.13.0.0
    코드베이스: file:///C:/Program%20Files%20(x86)/iCertPrintClient/PdfiumViewer.DLL
----------------------------------------
System.Windows.Forms.resources
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.3761.0 built by: NET48REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    어셈블리 버전: 4.0.0.0
    Win32 버전: 4.8.3761.0 built by: NET48REL1
    코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** JIT 디버깅 **************
JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의
config 파일(machine.config)의 jitDebugging 값을 
system.windows.forms 섹션에 설정해야 합니다.
또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야
합니다.

예:

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

JIT 디버깅을 사용하면 처리되지 않은 모든 예외는
이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT 
디버거에 보내집니다.




profile_image 익명 작성일 -

안녕하세요,

이걸로 문제가 해결됐으면 합니다, 한번 따라해보세요.

오류인 **"지정된 네트워크 암호가 맞지 않습니다."**는 종종 보안과 관련된 문제로 발생하는 것으로 보입니다. 이러한 문제를 해결하기 위해서는 몇 가지 단계를 따라야 합니다. 아래에는 문제를 상세히 해결하는 방법을 단계별로 안내해드리겠습니다.

단계 1: 네트워크 암호 관련 문제 해결

제어판을 열어주세요. 이는 주로 시작 메뉴에서 찾을 수 있습니다.

사용자 계정을 선택합니다.

자격 증명 관리자를 클릭합니다.

Windows 자격 증명 아래에 있는 관련 자격 증명을 확인합니다.

만약 이 자격 증명에 문제가 있다면, 수정하거나 제거해야 합니다.

단계 2: JIT 디버깅 설정 확인

시작 메뉴에서 "실행"을 선택하거나 Win + R 키를 눌러 실행 대화상자를 엽니다.

'regedit' 다음 명령어를 입력하고 Enter를 눌러 레지스트리 편집기를 엽니다:

왼쪽의 폴더 구조에서 다음 경로로 이동합니다: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting

오른쪽 클릭하여 새로 만들기 > DWORD(32bit) 값을 선택합니다.

새 값의 이름을 Disabled로 설정하고, 값 데이터를 1로 설정합니다.

컴퓨터를 재부팅합니다.

이렇게 진행하면 오류가 해결되길 바랍니다. 만약 문제가 지속된다면, 해당 프로그램의 지원팀에 문의하거나 컴퓨터 전문가에게 도움을 청하는 것도 고려해보세요.

변경 사항을 적용하기 전에 중요한 데이터를 반드시 백업하여 데이터 손실을 방지하는 것을 잊지 마세요. 문제 해결에 성공하시길 바랍니다!

블로그에 여러가지 컴퓨터 수리방법 있으니 한번씩 필요할때 오셔서 확인 해보세요, 감사합니다.

https://shinil-ind.tistory.com/category/%EC%BB%B4%ED%93%A8%ED%84%B0%20%ED%99%9C%EC%9A%A9/%EA%B0%84%EB%8B%A8%ED%95%9C%20%EC%9E%90%EA%B0%80%20AS