New File Created with CreateFileMapping() Returns ERROR_LOCK_VIOLATION (266749)
The information in this article applies to:
- Microsoft Windows 2000 Server
This article was previously published under Q266749 SYMPTOMS
When you create a file with the CreateFileMapping function, you may receive an ERROR_LOCK_VIOLATION response.
CAUSE
This error occurs if the NTFS Transaction log becomes full while you are creating the file mapping. Memory Manager is not waiting long enough for NTFS to flush the transaction log and returns the error, causing the function not to succeed.
RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
-----------------------------------------------------
07/26/2000 08:02p 5.0.2195.2103 511,760 Ntfs.sys
STATUSMicrosoft has confirmed that this is a problem in Windows 2000. This problem was first corrected in Windows 2000 Service Pack 2.
Modification Type: | Minor | Last Reviewed: | 10/17/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbfix kbWin2000PreSP2Fix KB266749 |
---|
|