firebird-.net-provider

Why visual studio doesn't show data source of Firebird

天大地大妈咪最大 提交于 2021-02-05 11:15:13
问题 I have installed Firebird server 3.0 and Firebird ADO.net provider Client 7.1.1.0. I am trying to connect a database of this server via Visual Studio 2015 using entity framework. I have installed DDEX. Now, I can connect a database via server explorer but when I try to add a data model, the data source for Firebird is not in the options. I tried to follow this_link but I was still not successful. This is the image from server explorer where Firebird data source is present and connection is

FirebirdSql Error occurred during login, please check server firebird.log for details

痴心易碎 提交于 2021-01-29 18:34:52
问题 I am trying to connect and read data from Firebird database using the FirebirdSQL .net provider (using FirebirdSql.Data.FirebirdClient). Here is the code: FbConnection viewdataConnection=new FbConnection(); viewdataConnection.ConnectionString = "database=localhost:c:\\firebirdTest\\testDB.fdb;user=sysdba;password=firebird"; viewdataConnection.Open(); While trying to Open() the connection, i get an error: An unhandled exception of type 'FirebirdSql.Data.FirebirdClient.FbException' occurred in

How to close a connection with a firebird database

*爱你&永不变心* 提交于 2020-12-26 20:05:36
问题 I'm developing a project using asp.net c# webforms framework 4.5, and I did a connection test on Firebird database, but when I close this connection it isn't closing, I used the following code to do it: string conDDNS; FbConnection conexaoDDNS; protected void Abrir_Fechar_Click(object sender, EventArgs e) { try { this.conDDNS = "DRIVER=InterBase/Firebird(r) driver;User=SYSDBA;Password=masterkey;Database=localhost:C:/AdCom/ADCOM.FDB"; this.conexaoDDNS = new FbConnection(conDDNS); this

How to close a connection with a firebird database

柔情痞子 提交于 2020-12-26 19:59:49
问题 I'm developing a project using asp.net c# webforms framework 4.5, and I did a connection test on Firebird database, but when I close this connection it isn't closing, I used the following code to do it: string conDDNS; FbConnection conexaoDDNS; protected void Abrir_Fechar_Click(object sender, EventArgs e) { try { this.conDDNS = "DRIVER=InterBase/Firebird(r) driver;User=SYSDBA;Password=masterkey;Database=localhost:C:/AdCom/ADCOM.FDB"; this.conexaoDDNS = new FbConnection(conDDNS); this

How to use events on an Embedded Firebird database connection?

被刻印的时光 ゝ 提交于 2019-12-10 18:04:41
问题 If I connect to an embedded Firebird database, and create a remote event, I get System.NotSupportedException: Specified method is not supported.. on the constructor. _fbRemoteEvent = new FbRemoteEvent(_fbConnection); //_fbConnection is valid and Opened Looking at source code from call stack, it leads to FesDatabase.cs with RemoteEvent IDatabase.CreateEvent() { throw new NotSupportedException(); } I use the embedded version for automated tests purpose ... Is there something I can do to get

Firebird .NET provider and embedded server 3

梦想与她 提交于 2019-12-10 13:21:26
问题 I'm trying to use .NET Firebird Provider to connect to the embedded FB 3.0.1 server. As far as I know, (also written here (page 6)), there is no more fbclient.dll\fbembed.dll but a single client fbclient.dll used for remote and embedded access. But when I call the FBConnection.Open() I get a System.DllNotFoundException: Unable to load DLL 'fbembed': Impossible to find the specified module (Exception from HRESULT: 0x8007007E). Any ideas? 回答1: Looking in the Provider code the default Client

How to execute transactions (or multiple sql queries) in firebird using c#

与世无争的帅哥 提交于 2019-12-06 05:12:00
问题 I have tried several ways, including on SO. The following MYSQL code does not work in Firebird: CREATE TABLE publications ( INT NOT NULL AUTO_INCREMENT , PRIMARY KEY (`id`), filename varchar(500) not null unique, title varchar(500) DEFAULT NULL, authors varchar(1000) DEFAULT NULL, uploader int DEFAULT NULL, keywords varchar(500) DEFAULT NULL, rawtext text, lastmodified timestamp default CURRENT_TIMESTAMP ); So to achieve this in Firebird, I am using: CREATE TABLE publications ( id int NOT

How to execute transactions (or multiple sql queries) in firebird using c#

徘徊边缘 提交于 2019-12-04 11:31:05
I have tried several ways, including on SO. The following MYSQL code does not work in Firebird: CREATE TABLE publications ( INT NOT NULL AUTO_INCREMENT , PRIMARY KEY (`id`), filename varchar(500) not null unique, title varchar(500) DEFAULT NULL, authors varchar(1000) DEFAULT NULL, uploader int DEFAULT NULL, keywords varchar(500) DEFAULT NULL, rawtext text, lastmodified timestamp default CURRENT_TIMESTAMP ); So to achieve this in Firebird, I am using: CREATE TABLE publications ( id int NOT NULL PRIMARY KEY, filename varchar(500) NOT NULL UNIQUE, title varchar(500) DEFAULT NULL, authors varchar

How to connect and use Firebird db embedded server with Visual C# 2010

為{幸葍}努か 提交于 2019-11-26 22:46:35
问题 I was trying to use Firebird embedded server with Microsoft Visual C# 2010. so here is what I done till now: Downloaded Firebird .Net Data Provider (Firebird Client v2.5.2). Downloaded Firebird Embedded server (Firebird Embedded Server v2.5.0). Added a reference to FirebirdSql.Data.FirebirdClient.dll to my project. Extracted and Copied fbembed.dll file to my application's directory. Added my FDB file "TEST.FDB" to my application's directory. Added " using FirebirdSql.Data.FirebirdClient; "

Incompatible wire encryption levels requested on client and server with Firebird ado.net provider

别来无恙 提交于 2019-11-26 09:56:10
问题 I am testing the connection firebird 3 using C #. The version of what I\'m used is the latest : Firebird ADO.NET Provider 5.0. But when you make the connection , the error occurs \"Incompatible wire encryption levels requested on client and server\".\" At \"Does Firebird ADO.NET 4.10.0.0 Data provider work with Firebird 3.0?\", there are some suggestions for enabling authentication in legacy model or create legacy user. But my question is if really does not support to new SRP authentication