Microsoft KB Archive/899750

= FIX: &quot;ERROR_NOACCESS&quot; error message when you call the LoadLibrary or LoadLibraryEx functions on a Windows Server 2003-based computer =

Article ID: 899750

Article Last Modified on 10/11/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Standard x64 Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems

-





SYMPTOMS
When you call the LoadLibrary or LoadLibraryEx functions to map a specified executable module into the address space of the calling process on a Windows Server 2003-based computer, you may receive the following error message:

ERROR_NOACCESS



Service pack information
To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

Prerequisites
To apply this hotfix, you must have Windows Server 2003 Service Pack 1 (SP1) installed on your computer.

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 file attributes) 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 item in Control Panel.

Microsoft Windows Server 2003, x86-based versions with Service Pack 1

Microsoft Windows Server 2003, Itanium-based versions with Service Pack 1

Microsoft Windows Server 2003, x64-based versions



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows Server 2003 Service Pack 2.



MORE INFORMATION
The Windows NT STATUS_ACCESS_VIOLATION status code is mapped to the Win32 ERROR_NOACCESS error code. Therefore, if the operating system loader encounters an access violation such as exception C0000005 when the specified .dll file image is mapped or when startup code runs, the loader sets the last error code to 998 (ERROR_NOACCESS). When this behavior occurs, the LoadLibrary function fails and returns a value of NULL.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: 32-bit process

Keywords: kberrmsg kbbug kbfix kbqfe kbhotfixserver kbwinserv2003sp2fix KB899750

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.