The network path was not found error 
Author Message
 The network path was not found error

Hello,

I have written a VB application that uses ADSI to get to the computers on my
domain to do administrative tasks.
It works fine but a few computers that are online and running alsways return
the following error when running this code

Set container = objDSO.OpenDSObject(sIADsPath & "/" & sComputerName, _
                                             "MyDomAdmAccount", _
                                             "MyDomAdmPassword_
                                             ADS_SECURE_AUTHENTICATION)

The error:
    Automation error
    The network path was not found.  -2147024843

One of these computers is on a small desktop switch, the others are not ...
(the LAN is switched itself, but only a few machine generate this problem).
With the machine on the desktop switch changing to an outlet fixes te
problem, but on the other machine the problem remains.

Is the problem a time out or are their any issues when dealing with PC's on
switches.

Thank a lot,

DJ



Tue, 23 Mar 2004 18:16:00 GMT  
 The network path was not found error
I had a similar (network path not found) on an NT4 box after installing the "Security Rollup Package" (SRP) that was resolved by uninstalling the SRP.  

I was also able to work around the problem with the SRP still installed by using an ADS path that used "WinNT://domainname/domaincontroller/..." instead of just "WinNT://domainname/..." where I retrieved and used the value of the %LOGONSERVER% environment variable for the domaincontroller portion of the path...

--
Michael Harris
Microsoft.MVP.Scripting
--

Please do not email questions - post them to the newsgroup instead.
--

Quote:

> Hello,

> I have written a VB application that uses ADSI to get to the computers on my
> domain to do administrative tasks.
> It works fine but a few computers that are online and running alsways return
> the following error when running this code

> Set container = objDSO.OpenDSObject(sIADsPath & "/" & sComputerName, _
>                                              "MyDomAdmAccount", _
>                                              "MyDomAdmPassword_
>                                              ADS_SECURE_AUTHENTICATION)

> The error:
>     Automation error
>     The network path was not found.  -2147024843

> One of these computers is on a small desktop switch, the others are not ...
> (the LAN is switched itself, but only a few machine generate this problem).
> With the machine on the desktop switch changing to an outlet fixes te
> problem, but on the other machine the problem remains.

> Is the problem a time out or are their any issues when dealing with PC's on
> switches.

> Thank a lot,

> DJ



Tue, 23 Mar 2004 23:58:06 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Long Path Names give Runtime error 76 - Path not found

2. Long Path Names give Runtime error 76 - Path not found

3. ADSI:GetObject network path not found reading info other than the current computer name

4. ADSI: Intermitent Network Path Was Not Found when binding to group

5. VBScript Path Not Found Error when running in IIS

6. Path not found error??

7. Error 76 Path not found with folder object

8. VBScript Path Not Found Error when running in IIS

9. Path not found error??

10. GetFolder - Path Not Found

11. GetFolder gives me PATH not found

12. Path not found in W95

 

 
Powered by phpBB® Forum Software