locked
dll not loaded from bin directory RRS feed

  • Question

  • User560206892 posted

    Hi,

    i have some troubles on using firebird embedded in my application .

    if i reference it with the full path in web.config it work

    part of the connectionstring :

    client library=C:\Dev\WEB\Projects\project1\bin\fbembed.dll;

    but if i simply put

    client library=fbembed.dll

    i have a dllnotfoundexcetion .

    i have also checked that the dll and all it's dependencies exists in the Bin folder, and like i said with the full path everything work fine .

    any idea please ?

    Tuesday, September 8, 2015 8:35 AM

Answers

  • User560206892 posted

    it wierd but it's solved :)

    client library=fbembed

    without ".dll"  

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 5:30 PM

All replies

  • User37182867 posted

    Install it to your GAC. When you deploy the dll would also need to be installed in the Server's GAC as well.

    Here's how to do it..

    https://msdn.microsoft.com/en-us/library/dkkx7f79(v=VS.110).aspx

    Tuesday, September 8, 2015 10:49 AM
  • User560206892 posted

    it's not a .net assembly, and i cant register into the gac becuase i have to deploy that in a shared web hosting  ...

    Tuesday, September 8, 2015 11:41 AM
  • User37182867 posted

    then add as project reference

    Tuesday, September 8, 2015 1:36 PM
  • User560206892 posted

    it wierd but it's solved :)

    client library=fbembed

    without ".dll"  

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 5:30 PM