tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Deploying the ASP.NET application which is using Firebird .NET Data Provider (with design-time support)

22 Apr 2006 1 mins .NET, Firebird

A few days ago I was trying to deploy my web app, which is using Firebird .NET Data Provider with design time stuff too. There was some problem with this, so I’ve created small how-to.

If you just use FirebirdClient “in code”, you can just place the dll into the Bin directory of your web app. But if you use the design time support, you have to do some additional steps.

First check, whether you have FirebirdSql.Data.FirebirdClient.dll in your Bin directory and if you have setted the reference to it. 😃

Next open your web.config and add the record of . It’s similar to adding design time support into VS. The record should be like this:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
  <system.data>
    <DbProviderFactories>
      <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c" />
    </DbProviderFactories>
  </system.data>
</configuration>

After adding this, your app should be able to use not only “code time” Firebird, but also the “code” from design time (i.e. configured SqlDataSource).

If you have any perception to this topic, let me know!

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at www.tabsoverspaces.com.