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

Ask A Question

Stats

  • Questions 306k
  • Answers 306k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I dont think this is spam.. this is a common… May 13, 2026 at 9:14 pm
  • Editorial Team
    Editorial Team added an answer NSDate * now = [NSDate date]; NSDateFormatter *outputFormatter = [[NSDateFormatter… May 13, 2026 at 9:14 pm
  • Editorial Team
    Editorial Team added an answer There's really two options you have: Generate something & Verify… May 13, 2026 at 9:14 pm

Related Questions

My phone, running Windows Mobile 6, has suddenly decided to drop an hour every
I am using ASP.NET 3.5 and i am busy setting up a test site
I have a bunch of SQL servers which I periodically performs maintainance on (Windows
I am setting up an IIS server to do some ASP programming, just as
I have recently been setting up SVN in Eclipse using the Subversive plugin (I

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.