Microsoft KB Archive/816538

= Access Violation Occurs When You Run the SPY++ Program in Windows Server 2003 =

Article ID: 816538

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Visual Studio 6.0 Service Pack 5
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



SYMPTOMS
When you start the Spy++ program from Microsoft Visual Studio 6 or Microsoft Visual Studio .NET, and then on the Spy menu, click Processes or Threads, you may receive an error message similar to the following error message:

The instruction at &quot;0x0043d5cc&quot; referenced memory at &quot;0x4352680b&quot;. The memory could not be &quot;read&quot;.

Click on OK to terminate the program

Click on CANCEL to debug the program



CAUSE
This behavior may occur if the following conditions are true:
 * You install Visual Studio 6 or Visual Studio .NET on a Microsoft Windows Server 2003-based computer.

-and-
 * You run the Spy++ program as a limited user.

An access violation occurs because the SPY++ program tries to open performance counter registry keys under the context of the limited user. The program cannot successfully open the performance counter registry keys unless it does so in the context of a user account that is a member of the Performance Monitor Users local group.



RESOLUTION
To resolve this behavior, add the limited user to the Performance Monitor Users local group on the server.

Keywords: kbprb KB816538

-

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

© Microsoft Corporation. All rights reserved.