ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: Embedded FIrebird Issue
Date Tue, 07 Nov 2006 00:34:07 GMT
Can you zip up a very small sample project and email it to me?

Perhaps you could recompile the driver with a modified Validate method that gives more descriptive
error messages. Their current implementation (v2.0.1) does a lot of checks at the same time:

// FbConnectionString.cs
if ((this.UserID == null || this.UserID.Length == 0) || (this.Password == null || this.Password.Length
== 0) || 

----- Original Message ----

From: Muzza <muzza@thompsononline.info>

To: user-cs@ibatis.apache.org

Sent: Monday, November 6, 2006 8:58:55 AM

Subject: FW: Embedded FIrebird Issue

Anyone? *beg* 


  From: Muzza [mailto:muzza@thompsononline.info] 

 Sent: Friday, 3 November 2006 11:16 PM

 To: 'user-cs@ibatis.apache.org'

 Subject: Embedded FIrebird Issue



   Hi All,


   I am getting this error on trying to open the datamapper


   Unhandled Exception: System.ArgumentException: An invalid connection string argument has
been supplied or a required connection string argument has not been supplied.

      at FirebirdSql.Data.Firebird.FbConnectionString.Validate()

      at FirebirdSql.Data.Firebird.FbConnection.set_ConnectionString(String value)

      at FirebirdSql.Data.Firebird.FbConnection..ctor(String connectionString)

      at FirebirdSql.Data.Firebird.FbConnection.System.ICloneable.Clone()

      at IBatisNet.Common.DbProvider.CreateConnection()

      at IBatisNet.DataMapper.SqlMapSession.OpenConnection(String connectionString)


      at IBatisNet.DataMapper.SqlMapper.OpenConnection(String connectionString)

      at iBatisFireBirdTest.Program.Main(String[] args) in E:\Development\oNebit\Clients\iBatisFireBirdTest\iBatisFireBirdTest\Program.cs:line


   The connection string being used is




   This tests fine using FirebirdSql directly. Can anyone point me in the right direction
to solve this issue?






View raw message