PRB: DEVENV.EXE Application Error - "memory could not be read"

ID: Q248313


The information in this article applies to:
  • Microsoft Visual Studio 6.0 sp1, sp2, sp3


SYMPTOMS

Visual Studio 6.0 installs and reinstalls with no errors, but when you start Visual InterDev the following error message appears:

Devenv.exe Application Error - "memory could not be read"
Visual InterDev starts if a new Windows NT user account is created and logged into the system.


CAUSE

This error is caused by a corrupt user profile for Visual Studio.


RESOLUTION

To resolve the problem, rename the *.prf files to *.123 under the users (userid) folder as follows:


WINNT\profile\microsoft\(user id)\application data\microsoft\visual studio 
Visual InterDev rebuilds these items for the user when started.


STATUS

This behavior is by design.


MORE INFORMATION

This condition may also be present with Visual C++.

Steps to Reproduce Behavior

  1. Create new *.prf files under the following folder using erroneous information and the *.prf names:


  2. 
    WINNT\profile\microsoft\(user id)\application data\microsoft\visual studio 
  3. Try to start Visual InterDev.



REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

Q197122 PRB: 'Memory Could Not Be Read' Error in Visual Studio Setup

Additional query words:

Keywords : kbVisID600 kbDSupport
Version : WINDOWS:6.0 sp1, sp2, sp3
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.