윈도우 업데이트 이후 로그인 문제
페이지 정보
작성자![no_profile](https://muryostock.com/img/no_profile.gif)
본문
금요일까지 텔레그렘에 문자 안오는거 빼고는 동작을 잘했는데, 오늘 윈도우 업데이트 하고 나서 로그인이 안되서 open API 다시 깔고 했는데요.
DB 접속 에러 외부구성요소에서 예외를 Throw했습니다. 라는 긴 경고문구가 뜨고 확인을 누르면
응용프로그램에서 처리되지 않은 예외가 발생했습니다.
이 대화 상자 대신 JIT(Just-in-time) 디버깅을 호출하는
방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오.
************** 예외 텍스트 **************
System.InvalidOperationException: ExecuteNonQuery을(를) 사용하려면 Connection이 열려 있고 사용 가능해야 합니다. 현재 연결은 닫힌 상태입니다.
위치: System.Data.OleDb.OleDbConnection.CheckStateOpen(String method)
위치: System.Data.OleDb.OleDbCommand.ValidateConnection(String method)
위치: System.Data.OleDb.OleDbCommand.ValidateConnectionAndTransaction(String method)
위치: System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
위치: System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
위치: Kiwoom_auto.Database.db_update3_0424()
위치: Kiwoom_auto.Form1.Form1_Load(Object sender, EventArgs e)
위치: System.Windows.Forms.Form.OnLoad(EventArgs e)
위치: System.Windows.Forms.Form.SetVisibleCore(Boolean value)
위치: System.Windows.Forms.Control.Show()
위치: Kiwoom_auto.Form4.login_check()
위치: Kiwoom_auto.Form4.Form4_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.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Kiwoom_auto
어셈블리 버전: 1.0.0.0
Win32 버전: 1.0.0.0
코드베이스: file:///C:/Users/ny/Desktop/Downloads/autostock/Kiwoom_auto.exe
----------------------------------------
System
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: 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.6.81.0 built by: NETFXREL2
코드베이스: 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.6.81.0 built by: NETFXREL2
코드베이스: 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.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AxInterop.KHOpenAPILib
어셈블리 버전: 1.2.0.0
Win32 버전: 1.2.0.0
코드베이스: file:///C:/Users/ny/Desktop/Downloads/autostock/AxInterop.KHOpenAPILib.DLL
----------------------------------------
Telegram.Bot
어셈블리 버전: 15.3.0.0
Win32 버전: 15.3.0.0
코드베이스: file:///C:/Users/ny/Desktop/Downloads/autostock/Telegram.Bot.DLL
----------------------------------------
System.Net.Http
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
System.Windows.Forms.resources
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: 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.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Interop.KHOpenAPILib
어셈블리 버전: 1.2.0.0
Win32 버전: 1.2.0.0
코드베이스: file:///C:/Users/ny/Desktop/Downloads/autostock/Interop.KHOpenAPILib.DLL
----------------------------------------
Accessibility
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Newtonsoft.Json
어셈블리 버전: 11.0.0.0
Win32 버전: 11.0.2.21924
코드베이스: file:///C:/Users/ny/Desktop/Downloads/autostock/Newtonsoft.Json.DLL
----------------------------------------
System.Runtime.Serialization
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Numerics
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.Data.resources
어셈블리 버전: 4.0.0.0
Win32 버전: 4.6.81.0 built by: NETFXREL2
코드베이스: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.Data.resources.dll
----------------------------------------
************** JIT 디버깅 **************
JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의
config 파일(machine.config)의 jitDebugging 값을
system.windows.forms 섹션에 설정해야 합니다.
또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야
합니다.
예:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
JIT 디버깅을 사용하면 처리되지 않은 모든 예외는
이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT
디버거에 보내집니다.
라고 뜨면서 텔레그램에 프로그램 재실행 이라는 문자가 옵니다.
어떻게 해결해야 할까요?
댓글목록
팡규천안님의 댓글
![no_profile](https://muryostock.com/img/no_profile.gif)
키움에서 KOASTUDIO를 다운받아서 실행하시고 로그인 해보세요
정상적으로 로그인 되지 않는 다면 OPENAPI를 다시 설치하셔야 합니다.
레드썬서울님의 댓글의 댓글
![no_profile](https://muryostock.com/img/no_profile.gif)
KOA에서 로그인은 정상적으로 되는데요.
OPEN API, 유튜브에 나온 2개 파일까지 다 다시 깔았는데도 저 메세지가 계속 뜨네요.
윈도우 업데이트밖에 한게 없는데 뭐가 문제인지 모르겠네요...ㅠ.ㅠ
어느 분이 해결하셨던데 해결방법은 안쓰셔서 답글 달긴했는데요....
담담충남님의 댓글
![no_profile](https://muryostock.com/img/no_profile.gif)
문제가 해결되셨길 바랍니다.