Windows Server 2008 R2 Enterprise Windows Server 2008 R2 Datacenter Windows Server 2008 R2 for Itanium-Based Systems Windows Server 2008 R2 Foundation Windows Server 2008 R2 Standard Windows Server 2008 R2 Web Edition Windows 7 Enterprise Windows 7 Home Basic Windows 7 Home Premium Windows 7 Professional Windows 7 Starter Windows 7 Ultimate More…Less
Symptoms
Consider the following scenario:
-
You use user credentials to map a drive to a network share on a client computer that is running Windows 7 or Windows Server 2008 R2.
-
You perform an action that causes a change notification I/O request packet (IRP) to be sent from the drive. For example, you open Windows Explorer and then click the mapped drive.
-
You disconnect the mapped drive.
-
You try to map a drive to the network share by using different user credentials.
In this scenario, you receive an error message that resembles the following:
Error 1219 ERROR_SESSION_CREDENTIAL_CONFLICT
Cause
This issue occurs because a cached handle is not closed. When you disconnect the mapped drive from the network share, a handle is cached. This is because the network share is a root of the share. Then, when the drive sends the change notification IRP and then cancels the change notification IRP, the cached handle is not closed. Therefore, the handle blocks the connection between the drive and network share for other users.
Resolution
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=supportNote The «Hotfix download available» form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must be running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 SP1.
For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2
Registry information
To apply this hotfix, you do not have to make any changes to the registry.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under «Windows 7/Windows Server 2008 R2» on the page. Always refer to the «Applies To» section in articles to determine the actual operating system that each hotfix applies to.
-
The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
Version
Product
Milestone
Service branch
6.1.760
1.22xxxWindows 7 and Windows Server 2008 R2
SP1
LDR
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the «Additional file information for Windows 7 and for Windows Server 2008 R2» section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Mrxsmb20.sys |
6.1.7601.22231 |
97,280 |
25-Jan-2013 |
02:37 |
x86 |
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Mrxsmb20.sys |
6.1.7601.22231 |
128,000 |
25-Jan-2013 |
02:58 |
x64 |
For all supported IA-64-based versions of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Mrxsmb20.sys |
6.1.7601.22231 |
310,784 |
25-Jan-2013 |
02:28 |
IA-64 |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.
More Information
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684Description of the standard terminology that is used to describe Microsoft software updates
Additional file information for Windows 7 and for Windows Server 2008 R2
Additional files for all supported x86-based versions of Windows 7
File name |
X86_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7601.22231_none_8d533d3c0138aaad.manifest |
File version |
Not applicable |
File size |
4,035 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
04:52 |
Platform |
Not applicable |
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
Amd64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7601.22231_none_e971d8bfb9961be3.manifest |
File version |
Not applicable |
File size |
4,039 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
05:57 |
Platform |
Not applicable |
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File name |
Ia64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7601.22231_none_8d54e1320136b3a9.manifest |
File version |
Not applicable |
File size |
4,037 |
Date (UTC) |
25-Jan-2013 |
Time (UTC) |
05:00 |
Platform |
Not applicable |
Need more help?
I’m using WNetUseConnection to connect to a network drive, everything was working fine yesterday, below is the code I used to connect to the network drive.
NETRESOURCE nr = new NETRESOURCE();
nr.dwType = RESOURCETYPE_DISK;
nr.lpRemoteName = remote;
nr.lpLocalName = "L:";
int ret = WNetUseConnection(IntPtr.Zero, nr, username, password, 0, null, null, null);
I find the value of remote using the below code
WNetGetConnection("L:", sb, ref size);
var remote= sb.ToString();
And I cancel the connection using the below code
WNetCancelConnection2("L:", 0, false);
As I mentioned before everything worked fine yesterday, but today when I tried to retest the code it failed. The WNetGetConnection returned the error 1201 in some cases and 1202 in others (note that the drive was showing an x sign which means it was disconnected)
Trying now to reconnect to the drive using WNetUseConnection and the valid credentials failed with error 1219 which was really weird since there was no established connections to the drive, meanwhile trying to connect to the drive with passing empty username
and password work just fine.
Using WNetCancelConnection2 to cancel the connection works and the connection is cancelled successfully but trying to execute WNetUseConnection again to retest the steps throws this error 67 which doesn’t make sense since My PC is still showing the drive, but
when I try to double click on the drive it shows me the error that the drive doesn’t exist.
Disconnect the drive won’t work, but remapping the drive to the same location with the same drive letter worked and replaced the network drive. but remapping didn’t solve the issue.
When I deleted and recreated the drive using the below commands everything worked fine again.
net use * /del /yes
net use l: «NetworkPath» /user:»username» «password»
Can anyone tells me why this happened? I appreciate the help.
Edit:
The problem started to show more often now, I cannot connect to the drive using the code, but the connection is successfully created when I double click on the drive icon on my computer. The commands are no longer solving the issue.
PS: I’m using windows 10 version 1709
Ayat
-
Edited by
Thursday, April 12, 2018 7:20 AM
Categories: Troubleshooting, Error Codes, XenServer, Hyper-V, Physical Systems, Alike v3, Alike v4
Introduction
The following list of common error codes are separated into three categories: Windows systems, Alike Backup Delegate (ABD), and miscellaneous Alike errors. Get a description of each and when possible, a resolution.
Service/Windows Error Codes
Error 1219
(ERROR_SESSION_CREDENTIAL_CONFLICT)
This is a very common, and confusing, error but fortunately easy to fix. Windows throws an error 1219 when you try to login to a resource, such as a network share, with two different user accounts within the same session. The most common cause is when a Windows Explorer window is opened to a network share (e.g. the ADS folder), causing a conflict with Alike’s session.
Example
“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.”
Resolution
If this is the case, simply close the offending explorer window and try again. You can also check the output of the command, net use, and close any conflicting sessions.
Close the sessions with the following syntax: net use /DELETE \path.tosession
Error 86
(ERROR_INVALID_PASSWORD)
“The specified network password is not correct.”
Example
Failed to connect to DS share (\IP.TO.ADSQSDSdata) with error code: 86 (User Account)
Resolution
This is usually caused by incorrect credentials, or a missing profile entry in the Alike Credential Profile manager for Q-Hybrid jobs. If you have no credentials entered, adding a new, default entry could solve this issue.
Error 1326
(ERROR_LOGON_FAILURE)
Example
“The user name or password is incorrect.”
Resolution
This is usually caused by incorrect credentials for your VM in the Alike Credential Profile manager for Q-Hybrid jobs.
Error 1727
(RPC_S_CALL_FAILED_DNE)
“The remote procedure call failed and did not execute.”
Example
Failed to connect to DS share (\IP.TO.ADSQSDSdata) with error code: 1727 (User Account)
Resolution
This is often caused by improper permissions to access WMI/DCOM on the remote system, but can also be related to CIFS or NTFS permissions on the ADS itself.
Error 71
(ERROR_REQ_NOT_ACCEP)
“No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.”
Example
The system hosting your ADS CIFS share has run out of available connections. This is often caused by an overwhelmed or under powered device sharing your ADS CIFS share. The most common cause is when the Alike ADS is being hosted on a workstation grade OS (Windows XP, Vista, 7, etc.), which impose connection limits.
Resolution
To resolve this issue you must either reduce the load of that share, or move the ADS to a more robust system.
Error 3
(ERROR_PATH_NOT_FOUND)
“The system cannot find the path specified.”
Example
Dedupe cache generation failed, backup performance may be degraded. Failed to open file on file \\datajobsxyz.HCA with error: The system cannot find the path specified. (code: 3)
Resolution
This most often occurs when your Alike Data Store (ADS) is local to your Alike server, and the IP address has changed since your installation of Alike. To resolve this, either change your Alike server’s IP address back to the original address used, perform a recovery installation of Alike on top of your existing copy, or contact support for assistance.
Another common cause is when you specify your ADS path using a DNS name, instead of an IP Address. Since not all devices can resolve name, or they do not always resolve to the same device, using an IP address for your ADS path will usually solve this issue.
Error 64
(ERROR_NETNAME_DELETED)
Symptoms:
- “ERROR_NETNAME_DELETED” appears and crashes the active program window.
- Your PC frequently crashes with Error 64 when running the same program.
- “The specified network name is no longer available” is displayed.
- Windows runs sluggishly and responds slowly to mouse or keyboard input.
- Your computer periodically “freezes” for a few seconds at a time.
These 64 error messages can appear during program installation, while a Microsoft Corporation-related software program (eg. Windows Operating System) is running, during Windows startup or shutdown, or even during the installation of the Windows operating system. Keeping track of when and where your ERROR_NETNAME_DELETED error occurs is a critical piece of information in troubleshooting the problem.
Example
Corrupt download or incomplete installation of Windows Operating System software. Corrupt Windows registry keys associated with Windows Operating System. Virus or malware infection that has corrupted Windows system files or Windows Operating System-related program files. Another program maliciously or mistakenly deleted Windows Operating System-related files. ERROR_NETNAME_DELETED.
Windows System Error Codes such as “ERROR_NETNAME_DELETED” can be caused by a variety of factors, so it is important that you troubleshoot each of the possible causes to prevent it from recurring. The important thing to note is that this is a DNS related issue.
Resolution
- Check your ADS settings and change the DNS name/NETBIOS name to the IP address of the storage. Instead of having: \storage.mycompany.domain.tlddata, or \STORAGEdata, you should \192.168.1.100data or whatever your IP is.
- Repair Registry Entries Associated with Error 64
- Conduct a Full Malware Scan
- Clean Out Your System Junk (Temporary Files and Folders) With Disk Cleanup
- Update Your Device Drivers
- Utilize Windows System Restore to “Undo” Recent System Changes
- Uninstall and Reinstall the Windows Operating System Program Associated with ERROR_NETNAME_DELETED
- Run Windows System File Checker (“sfc /scannow”)
- Install All Available Windows Updates
- Perform a Clean Installation of Windows
Error 67
(ERROR_BAD_NET_NAME)
“The network name cannot be found.”
Example
The network name cannot be found. This error is returned if the network with the neighbor IP address is unreachable.
Resolution
The first step is to check your ADS settings and change the DNS name/NETBIOS name to the IP address of the storage. Instead of having: \storage.mycompany.domain.tlddata, or \STORAGEdata, you should \192.168.1.100data or whatever your IP is. The ResolveIpNetEntry2 function is used to resolve the physical address for a neighbor IP address entry on a local computer. Learn more here.
Error 87
(ERROR_INVALID_PARAMETER)
“The parameter is incorrect.”
Example
The WriteFile() or ReadFile() function call may fail with this error if you are operating on a named pipe and using overlapped I/O.
Resolution
Microsoft recommends the following for Alignment and File Access Requirements: “File access sizes, including the optional file offset in the OVERLAPPED structure, if specified, must be for a number of bytes that is an integer multiple of the volume sector size. For example, if the sector size is 512 bytes, an application can request reads and writes of 512, 1,024, 1,536, or 2,048 bytes, but not of 335, 981, or 7,171 bytes.
File access buffer addresses for read and write operations should be physical sector-aligned, which means aligned on addresses in memory that are integer multiples of the volume’s physical sector size. Depending on the disk, this requirement may not be enforced.”
Learn more here.
ABD Related Error Codes (linux errno.h codes)
Error 22
- Example: Seek failed on file /dev/nbd0 with error code : 22
This is most often caused by networking related issues between the source and destination ABDs. Often, this is due to aggressive idle settings in firewalls or network devices which forcibly close the network connection between the two devices. It can also be caused by network intermittencies or a generally unreliable connection between the two locations.
- Resolution: If this is the case, simply close the offending explorer window and try again. You can also check the output of the command, net use, and close any conflicting sessions.
Close the sessions with the following syntax: net use /DELETE \path.tosession
Error 137
- Example: “failure for device: X. Output: 137”
This is caused by the ABD running out of memory during the course of the job (usually a restore job).
- Resolution: It can be resolved by assigning additional memory to the ABD template for the pool in question (i.e. going from 128MB to 512MB ram), and re-running the job.
PLEASE NOTE: This problem typically affects only older versions of Alike (pre v3.0). However, this error can occur in newer versions. If a newer installation of Alike encounters this issue, please open a support ticket.
Error Message: ABD Failed to mount ADS. mount: Cannot allocate memory
This misleading error may mean that the ABD appliance cannot fully connect to your CIFS network share, usually due to a permissions problem.
- Resolution: Double-check the NTFS and CIFS Sharing permissions on the Alike Data Store (ADS) allows full access by the user account defined in the Alike Manager under Settings–>Storage.
Miscellaneous Errors
Error Message: “Failed to copy databases”
- Resolution: Change the “Archive internal databases every___hours” setting under Tools–>System Settings–>Show Advanced Settings.
The default is undefined. Change this setting to archive every 6 to 8 hours.
Final Notes
If you didn’t find what you’re looking for here, or need help troubleshooting, please open a support ticket. See the KB article, “How to Use Quadric Support,” for instructions and tips on making your support experience as efficient as possible.