c11ada
c11ada

Reputation: 4334

ASP.net c# help with using firebird to connect to interbsae

iv just downloaded the latest version of Firebird ADO.NET Data Provider and im trying to create a connection to my interbase database (2009), which is on a server. i have the following code so far

String ConnectionString = "User=SYSDBA;Password=masterkey;Database=\\\\Server50:D:\\database\\Data\\play.ib;Dialect=3; Charset=NONE;Connection lifetime=15;";
FbConnection addDetailsConnection = new FbConnection(ConnectionString);
addDetailsConnection.Open();

the issue is when I try this i get the following error

Exception Details: FirebirdSql.Data.Common.IscException: Unable to complete network request to host "\\Server50".

please can someone help me with this.

Upvotes: 0

Views: 1165

Answers (2)

Hugues Van Landeghem
Hugues Van Landeghem

Reputation: 6808

FirebirdClient is for Firebird and tested only with Firebird

So using for Interbase may be dangerous

For Interbase, you can use this drivers

Upvotes: 1

beater
beater

Reputation: 575

try this for a connection string

"User=SYSDBA;Password=masterkey;Data Source=Server50;Database=D:\\database\\Data\\play.ib;Dialect=3; Charset=NONE;Connection lifetime=15"

Upvotes: 0

Related Questions