Computer Performance, Logon Scripts

Code Error 800A01CE - Remote Server does not exist

Troubleshooting Code 800A01CE - The remote server machine does not exist or is unavailable

Introduction to Code 800A01CE

Error code 800A01CE is a classic example of reading the error message: The remote server does not exist or unavailable.  All you have to do is think - why is server unavailable?  Does it exist?  Could it be a typo?Code 800A01CE - Remote Server does not exist

The Symptoms you get

The script does not execute as you hoped, instead you get a WSH error message.

The Cause of Error 800A01CE

Most likely, your VBScript has a misspelled object.   The actual error message is helpful and is alerting you the fact that WSH does not know an Object that you have are trying to access.

IIncidentally, Source: reports a runtime error not a compilation error, this means you are looking not for a pure syntax problem, but a fault logic error.  In the case of runtime errors, you can use this temporary work around.  Add this statement just before the line which errors: On Error Resume Next.

Advice from Chuck

Chuck says: Error 800A01CE absorbed about two days.  I could run the script fine on the server but not on a Windows 2000 Professional workstation.  I was using DHCP, which was getting my DNS from my production server. Once I changed the network settings to get DNS from the test server, it worked!

Note: to make sure my DNS would work with the rest of my network, I modified the Forwarder setting on the Test server DNS to point to my production DNS.

Hope this helps some other poor fellow from wasting a whole lot of time!!!

  ‡

The Solutions to Remote Server does not exist

Check the names in your script, pay particular attention to object names. 
Note: Line: 3  
Char: 1

This is a relatively easy problem to track down, either you have misspelt the server name, or the server is down.  Whilst the error is on line 3, In this case it is not Char 1 to blame, more that there is something wrong and none of this line can execute.

As a last resort, in the case of runtime errors, you can add this line:
On Error Resume Next.

Example of Error 800A01CE Script

Note: The Line: 3 & strServer.  On closer inspection strServer refers to Lucy3 in line 1.

In my particular example, the server was called Lucky3 so Lucy3 was a typo.

 

strServer = "Lucy3"

Set wbemServices = GetObject("winmgmts:\\" & strServer)
Set wbemObjectSet = wbemServices.InstancesOf("Win32_LogicalMemoryConfiguration")

For Each wbemObject In wbemObjectSet
WScript.Echo "Physical Memory (kb): " & wbemObject.TotalPhysicalMemory
Next
'  Example Error 800A01CE

 

 

Guy Recommends: WMI Monitor and It's Free!Solarwinds WMI Monitor

Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems.  Fortunately, Solarwinds have created the WMI Monitor so that you can examine these gems of performance information for free.  Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.

Download your free copy of WMI Monitor


Computer Training Software - Recommended Training VideosGuy Thomas recommends Computer Training Software

Their topics and material are ideal for getting you started with VBScript.  The videos are easy to follow and you can control the pace.  Try their free demo material and then see if you want to buy the full package. See more about VB Script Training CD.


Do you need extra help?

For interpreting the WSH messages check Diagnose 800 errors.

For general advice try my 7 Troubleshooting techniques

Give something back?

Would you like to help others?  If you have a good example of this error, then please email me, I will publish it with a credit to you:

 

 *


Google

Web  This website

Guy Recommends: SolarWinds Engineer's Toolset v10Engineer's Toolset v10

The Engineer's Toolset v10 provides a comprehensive console of utilities for troubleshooting computer problems.

There are so many good gadgets, it's like having free rein of a sweetshop. Thankfully the utilities are displayed logically: monitoring, discovery, diagnostic, and Cisco tools.  Download your copy of the Engineer's Toolset v 10

 

Home Copyright © 1999-2010 Computer Performance LTD All rights reserved.

Please report a broken link, or an error.