Computer Performance, Windows 2003, Exchange 2003, Logon Scripts

Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.


Guy's Review of
Computer Utilities

 1) FreePing
 2) Engineer's Toolset
 3) Xobni
 4) PuTTY
 5) WMI Monitor
 6) BgInfo
 7) Net-SNMP
 8) IP Address Tracker
 9) DNS Stuff
10) WinDiff Compare


Code 800704CF - The network location cannot be reached

Troubleshooting Code 800704CF - The network location cannot be reached

Introduction to Error Code 800704CF

This error code, 800704CF occurs when you try to map a network drive with a VBScript.   You are probably using a WSH method called MapNetworkDrive. A wild guess, check the spelling of the servername in the strRemotePath.Error 800704CF The network Location cannot be reached.

The Symptoms You Get

The script does not execute as you hoped, instead you get a WSH error message.  The probable scenario is that you are trying to MapNetworkDrive in a Windows logon script.

Note: This is message is similar to: 800704B3 - No network provider.  The difference is that 800704CF indicates a problem with server, while 800704B3 means there is a problem with the share name.

I found that 'The network location cannot be reached', means that you have misspelt the servername.  Alternatively there could be a routing problem.  Try tracert or Ping.  Note the Source: WSHNetwork.MapNetworkDrive, it is trying to pinpoint the problem method.

The Solutions

If this were your script, check the Line 17.  Microsoft say that the TCP/IP NetBIOS Helper service has not started on the client.  Worth a look in your services (but I am not convinced).

Check your firewall.  Try pinging the server, which you are trying to map the drive letter.

In the case of runtime errors you can use this work around.  Add this line:
On Error Resume Next.  However, I would concentrate on finding out more about the server.

  ‡

Example of Script with 800704CF

In this case the error is here: strRemotePath = "\\alana\home"
The problem is that the server is really called alan not alana.

' MapNetworkDrive.vbs
' VBScript to map a network drive.
' Author Guy Thomas http://computerperformance.co.uk/
' Version 3.1 - April 24th 2010
' ----------------------------------------------------'
Option Explicit
Dim objNetwork
Dim strDriveLetter, strRemotePath, strUser, strPassword

' Purpose of the script to create a network object. (objNetwork)
' Then to apply the MapNetworkDrive method. Result K: drive
Set objNetwork = WScript.CreateObject("WScript.Network")
strDriveLetter = "W:"
strRemotePath = "\\alana\home"
strUser = "guyt"
strPassword = "Pauline1"
objNetwork.MapNetworkDrive strDriveLetter, strRemotePath, false, strUser, strPassword

' Extra code just to add a message box
WSCript.Echo " Launch Windows Explorer, check: "& strDriveLetter

' End of Example VBScript.

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

This Engineer's Toolset v10 provides a comprehensive console of utilities for troubleshooting computer problems.  Guy says it helps me monitor what's occurring on the network, and each tool teaches me more about how the underlying system operates.

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 fully functional trial copy of the Engineer's Toolset v10

Here is another Example of error 800704CF

 

' OnErrResNext.vbs - Map Network Drive to Q: and V:
' VBScript to test On Error Resume Next.
' Author Guy Thomas http://computerperformance.co.uk/
' Version 1.2- April 24th 2010
' ----------------------------------------------------'
Option Explicit
Dim objNetwork, strRemotePath1, strRemotePath2, strError
Dim strDriveLetter1, strDriveLetter2 , errLogonScript
Err.clear
err.number = vbEmpty
strError = 2
strDriveLetter1 = "Q:"
strDriveLetter2 = "V:"
strRemotePath1 = "\\lucy4\data\"
strRemotePath2 = "\\alans\downloads"
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2

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


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

If you like this page then please share it with your friends

 


 *


Custom Search

Solarwinds Network Device MonitorSolarwinds' Free Network Device Monitor

Thus utility makes it easy to check the health of a router or firewall.  Check the real-time performance and availability statistics for any device on your network.

Get started with an extensive collection of "out-of-the-box" monitors for popular network devices.  Download your free Network Device Monitor

 

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.