Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Error 53 (HRESULT 0x80070002) calling DLL from DLL

Error 53 (HRESULT 0x80070002) calling DLL from DLL

Scheduled Pinned Locked Moved Visual Basic
helpcsharpcsscom
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gennady Oster
    wrote on last edited by
    #1

    Hi ! I have two DLLs (VB.NET converted from VB6 COM). First of them is instantiated in the test windows executable. Then the method of this DLL is called, that in turn has to instantiate the second DLL and to call it's method. On two computers it works, on the third - fails with error in subject on instantiating second assembly. The only difference between these computers is the VS2008. On the first two it is installed, on the third - not. I've tried all that I could find in the Internet and that looks more or less close to my problem. With no luck. Can somebody please help me to solve this problem and to understand - why this happens. The issue is very urgent. Thanks in advance. Regards, Gennady

    My English is permanently under construction. Be patient !!

    D T G 3 Replies Last reply
    0
    • G Gennady Oster

      Hi ! I have two DLLs (VB.NET converted from VB6 COM). First of them is instantiated in the test windows executable. Then the method of this DLL is called, that in turn has to instantiate the second DLL and to call it's method. On two computers it works, on the third - fails with error in subject on instantiating second assembly. The only difference between these computers is the VS2008. On the first two it is installed, on the third - not. I've tried all that I could find in the Internet and that looks more or less close to my problem. With no luck. Can somebody please help me to solve this problem and to understand - why this happens. The issue is very urgent. Thanks in advance. Regards, Gennady

      My English is permanently under construction. Be patient !!

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Error 53 is "network path not found". Is this second .DLL locally installed on the machine and does it reside in the .EXE's folder or one of the folders listed in the PATH environment variable?

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      G 1 Reply Last reply
      0
      • G Gennady Oster

        Hi ! I have two DLLs (VB.NET converted from VB6 COM). First of them is instantiated in the test windows executable. Then the method of this DLL is called, that in turn has to instantiate the second DLL and to call it's method. On two computers it works, on the third - fails with error in subject on instantiating second assembly. The only difference between these computers is the VS2008. On the first two it is installed, on the third - not. I've tried all that I could find in the Internet and that looks more or less close to my problem. With no luck. Can somebody please help me to solve this problem and to understand - why this happens. The issue is very urgent. Thanks in advance. Regards, Gennady

        My English is permanently under construction. Be patient !!

        T Offline
        T Offline
        The Man from U N C L E
        wrote on last edited by
        #3

        What about framework versions? VS2008 can build against 2.0, 3.0 or 3.5 I believe. Check which version your dlls were compiled against and check what is installed on the third machine.

        If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

        G 2 Replies Last reply
        0
        • D Dave Kreskowiak

          Error 53 is "network path not found". Is this second .DLL locally installed on the machine and does it reside in the .EXE's folder or one of the folders listed in the PATH environment variable?

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          G Offline
          G Offline
          Gennady Oster
          wrote on last edited by
          #4

          All DLLs and .exe are in the same folder. Thanks. Regards, Gennady

          My English is permanently under construction. Be patient !!

          1 Reply Last reply
          0
          • T The Man from U N C L E

            What about framework versions? VS2008 can build against 2.0, 3.0 or 3.5 I believe. Check which version your dlls were compiled against and check what is installed on the third machine.

            If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

            G Offline
            G Offline
            Gennady Oster
            wrote on last edited by
            #5

            Good point. I'll check it tomorrow morning (it's 20:45 now). I suppose that 3.5 on the target computer is installed, but it's worth to check. Thanks. Regards, Gennady

            My English is permanently under construction. Be patient !!

            1 Reply Last reply
            0
            • T The Man from U N C L E

              What about framework versions? VS2008 can build against 2.0, 3.0 or 3.5 I believe. Check which version your dlls were compiled against and check what is installed on the third machine.

              If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles]  [My Website]

              G Offline
              G Offline
              Gennady Oster
              wrote on last edited by
              #6

              I've checked it. Versions 2.0,3.0 and 3.5 are installed on all three machines. Regards, Gennady

              My English is permanently under construction. Be patient !!

              1 Reply Last reply
              0
              • G Gennady Oster

                Hi ! I have two DLLs (VB.NET converted from VB6 COM). First of them is instantiated in the test windows executable. Then the method of this DLL is called, that in turn has to instantiate the second DLL and to call it's method. On two computers it works, on the third - fails with error in subject on instantiating second assembly. The only difference between these computers is the VS2008. On the first two it is installed, on the third - not. I've tried all that I could find in the Internet and that looks more or less close to my problem. With no luck. Can somebody please help me to solve this problem and to understand - why this happens. The issue is very urgent. Thanks in advance. Regards, Gennady

                My English is permanently under construction. Be patient !!

                G Offline
                G Offline
                Gennady Oster
                wrote on last edited by
                #7

                Hi ! Finally the problem solved. Thanks to Ben Peterson and his A .NET assembly viewer[^] !! Among Referenced Assemblies I've found the ADODB assembly, that is absent on the third machine. Now all works as expected. Thanks to everyone who tried to help me. Regards, Gennady

                My English is permanently under construction. Be patient !!

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups