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

비밀번호

댓글 작성자
 




... 166  167  168  [169]  170  171  172  173  174  175  176  177  178  179  180  ...
NoWriterDateCnt.TitleFile(s)
796정성태11/2/200928310오류 유형: 89. Windows 7 백업 오류 - 0x80070057
795정성태11/2/200925670오류 유형: 88. TFS 2010 (beat2) 설치 오류 -TF255272
793정성태10/19/200927654.NET Framework: 166. WPF - XAML 요소의 네임스페이스와 CLR 타입 매핑
792정성태10/17/200927899웹: 13. IIS 7.5 에서 SQL Express 연결 시 오류
791정성태10/17/200931683웹: 12. 요청 페이지에 대해 빈 화면만 보이는 경우 [1]
789정성태10/13/200927386COM 개체 관련: 22. BB FlashBack SDK와 ActiveX 버전 관리 [7]
786정성태10/9/200923629개발 환경 구성: 52. 테스트를 위한 평가판 운영체제 구하기
785정성태10/8/200930247.NET Framework: 165. WPF - UI 업데이트를 바로 반영하고 싶다면? (2)파일 다운로드1
783정성태10/7/200928006.NET Framework: 164. WPF - 데이터 바인딩된 트리에서 부모 노드 찾는 방법 [1]파일 다운로드1
782정성태10/6/200929876개발 환경 구성: 51. Windows 7 - 다중 원격 접속(Remote Desktop) 허용
781정성태9/30/200926885.NET Framework: 163. WPF - TreeView 자동 스크롤 기능 해지 [2]파일 다운로드1
780정성태9/28/200930982Windows: 48. Windows 7/2008에서 ping을 위한 echo 요청 열기 [2]
779정성태9/24/200922320.NET Framework: 162. WPF - 중첩된 ScrollViewer의 크기 제어 - 두 번째 이야기파일 다운로드1
778정성태9/23/200923770오류 유형: 87. 시스템 시간 변경 후 Session이 맺어진 WCF 클라이언트의 예외 발생파일 다운로드1
776정성태9/17/200923003개발 환경 구성: 50. Reference assembly
775정성태9/13/200939723VC++: 37. XmlCodeGenerator를 C/C++ 코드 생성에 적용 [2]파일 다운로드1
773정성태9/5/200930238오류 유형 : 85. DEP 비호환 ActiveX 오류
772정성태9/2/200926825.NET Framework: 161. WPF - 윈도우 이벤트 가로채기 [1]파일 다운로드1
771정성태8/28/200920863.NET Framework: 160. WPF - 입력 포커스 외곽선 없애는 방법
770정성태8/26/200923162.NET Framework: 159. WCF - 같은 컴퓨터에서만 WCF 요청을 서비스하도록 설정
769정성태8/25/200926204개발 환경 구성: 49. GAC와 같은 Namespace Extension에 의해서 보여지는 폴더의 원본 확인 방법
768정성태8/24/200925663오류 유형: 85. WCF 연결 오류: MessageSecurityException
767정성태8/23/200933917.NET Framework: 158. 닷넷 프로파일러 - IL 코드 재작성 [14]
766정성태8/23/200934793.NET Framework: 157. C# 4.0 - dynamic 키워드 [4]파일 다운로드1
765정성태8/22/200928558.NET Framework: 156. XamDataGrid의 UnboundField 사용파일 다운로드1
764정성태8/21/200922888Windows: 47. Windows Virtual PC에 설치된 Windows 7 VPC에서 Aero 효과 사용 [3]
... 166  167  168  [169]  170  171  172  173  174  175  176  177  178  179  180  ...