File or assembly name ADODB, was not found.

Discussion in 'ASP General' 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. KLomax

    Bob Barrows Guest

    KLomax wrote:
    > 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.


    --
    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.
    Bob Barrows, Dec 1, 2003
    #2
    1. Advertising

  3. KLomax

    Bob Barrows Guest

    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.
    Bob Barrows, Dec 1, 2003
    #3
  4. http://www.aspfaq.com/5002

    --
    Aaron Bertrand
    SQL Server MVP
    http://www.aspfaq.com/




    "KLomax" <> wrote in message
    news:023401c3b836$bfa8ee90$...
    > 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.
    >
    Aaron Bertrand - MVP, Dec 1, 2003
    #4
  5. KLomax

    Tony Archer Guest

    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" <> wrote in message
    news:023401c3b836$bfa8ee90$...
    > 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.
    >
    Tony Archer, Dec 1, 2003
    #5
    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,372
  2. D.C.
    Replies:
    0
    Views:
    647
  3. KLomax
    Replies:
    1
    Views:
    2,033
    Munsifali Rashid
    Dec 2, 2003
  4. aallee83
    Replies:
    2
    Views:
    2,179
    Alessandro Rampazzo
    May 26, 2004
  5. 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:
    179
    Bennie Haelen
    Aug 23, 2005
Loading...

Share This Page