Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 516035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:41:25+00:00 2026-05-13T07:41:25+00:00

I have no problems setting up a regular (Windows Forms or Console) project in

  • 0

I have no problems setting up a regular (Windows Forms or Console) project in C# to use Firebird’s .NET data provider.

However, whenever I try to use the same provider in ASP.NET I do the following:

  1. Copy the DLL to the project to keep it under version control
  2. Add the reference to the project
  3. Create an entry in <connectionStrings/> tag for my connection.
  4. Try to use the entry to connect to Firebird

Here is the entry example:

<connectionStrings>
    <add 
       name="cstringdbname"
       connectionString="User=SYSDBA;Password=MY_PASS;Database=/opt/interbase/data/mydbname;Server=MyHostName; Connection lifetime=15;Pooling=true" 
       providerName="Firebird"/>
</connectionStrings>

I tried with different stuff in providerName attribute. Nothing seems to work.

My problem is in step #4. Whenever I try connecting to the Database with a SqlDataSource component, the connection attempts to use SQLServer data provider instead of Firebird’s, and I get an error.

My question: is there anything else I need to do in order to make ASP.NET to load, use, acknwoledges the existance of my Firebird provider?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:41:26+00:00Added an answer on May 13, 2026 at 7:41 am

    This is what I did to get it to work:

    • Changed the web config adding these entries:

    First, a new DBProviderFactory under configuration tag:

    <system.data>
        <DbProviderFactories>
          <remove invariant="FirebirdSql.Data.FirebirdClient"/>
          <add 
              name="Firebird Data Provider"
              invariant="FirebirdSql.Data.FirebirdClient" description="Firebird"
              type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient"
          />
        </DbProviderFactories>
    </system.data>
    

    Second, my connection string entry looks like this:

    <connectionStrings>
    <add 
       name="rshkdb"
       connectionString="User=u;Password=p;Database=/mydb;Server=X.X.X.X; Connection lifetime=15;Pooling=true"
    />
    </connectionStrings>
    
    • Added the Firebird’s client DLL to the project’s references using Copy Local option to true. This is very important, otherwise, ASP.NET won’t find the library at runtime (only at compile time).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problems setting the focus on an input element that has been created
Hallo. I have problems by setting the Eclipse envirorment, can anybody provide me a
i have problems with a really basic thing. setting properties after instantiation a UIViewController-
I have problem with setting proper charset on my jsf pages. I use MySql
i have problem to correctly bind data to WPF Chart. When i'm setting ItemsSource
I'm dealing with a LAMP web server. I have forms that users use to
I have an installation program (just a regular C++ MFC program, not Windows Installer
I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in
I have problems setting up my local development environment on a mac. What i
I have been using actionbarsherlock and I have been having problems with setting the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.