Overview
Sometimes, the debug logs indicate that a server is unable to open a connection to the server with the following Windows Networking error:
1219 Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
When this occurs, the GFI EventsManager dashboard will also show the following error:
'Unexpected error when connecting to machine TARGET; remote Text Logs path is: \\TARGET\C$\inetpub\logs\LogFiles\W3SVC1!'
This article describes the process to find the conflicting application and resolve the error mentioned above.
Environment
- Windows File and Printer Sharing
- Remote deployment or scanning
- All Supported Windows Environments
Root Cause
Windows networking only allows one connection to a server from a single user account. Therefore, you will get the 1219 error if you try to access the server with two different user accounts from the same source server.
Resolution
Troubleshoot and resolve the issue by following the steps mentioned below:
- Determine if other applications may be making connections to the server, using different credentials.
- Start the Process Explorer.
- Use the Find > Find Handle feature to determine the process.
- Search for the IP address and the hostname of the computer to try and find any other processes with open handles to the target machine.
- Configure these connections to either not connect or use the same credentials as used by the GFI product.
The following screenshot shows open handles by explorer.exe and EventsManager (esmproc.exe):