Computer Performance, Windows 2003, Exchange 2003, Logon Scripts

Code 800704C3 - Error: Multiple Connections to a server or shared resource by the same user are not allowed

Troubleshooting Code 800704C3 - Multiple Connections to a server or shared resource by the same user are not allowed

Introduction to code error 800704C3

This error code, 800704C3 occurs when you try to map a network drive with a VBScript.  You are probably using a WSH method called MapNetworkDrive.Multiple Connections to a server or shared resource by the same user are not allowed

The Symptoms with error 800704C3

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

The Cause of Code 800704C3

The problem is that you have already mapped a network drive - but using different credentials.  Note the Source : WSH.Network.MapNetworkDrive. Observe the Error: Multiple Connections to a server or shared resource by the same user are not allowed ...... (Sorry the screen shot is so small)

The Solutions to error 800704C3

If this were your script, check the Line 20  that you have already mapped a networkdrive using the current user.  Your solution is to disconnect the drive already connected.

In the case of runtime errors you can use this work around.  Add this line: On Error Resume Next

Example Script for code 800704C3

 

 

' TestConnect.vbs - Map Network Drive to N: to the alan server
' VBScript using all 5 MapNetworkDrive arguments.
' Author Guy Thomas http://computerperformance.co.uk/
' Version 2.1 - May 30th 2004
' -------------------------------------------------------------'
' object.MapNetworkDrive 5 arguments
' (strLocalName, strRemoteName, [bUpdateProfile], [strUser], [strPassword])

Option Explicit
Dim strUser, strPassword, strDriveLetter, strHomeServer, strProfile
Dim objNetwork, objPopUp
Set objNetwork = CreateObject("WScript.Network")
Set objPopUp = CreateObject("WScript.Shell")

strDriveLetter = "N:"
strHomeServer = "\\alan\home"
strProfile = "False" ' Mapping stored in user Profile
strUser = "Administrator"
strPassword = "B££r $ L@ger"

objNetwork.MapNetworkDrive strDriveLetter, strHomeServer, strUser, strPassword
objPopUp.popup "Drive " & strDriveLetter & " connected o.k."

WScript.Quit

' End of Script 

 

Solarwinds IpMonitorTry a different solution, download SolarWinds ipMonitor

Here is my thinking, ipMonitor will give you valuable data about your network and servers.  This extra information just may unlock the solution to your error code.  One more thing, sometimes when troubleshooting you go around in circles; therefore if you try a different, but related approach, you may just crack the problem.  Free Download of SolarWinds ipMonitor

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

Webcomputerperformance.co.uk

GFi Events Manager

Guy Recommends: GFi EventsManager

Here is a solution to monitor, manage and archive thousands of events that are generated by devices across your entire network.  Get your free evaluation copy of GFI EventsManager.

 

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

Please report a broken link, or an error.