From:
<car...@te...> - 2003-11-10 12:30:22
|
Hello: > I've also noticed that if the CHARSET is actually NONE, then I need to > omit > this in the connection string because CHARSET=NONE throws an exception... I have tested this in my local tree and it's working fine: string connectionString = @"Database=test.fdb;" + "User=SYSDBA;" + "Password=masterkey;" + "Server=localhost;" + "Port=3050;" + "Dialect=3;" + "Charset=NONE;" + "pooling=false;" + "Role=;"; FbConnection connection = new FbConnection(connectionString); connection.Open(); connection.Close(); > I can now see that setting the port number to something other than > 3050 also > thtorws an exception, I can connection with > User=SYSDBA;Password=masterkey;Database=c:\ib-data\employee.gdb;DataSource=s > hortblack;Port=3050;Dialect=1;Role=;Connection > lifetime=30;Pooling=true;Packet Size=8192; > > but not with > User=SYSDBA;Password=masterkey;Database=c:\ib-data\employee.gdb;DataSource=s > hortblack;Port=3051;Dialect=1;Role=;Connection > lifetime=30;Pooling=true;Packet Size=8192; And you have the server listening on port 3051 ?? -- Best regards Carlos Guzmán Álvarez Vigo-Spain |