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

  • Home
  • SEARCH
  • 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 7738689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:19:57+00:00 2026-06-01T08:19:57+00:00

Here’s the problem. I’ve got two different technologies needing drivers to access a PostgreSQL

  • 0

Here’s the problem. I’ve got two different technologies needing drivers to access a PostgreSQL database.

  1. Telerik Open Access ORM (2011.2.x)
  2. Elmah (latest as of writing this question)

Both use the Npgsql driver , however, both AFAIK use two different versions of the driver.

  • Elmah: Npgsql 2.0.6.0
  • Open Access: Npgsql 2.0.10.0 (I’m not sure how
    it loads the DLL, but this is the one shipped with what I’m using
    currently)

and also:

  • both drivers seem to be using the same version, at least in number, of Mono.Security.dll 2.0.0.0

Right now, I’ve got my local project running, and it appears to be working on both fronts, that is Open Access is using it’s driver (likely From the GAC as I’ve installed on my work machine from Telerik the installer, but the project never referenced the PostgreSQL drivers), and Elmah is working with it’s driver (referenced in the project). It’s conceivable that Telerik may actually be using the Npgsql driver in the project instead, but I’m not sure how to verify that possiblility.

However, in production I don’t have the Telerik drivers loaded in the GAC, I have all my dlls placed in the website’s bin folder. Both dlls are named the same, and renaming the older driver doesn’t work locally.

So I’m wondering what I ought to do at this point.

Elmah is an open source source project, so I know I can get the source to it (instead of using the NuGet package) and modify it to reference the newer driver. But frankly I don’t want to have to deal with recompiling Elmah if I want to update Telerik.

I’m wondering if the problem may just be that the latest Elmah is linked to the driver in a far stricter fashion than it needs to be? I’ve read about the various forms of linking, but not enough to know what I”m talking about. If that’s the case, though, it might be better to compile it such that (maybe) it only needs 2.0.x or something and use whatever is available instead of using some absolute version.

Is that possible? Is there another, better way to handle this? Thanks.

  • 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-06-01T08:19:58+00:00Added an answer on June 1, 2026 at 8:19 am

    While I did use the Nuget packages to install the elmah core libraries and the PostSQL drivers, I ended up removing the reference to Npgsql in the project and added the following lines to the web config under the configuration/runtime/assemblyBinding element:

            <dependentAssembly>
                <assemblyIdentity name="Npgsql"
                                  publicKeyToken="5d8b90d52f46fda7"
                                  culture="neutral" />
                <bindingRedirect oldVersion="2.0.6.0"
                                 newVersion="2.0.10.0"/>
            </dependentAssembly>
    

    Seems to work pretty well. The assumption, of course, is that the new driver is backwards compatible with the old one. No codeBase or ILMerge mess.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a problem I ran into recently. I have attributes strings of the form
Here is a simplification of my database: Table: Property Fields: ID, Address Table: Quote
Here is my code, which takes two version identifiers in the form 1, 5,
Here's a coding problem for those that like this kind of thing. Let's see
Here's an interesting problem. On a recently installed Server 2008 64bit I opened IE
Here is my problem : I have a post controller with the action create.
Here my problem: @Assert\Regex( * pattern=/^[A-Za-z0-9][A-Za-z0-9\]*$/, * groups={creation, creation_logged} * ) I'm using the
Here is my code...I have two dimensional matrices A,B. I want to develop the
Here is another spoj problem that asks how to find the number of distinct
Here is my problem...I have a page that loads a list of clients and

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.