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 Error 80070035  - The Network PATH Cannot be Found

Troubleshooting Code 80070035  - The network PATH cannot be found

Introduction to Code Error 80070035

This error, code 80070035, occurs when you try to map a network drive using VBScript.  My suggestion is that you have an error in the UNC path of the share name.Code error 80070035 - The network PATH cannot be found

The Symptoms You Get with error 80070035

The script does not map the network drive as you had hoped, instead you get a Windows Script Host error message, see diagram.

The Cause of Error 80070035

One possibility is that you trying to map a network drive and you have misspelled the share name.  The source of the error is WSH.MapNetworkDrive which gives us a big clue where to look for the error. 

Mistyping server names gives a slightly different error. (No network provider could accept the given path)

  ‡

The Solution to Error 80070035

My first guess is that there is a problem with the slashes on your server or share name. \\ server\share (correct) \\ server \share\ (wrong).  As with all WSH error messages, check the line number, count any blank or 'commented lines as you see the line with the error.

Double check the share names with the actual name in your script.  Open a command prompt and type net view.  Alternatively, it could be the server name which is incorrect in which case you could launch the Run dialog box and type \\ server.

Check this section for examples of MapNetworkDrive

Example of Error Code 80070035

' MapNetworkDrive.vbs
' VBScript to map a network drive.
' Author Guy Thomas http://computerperformance.co.uk/
' Version 2.2 - April 24th 2010
' ----------------------------------------------------'
Option Explicit
Dim objNetwork
Dim strDriveLetter, strRemotePath
strDriveLetter = "J:"
strRemotePath = "\\william\downloads\guyt\"

' Purpose of script to create a network object. (objNetwork)
' Then to apply the MapNetworkDrive method. Result J: drive
Set objNetwork = WScript.CreateObject("WScript.Network")

objNetwork.MapNetworkDrive strDriveLetter, strRemotePath
WScript.Quit

' End of Example 80070035  VBScript.

Solution it should have been \\william\downloads\guyt (No trailing \)

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.