Just-in-time debugging 때문에 발생한 문제로 보입니다.
Just-in-time debugging을 해제하여 보시기 바랍니다.
해제방법
레지스트리 편집기에서 다음 항목을 찾아 이름을 변경하거나 해당 라인을 삭제해 주시면 됩니다.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger
그후에 cmd 창에서 vsjitdebugger.exe /regerver
만약 해결이 되지 않거나 해당 에러에 대해서 좀더 알아 보실려면 네이버나, 구글에서 just-in-time 디버깅 라고 검색 해보시면 됩니다.
-------------------- Original message --------------------
해당 오류의 Detalis 전문입니다.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Installer.DBInstaller.strvalue(RegistryKey rvalue, String svalue)
at Installer.DBInstaller.SqlDataRoot(String strWow64path)
at Installer.DBInstaller.CheckDbCon()
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8669 (QFE.050727-8600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
DbInstaller
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///D:/Program%20Files/Nmail5/DbInstaller.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8759 (QFE.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8019 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8751 (QFE.050727-8700)
CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
-------------------- Original message --------------------
안녕하세요.
알려주신 오류로 문의가 들어온 적이 없어 화면만으로는 정확한 원인을 확인할 수가 없습니다.
이벤트 뷰어, Detalis 등에 어떤 오류가 남아있는지 알려주시면 확인 후 다시 답변 드리겠습니다.
-------------------- Original message --------------------
※ 필수입력정보 ※
▷ 제품버젼 : Nmail5
▷ 오류발생 메뉴/주소 :
▷ 에러메세지 :
https://ifh.cc/g/YtReB.png
▷ 질문내용 :
DbInstaller.exe를 실행해서 서버 이름과 아이디, 비밀번호 다 입력하고 연결확인을 누르니
Unhandled exception has occurred in your application. 라는 에러가 발생했습니다.
SQL Server 2014를 사용 중 입니다.