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 <[EMAIL PROTECTED]>

To: [email protected]

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

Subject: FW: Embedded FIrebird Issue



Anyone? *beg* 


         

  From: Muzza [mailto:[EMAIL PROTECTED] 

 Sent: Friday, 3 November 2006 11:16 PM

 To: '[email protected]'

 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
 28

     

   The connection string being used is

     

   
User=SYSDBA;Password=masterkey;Database=RECOM.FDB;DataSource=localhost;Port=3050;Dialect=3;Charset=NONE;Role=;Connectionlifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;PacketSize=8192;ServerType=1

     

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

     

   Thanks!

     

   

  







Reply via email to