File or assembly name ADODB, was not found.

Discussion in 'ASP .Net' started by KLomax, Dec 1, 2003.

  1. KLomax

    KLomax Guest

    I have a VB6 com object that uses ADO 2.1 for data access.
    I have referenced this object in a aspx application.
    It works fine on my local development machine.
    On our staging server, it errors when trying to
    instantiate the com object.
    This object runs fine in another asp application on the
    same box, so it is not the object itself.
    I am remotely compiling the application on our staging
    server.
    The full error message is below.

    Any ides ?


    System.IO.FileNotFoundException: File or assembly name
    ADODB, or one of its dependencies, was not found.

    File name: "ADODB"
    at Debt.DebtMan.CReceiptAndDisbursement.Load(String
    ControlGroup, Int32 SecurityID, enuReportPeriod
    ReportPeriod)
    at Debt.Reports.Report_RandD() in \\tacsdev1
    \Data\inetpub\SomeThingReporter\SomeThingReporter\Debt\Repo
    rts.aspx.vb:line 313

    Fusion log follows:
    === Pre-bind state information ===
    LOG: DisplayName = ADODB, Version=7.0.3300.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    (Fully-specified)
    LOG: Appbase =
    file:///D:/inetpub/SomeThingReporter/SomeThingReporter
    LOG: Initial PrivatePath = bin
    Calling assembly : SomeThingReporter,
    Version=1.0.1430.13864, Culture=neutral,
    PublicKeyToken=null.
    ===

    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file
    (C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
    LOG: Using machine configuration file from
    C:\WINNT\Microsoft.NET\Framework\v1.0.3705
    \config\machine.config.
    LOG: Post-policy reference: ADODB, Version=7.0.3300.0,
    Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreporter/ed21083f/2075927f/ADODB.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreporter/ed21083f/2075927f/ADODB/ADODB.DLL.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReporter/SomeThingReporter/bin/
    ADODB.DLL.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReporter/SomeThingReporter/bin/
    ADODB/ADODB.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreporter/ed21083f/2075927f/ADODB.EXE.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreporter/ed21083f/2075927f/ADODB/ADODB.EXE.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReporter/SomeThingReporter/bin/
    ADODB.EXE.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReporter/SomeThingReporter/bin/
    ADODB/ADODB.EXE.
    KLomax, Dec 1, 2003
    #1
    1. Advertising

  2. Copy adodb.dll to the bin folder of your web application.

    Mun




    "KLomax" <> wrote in message
    news:011301c3b83a$07b5e140$...
    > I have a VB6 com object that uses ADO 2.1 for data access.
    > I have referenced this object in a aspx application.
    > It works fine on my local development machine.
    > On our staging server, it errors when trying to
    > instantiate the com object.
    > This object runs fine in another asp application on the
    > same box, so it is not the object itself.
    > I am remotely compiling the application on our staging
    > server.
    > The full error message is below.
    >
    > Any ides ?


    <snip>
    Munsifali Rashid, Dec 2, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Philipp Schumann
    Replies:
    2
    Views:
    1,382
  2. D.C.
    Replies:
    0
    Views:
    657
  3. aallee83
    Replies:
    2
    Views:
    2,190
    Alessandro Rampazzo
    May 26, 2004
  4. manish pendse

    File or assembly name <some temp file> not found..

    manish pendse, Aug 21, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    189
    Bennie Haelen
    Aug 23, 2005
  5. KLomax
    Replies:
    4
    Views:
    223
    Tony Archer
    Dec 1, 2003
Loading...

Share This Page