简体   繁体   中英

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.

FirebirdClient is for Firebird and tested only with Firebird

So using for Interbase may be dangerous

For Interbase, you can use this drivers

试试这个作为连接字符串

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM