File or assembly name ADODB, was not found.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KLomax

    File or assembly name ADODB, was not found.

    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.FileN otFoundExceptio n: File or assembly name
    ADODB, or one of its dependencies, was not found.

    File name: "ADODB"
    at Debt.DebtMan.CR eceiptAndDisbur sement.Load(Str ing
    ControlGroup, Int32 SecurityID, enuReportPeriod
    ReportPeriod)
    at Debt.Reports.Re port_RandD() in \\tacsdev1
    \Data\inetpub\S omeThingReporte r\SomeThingRepo rter\Debt\Repo
    rts.aspx.vb:lin e 313

    Fusion log follows:
    === Pre-bind state information ===
    LOG: DisplayName = ADODB, Version=7.0.330 0.0,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
    (Fully-specified)
    LOG: Appbase =
    file:///D:/inetpub/SomeThingReport er/SomeThingReport er
    LOG: Initial PrivatePath = bin
    Calling assembly : SomeThingReport er,
    Version=1.0.143 0.13864, Culture=neutral ,
    PublicKeyToken= null.
    ===

    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file
    (C:\WINNT\Micro soft.NET\Framew ork\v1.0.3705\a spnet.config).
    LOG: Using machine configuration file from
    C:\WINNT\Micros oft.NET\Framewo rk\v1.0.3705
    \config\machine .config.
    LOG: Post-policy reference: ADODB, Version=7.0.330 0.0,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreport er/ed21083f/2075927f/ADODB.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.DLL.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    ADODB.DLL.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    ADODB/ADODB.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreport er/ed21083f/2075927f/ADODB.EXE.
    LOG: Attempting download of new URL
    file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    y ASP.NET
    Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.EXE.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    ADODB.EXE.
    LOG: Attempting download of new URL
    file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    ADODB/ADODB.EXE.

  • Bob Barrows

    #2
    Re: File or assembly name ADODB, was not found.

    KLomax wrote:[color=blue]
    > 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.FileN otFoundExceptio n: File or assembly name
    > ADODB, or one of its dependencies, was not found.
    >
    > File name: "ADODB"
    > at Debt.DebtMan.CR eceiptAndDisbur sement.Load(Str ing
    > ControlGroup, Int32 SecurityID, enuReportPeriod
    > ReportPeriod)
    > at Debt.Reports.Re port_RandD() in \\tacsdev1
    > \Data\inetpub\S omeThingReporte r\SomeThingRepo rter\Debt\Repo
    > rts.aspx.vb:lin e 313
    >
    > Fusion log follows:
    > === Pre-bind state information ===
    > LOG: DisplayName = ADODB, Version=7.0.330 0.0,
    > Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
    > (Fully-specified)
    > LOG: Appbase =
    > file:///D:/inetpub/SomeThingReport er/SomeThingReport er
    > LOG: Initial PrivatePath = bin
    > Calling assembly : SomeThingReport er,
    > Version=1.0.143 0.13864, Culture=neutral ,
    > PublicKeyToken= null.
    > ===
    >
    > LOG: Publisher policy file is not found.
    > LOG: No redirect found in host configuration file
    > (C:\WINNT\Micro soft.NET\Framew ork\v1.0.3705\a spnet.config).
    > LOG: Using machine configuration file from
    > C:\WINNT\Micros oft.NET\Framewo rk\v1.0.3705
    > \config\machine .config.
    > LOG: Post-policy reference: ADODB, Version=7.0.330 0.0,
    > Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
    > LOG: Attempting download of new URL
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    > y ASP.NET
    > Files/SomeThingreport er/ed21083f/2075927f/ADODB.DLL.
    > LOG: Attempting download of new URL
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    > y ASP.NET
    > Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.DLL.
    > LOG: Attempting download of new URL
    > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    > ADODB.DLL.
    > LOG: Attempting download of new URL
    > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    > ADODB/ADODB.DLL.
    > LOG: Attempting download of new URL
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    > y ASP.NET
    > Files/SomeThingreport er/ed21083f/2075927f/ADODB.EXE.
    > LOG: Attempting download of new URL
    > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
    > y ASP.NET
    > Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.EXE.
    > LOG: Attempting download of new URL
    > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    > ADODB.EXE.
    > LOG: Attempting download of new URL
    > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
    > ADODB/ADODB.EXE.[/color]

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Comment

    • Bob Barrows

      #3
      Re: File or assembly name ADODB, was not found.

      I've never seen this message. You should ask in one of the public.dotnet
      groups.

      Bob Barrows
      --
      Microsoft MVP -- ASP/ASP.NET
      Please reply to the newsgroup. The email account listed in my From
      header is my spam trap, so I don't check it very often. You will get a
      quicker response by posting to the newsgroup.


      Comment

      • Aaron Bertrand - MVP

        #4
        Re: File or assembly name ADODB, was not found.



        --
        Aaron Bertrand
        SQL Server MVP
        Please contact this domain's administrator as their DNS Made Easy services have expired.





        "KLomax" <anonymous@disc ussions.microso ft.com> wrote in message
        news:023401c3b8 36$bfa8ee90$a10 1280a@phx.gbl.. .[color=blue]
        > 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.FileN otFoundExceptio n: File or assembly name
        > ADODB, or one of its dependencies, was not found.
        >
        > File name: "ADODB"
        > at Debt.DebtMan.CR eceiptAndDisbur sement.Load(Str ing
        > ControlGroup, Int32 SecurityID, enuReportPeriod
        > ReportPeriod)
        > at Debt.Reports.Re port_RandD() in \\tacsdev1
        > \Data\inetpub\S omeThingReporte r\SomeThingRepo rter\Debt\Repo
        > rts.aspx.vb:lin e 313
        >
        > Fusion log follows:
        > === Pre-bind state information ===
        > LOG: DisplayName = ADODB, Version=7.0.330 0.0,
        > Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
        > (Fully-specified)
        > LOG: Appbase =
        > file:///D:/inetpub/SomeThingReport er/SomeThingReport er
        > LOG: Initial PrivatePath = bin
        > Calling assembly : SomeThingReport er,
        > Version=1.0.143 0.13864, Culture=neutral ,
        > PublicKeyToken= null.
        > ===
        >
        > LOG: Publisher policy file is not found.
        > LOG: No redirect found in host configuration file
        > (C:\WINNT\Micro soft.NET\Framew ork\v1.0.3705\a spnet.config).
        > LOG: Using machine configuration file from
        > C:\WINNT\Micros oft.NET\Framewo rk\v1.0.3705
        > \config\machine .config.
        > LOG: Post-policy reference: ADODB, Version=7.0.330 0.0,
        > Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
        > LOG: Attempting download of new URL
        > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
        > y ASP.NET
        > Files/SomeThingreport er/ed21083f/2075927f/ADODB.DLL.
        > LOG: Attempting download of new URL
        > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
        > y ASP.NET
        > Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.DLL.
        > LOG: Attempting download of new URL
        > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
        > ADODB.DLL.
        > LOG: Attempting download of new URL
        > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
        > ADODB/ADODB.DLL.
        > LOG: Attempting download of new URL
        > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
        > y ASP.NET
        > Files/SomeThingreport er/ed21083f/2075927f/ADODB.EXE.
        > LOG: Attempting download of new URL
        > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
        > y ASP.NET
        > Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.EXE.
        > LOG: Attempting download of new URL
        > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
        > ADODB.EXE.
        > LOG: Attempting download of new URL
        > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
        > ADODB/ADODB.EXE.
        >[/color]


        Comment

        • Tony Archer

          #5
          Re: File or assembly name ADODB, was not found.

          You may try checking the "Copy to Server" box for that object. That fixed
          it for me a while ago when I had a similar problem.


          "KLomax" <anonymous@disc ussions.microso ft.com> wrote in message
          news:023401c3b8 36$bfa8ee90$a10 1280a@phx.gbl.. .[color=blue]
          > 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.FileN otFoundExceptio n: File or assembly name
          > ADODB, or one of its dependencies, was not found.
          >
          > File name: "ADODB"
          > at Debt.DebtMan.CR eceiptAndDisbur sement.Load(Str ing
          > ControlGroup, Int32 SecurityID, enuReportPeriod
          > ReportPeriod)
          > at Debt.Reports.Re port_RandD() in \\tacsdev1
          > \Data\inetpub\S omeThingReporte r\SomeThingRepo rter\Debt\Repo
          > rts.aspx.vb:lin e 313
          >
          > Fusion log follows:
          > === Pre-bind state information ===
          > LOG: DisplayName = ADODB, Version=7.0.330 0.0,
          > Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
          > (Fully-specified)
          > LOG: Appbase =
          > file:///D:/inetpub/SomeThingReport er/SomeThingReport er
          > LOG: Initial PrivatePath = bin
          > Calling assembly : SomeThingReport er,
          > Version=1.0.143 0.13864, Culture=neutral ,
          > PublicKeyToken= null.
          > ===
          >
          > LOG: Publisher policy file is not found.
          > LOG: No redirect found in host configuration file
          > (C:\WINNT\Micro soft.NET\Framew ork\v1.0.3705\a spnet.config).
          > LOG: Using machine configuration file from
          > C:\WINNT\Micros oft.NET\Framewo rk\v1.0.3705
          > \config\machine .config.
          > LOG: Post-policy reference: ADODB, Version=7.0.330 0.0,
          > Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a
          > LOG: Attempting download of new URL
          > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
          > y ASP.NET
          > Files/SomeThingreport er/ed21083f/2075927f/ADODB.DLL.
          > LOG: Attempting download of new URL
          > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
          > y ASP.NET
          > Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.DLL.
          > LOG: Attempting download of new URL
          > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
          > ADODB.DLL.
          > LOG: Attempting download of new URL
          > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
          > ADODB/ADODB.DLL.
          > LOG: Attempting download of new URL
          > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
          > y ASP.NET
          > Files/SomeThingreport er/ed21083f/2075927f/ADODB.EXE.
          > LOG: Attempting download of new URL
          > file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporar
          > y ASP.NET
          > Files/SomeThingreport er/ed21083f/2075927f/ADODB/ADODB.EXE.
          > LOG: Attempting download of new URL
          > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
          > ADODB.EXE.
          > LOG: Attempting download of new URL
          > file:///D:/inetpub/SomeThingReport er/SomeThingReport er/bin/
          > ADODB/ADODB.EXE.
          >[/color]


          Comment

          Working...