Data is not completely written to files that are located on a network share after you set the attributes of the files in Windows 2000 Service Pack 4 (826482)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Advanced Server
SYMPTOMSOn your Microsoft Windows 2000 Service Pack 4 (SP4)-based computer, if you use the WriteFile function to write data to a file that is located on a network share, and then you set the attributes of the file by using the SetFileAttributes function, you experience all the following symptoms: - Not all the data is written to the file. The size of the file that is located on the network share is smaller than expected.
- You do not receive an error message, and no error messages are logged to the event log.
- If you perform a Network Monitor trace of the operation, the size of the file is truncated to the same size that is returned to the CreateAndX request in the Windows 2000 Server Message Block (SMB) packet.
- You may not be able to open, to rotate, or to view the file on the network share by using the Microsoft Office Document Imaging program.
CAUSEThis problem occurs in situations where SMB incorrectly processes multiple open operations of the file. RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem. To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. PrerequisitesThis hotfix requires Windows 2000 SP4. Restart requirementYou have to restart the computer after you apply this hotfix. Hotfix replacement informationThis 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
-----------------------------------------------------------
13-Nov-2003 02:04 5.0.2195.6874 408,080 Mrxsmb.sys
13-Nov-2003 02:03 5.0.2195.6874 169,776 Rdbss.sys
13-Nov-2003 02:20 7,502 Kb371795.cat
WORKAROUNDTo work around the Microsoft Office Document Imaging issue that is described in the "Symptoms" section, disable opportunistic locking. Microsoft recommends that you disable opportunistic locking on the client computer that is experiencing this issue instead of on the server. By doing so, server performance is not affected.
For additional information about how to configure opportunistic locking in Windows, click the following article number to view the article in the Microsoft Knowledge Base:
296264
Configuring opportunistic locking in Windows
To work around the file-size-truncation issue that is also described in the "Symptoms" section, use the FlushFileBuffers function before you use the SetFileAttributes function. When you do so, you force data to be written to the file. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbBug kbfix kbWin2000preSP5fix KB826482 kbAudITPRO |
---|
|