Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Firebird - Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.

Firebird에 낯설다 보니, 오류가 발생했을 때 원인이 무엇인지 짐작이 잘 안되더군요. ^^;

예를 들어 아래와 같은 예외가 발생했는데,

Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: FirebirdSql.Data.Common.IscException: Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.

Source Error: 


Line 32: 
Line 33:         if (MyBiz.HasItem(myItem) == true)
Line 34:         {
Line 35:             return View();
 

Source File: c:\...[생략]...\HomeController.cs    Line: 33 

Stack Trace: 


[IscException: Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.]
   FirebirdSql.Data.Client.Managed.Version10.GdsConnection.Identify(String database) +691
   FirebirdSql.Data.FirebirdClient.ClientFactory.CreateManagedDatabase(FbConnectionString options) +247
   FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase(FbConnectionString options) +84
   FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() +70

[FbException (0x14000065): connection rejected by remote interface]
   FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() +572
   FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() +46
   FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() +155
   FirebirdSql.Data.FirebirdClient.FbConnection.Open() +844
...[생략]...
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163

너무나 생소한 IscException을 보고 당황할 수밖에 없었는데요. 알고 보니, 제가 Firebird의 서비스 포트를 변경했는데, ADO.NET 연결 문자열에 이를 반영하지 못해서 발생한 것이었습니다. 즉... 위와 같은 콜 스택의 오류가 발생했다면 연결 문자열이 올바른지 확인해 보면 될 듯 싶군요. ^^



[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 6/27/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  39  40  41  42  43  44  [45]  ...
NoWriterDateCnt.TitleFile(s)
12812정성태8/28/202116611.NET Framework: 1108. C# 10 - (10) 개선된 #line 지시자
12811정성태8/27/202116484Linux: 44. 윈도우 개발자를 위한 리눅스 fork 동작 방식 설명 (파이썬 코드)
12810정성태8/27/202115501.NET Framework: 1107. .NET Core/5+에서 동적 컴파일한 C# 코드를 (Breakpoint도 활용하며) 디버깅하는 방법 - #line 지시자파일 다운로드1
12809정성태8/26/202115465.NET Framework: 1106. .NET Core/5+에서 C# 코드를 동적으로 컴파일/사용하는 방법 [1]파일 다운로드1
12808정성태8/25/202117118오류 유형: 758. go: ...: missing go.sum entry; to add it: go mod download ...
12807정성태8/25/202117880.NET Framework: 1105. C# 10 - (9) 비동기 메서드가 사용할 AsyncMethodBuilder 선택 가능파일 다운로드1
12806정성태8/24/202114432개발 환경 구성: 601. PyCharm - 다중 프로세스 디버깅 방법
12805정성태8/24/202116136.NET Framework: 1104. C# 10 - (8) 분해 구문에서 기존 변수의 재사용 가능파일 다운로드1
12804정성태8/24/202116306.NET Framework: 1103. C# 10 - (7) Source Generator V2 APIs
12803정성태8/23/202116810개발 환경 구성: 600. pip cache 디렉터리 옮기는 방법
12802정성태8/23/202117234.NET Framework: 1102. .NET Conf Mini 21.08 - WinUI 3 따라해 보기 [1]
12801정성태8/23/202116825.NET Framework: 1101. C# 10 - (6) record class 타입의 ToString 메서드를 sealed 처리 허용파일 다운로드1
12800정성태8/22/202117200개발 환경 구성: 599. PyCharm - (반대로) 원격 프로세스가 PyCharm에 디버그 연결하는 방법
12799정성태8/22/202117500.NET Framework: 1100. C# 10 - (5) 속성 패턴의 개선파일 다운로드1
12798정성태8/21/202118835개발 환경 구성: 598. PyCharm - 원격 프로세스를 디버그하는 방법
12797정성태8/21/202116201Windows: 197. TCP의 MSS(Maximum Segment Size) 크기는 고정된 것일까요?
12796정성태8/21/202117203.NET Framework: 1099. C# 10 - (4) 상수 문자열에 포맷 식 사용 가능파일 다운로드1
12795정성태8/20/202117541.NET Framework: 1098. .NET 6에 포함된 신규 BCL API - 스레드 관련
12794정성태8/20/202116896스크립트: 23. 파이썬 - WSGI를 만족하는 최소한의 구현 코드 및 PyCharm에서의 디버깅 방법 [1]
12793정성태8/20/202117689.NET Framework: 1097. C# 10 - (3) 개선된 변수 초기화 판정파일 다운로드1
12792정성태8/19/202118817.NET Framework: 1096. C# 10 - (2) 전역 네임스페이스 선언파일 다운로드1
12791정성태8/19/202115626.NET Framework: 1095. C# COM 개체를 C++에서 사용하는 예제 [3]파일 다운로드1
12790정성태8/18/202119556.NET Framework: 1094. C# 10 - (1) 구조체를 생성하는 record struct파일 다운로드1
12789정성태8/18/202118226개발 환경 구성: 597. PyCharm - 윈도우 환경에서 WSL을 이용해 파이썬 앱 개발/디버깅하는 방법
12788정성태8/17/202115765.NET Framework: 1093. C# - 인터페이스의 메서드가 다형성을 제공할까요? (virtual일까요?)파일 다운로드1
12787정성태8/17/202116155.NET Framework: 1092. (책 내용 수정) "4.5.1.4 인터페이스"의 "인터페이스와 다형성"
... 31  32  33  34  35  36  37  38  39  40  41  42  43  44  [45]  ...