CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Visual Studio 2005 and Firebird

Firebird is an open source database which is pretty popular. Own of the downsides of open source stuff is imho the fragmented support. Firebird is a good example of this. You can use it in Visual Studio 2005, but all documentation is mainly directed inward and deals with working on the Firebird for .net project and not on using a Firebird database in your app. Googling around mainly leads to this blogpost or (partial) copies of it's content. These contents might be OK for developing the FireBird support but are both in- and over-complete. As a first step it tells you to install the Visual Studio SDK. Don't do this!  It has several downsides. You can only find it under MSDN subscriber downloads, there is a risk you'll download the wrong version (there's still a Whidbey beta floating around there) and you'll arrive in a licensing fog. Not quite open source :)

This is what does work:

  • Download the ADO.NET 2.0 Firebirdclient Make sure you have a very recent copy, an essential update was published quite recently.
  • Install it
  • Register the FireBird provider in machine.config, the instructions are in the ReadmeDDEX file, found in the Firebirdclient directory.
  • Edit the FirebirdDDEXProviderPackageLess registry file, found in the Firebirdclient directory.
  • Register the FirebirdDDEXProviderPackageLess registry file.
  • Check that all setting in the FirebirdDDEXProvider registry file are deleted from the registry. Else VS will slap you with error messages.

Now you will see Firebird in the list of dataproviders of Visual Studio.

Many thanks to Firebird afficionado Leon, who was stubborn enough to try every variation and got things working.


Published Jul 27 2006, 07:07 AM by pvanooijen
Filed under:

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com
# July 27, 2006 8:14 PM

Peter's Gekko said:

The connection string to a database should never be hard coded in your application. There is (almost)...
# August 11, 2006 7:50 AM

Peter's Gekko said:

The connection string to a database should never be hard coded in your application. There is (almost)

# September 7, 2006 2:04 PM

Peter's Gekko said:

Just like last time getting the Firebird database working on my new machine was a long way of trial and

# November 17, 2006 3:54 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!