Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Windows Redirector May Cancel a Session During a Long-Lasting Locking Operation


View products that this article applies to.

Symptoms

The Windows Redirector may incorrectly cancel a session during a long-lasting locking operation. This problem may occur when two clients access the same file on a server, where the following conditions are true:
  • "Client A" locks a file on the file server.
  • "Client B" also tries to lock the same file by calling the LockFileEx (hFile,LOCKFILE_EXCLUSIVE_LOCK) function.
  • The file server never returns the server message block call to client B because client A still has the file locked.
  • The client B Redirector times out and disconnects the session. (The time-out period is controlled by the
    Sesstimeout
    registry setting.)

↑ Back to the top


Cause

This problem may occur if the LOCKFILE_FAIL_IMMEDIATELY flag in the LockFileEx function is not set and if the server returns the server message block only when the file has been successfully locked. If this takes longer than the client-side session time-out, the client's Redirector cancels the connection.

↑ Back to the top


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 this specific problem. 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 Web site: Note 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

No prerequisites are required.

Restart Requirement

You must restart your computer after you apply this hotfix.

Hotfix Replacement Information

This hotfix does not replace any other hotfixes.

File Information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name             Platform
   ------------------------------------------------------------------------------
   25-Aug-2003  20:48  5.2.3790.80       395,264  Mrxsmb.sys            X86
   25-Aug-2003  20:48  5.2.3790.80       157,696  Rdbss.sys             X86
   12-Aug-2003  18:54                        271  Branches.inf          X86
   25-Aug-2003  22:39                     10,444  Kb827546.cat          X86
   25-Aug-2003  22:20                        354  Updatebr.inf          X86
   25-Aug-2003  22:20                      5,170  Update_rtmqfe.inf     X86
   25-Aug-2003  20:49  5.2.3790.80     1,121,792  Mrxsmb.sys            Ia64
   25-Aug-2003  20:48  5.2.3790.80       463,360  Rdbss.sys             Ia64
   25-Aug-2003  22:26                      5,190  Update_rtmqfe.inf     Ia64

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB827546, kbwinserv2003presp1fix, kbqfe, kbfix, kbbug, kbqfe, kbhotfixserver, kbautohotfix

↑ Back to the top

Article Info
Article ID : 827546
Revision : 18
Created on : 7/24/2007
Published on : 7/24/2007
Exists online : False
Views : 274