
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