I found this old thread, maybe of help :
http://www.mail-archive.com/[email protected]/msg00411.html

If I were to make guesses, I would try these things :

1.  leave Charset=NONE; out of your connection string - this looks
suspicious to me for some reason
2.  leave Role= out of the string
3.  leave them both out

if that doesn't work, i would try to construct the most "bare-bones"
connection string that I could - leave out all the options you don't
need until you can actually connect... but I would start with the two
things above which look suspicious.

On 11/6/06, Muzza <[EMAIL PROTECTED]> wrote:




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!




--

---------------------------------------
Donald Dwoske
Software Journeyman
http://www.loraxis.com/ddwoske

Reply via email to