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 연결 문자열에 이를 반영하지 못해서 발생한 것이었습니다. 즉... 위와 같은 콜 스택의 오류가 발생했다면 연결 문자열이 올바른지 확인해 보면 될 듯 싶군요. ^^
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]