Computer Performance, Windows 2003, Exchange 2003, Logon Scripts

Code 800704CA - Error:
This network connection does not exist

Troubleshooting Code 800704CA - This network connection does not exist

Note this is almost certainly a mistake the error should be 800708CA

I thank Chris A for vigilantly pointing this out.

 

This is an easy error to solve. The RemoveNetworkDrive method is trying to disconnect a mapped network drive that does not exist.

Introduction to error Code 800704CA

This error code, 800704CA occurs when you execute a VBScript.  You are probably using a WSH method called RemoveNetworkDrive.

Code 800704CA - Error: This network connection does not exist.The Symptoms you get

A message box like this.  The script does not map the drive as you would have hoped.  The probable scenario is that you are trying to create a Windows logon script.

The Cause of Code 800704CA

You are probably trying to remove a network drive - but the drive does not exist.  Note the Source : WSHNetwork.RemoveNetworkDrive.

The Solutions

The key to solving this problem is not so much by looking in the VBScript, but by checking the drive letters with Windows Explorer.  For example, in the script below check the strDriveLetter against know drives in Explorer.

  ‡

Example of Script for Error 800704CA

' RemoveNetworkDrive.vbs - Remove Drive H:
' VBScript to test On Error Resume Next.
' Author Guy Thomas http://computerperformance.co.uk/
' Version 1.2- April 24th 2005
' -----------------------------------------------------'
Option Explicit
Dim objNetwork, strDriveLetter
strDriveLetter = "V:"

Set objNetwork = CreateObject("WScript.Network")
' Section which removes strDriveLetter
objNetwork.RemoveNetworkDrive strDriveLetter
Wscript.Quit

' End of Script

 

 

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:

 


Download my Logon Script eBook for only $6.25

Logon ScriptThe extra features you get in your eBook include, more pages full of detailed examples.  Also, ten 'how to...' sections, with screen shots showing which menus to use.  Go for Guy's eBook - and get a printable version with copy enabled and no expiry date.

  Jumbo Script 7 Package

 *


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.