Troubleshooting Code 800704C3 – Multiple Connections to a server or shared resource by the same user are not allowedIntroduction to code error 800704C3This error code, 800704C3 occurs when you try to map a network drive with a VBScript. You are probably using a WSH method called MapNetworkDrive. The Symptoms with error 800704C3The 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 800704C3The 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 800704C3If 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 Option Explicit strDriveLetter = "N:" objNetwork.MapNetworkDrive strDriveLetter, strHomeServer, strUser, strPassword WScript.Quit ‘ End of Script 
Guy Recommends: WMI Monitor and It’s Free!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 additional help?
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 The 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. If you like this page then please share it with your friends
|