Hi,
using the latest Firebird .NET Data Provider 2.5.0 Alpha 2 and FB Server 2.1, I
am not able to open a database-connection.
Once I try to open the DB-Connection I get the following exception:
"Your user name and password are not defined. Ask your database administrator
to set up a Firebird login."
Nevertheless I am able to open the Database by using IBExpert (with the same
login and password).
Here is a short sample code:
FbConnectionStringBuilder csb = new FbConnectionStringBuilder();
csb.DataSource = "localhost";
csb.Database = @"c:\mydb.fdb";
csb.UserID = "SYSDBA";
csb.Password = "masterkey";
int pageSize = 8192;
bool forcedWrites = true;
bool overwrite = false;
try
{
FbConnection.CreateDatabase(csb.ToString(), pageSize,
forcedWrites, overwrite);
}
catch { }
FbConnection fbConnection = new FbConnection(csb.ConnectionString);
fbConnection.Open(); // <- exception
As you can see I use the same Connection-String I used for creating the DB.
Can someone affirm this error?
Best regards,
Jörn
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider