FIX: "Unhandled Exception in DEVENV.exe" Error When You Save a File in Visual InterDev

This article was previously published under Q274225
This article has been archived. It is offered "as is" and will no longer be updated.
In Visual InterDev, when you save a file or change from Design view to Source view, you may receive one of the following error messages:
Unhandled Exception in DEVENV.EXE. The memory cannot be read.
DEVENV.EXE Application Error: The memory could not be "written"
Then, Visual InterDev stops responding (crashes) and closes.
Triedit.dll version 6.01.8243, which ships with Microsoft Visual Studio 6.0 Service Pack 3 and Service Pack 4, seems to fail when you enter certain text strings into an HTML or Active Server Pages (ASP) page and then save the file or toggle from Design view to Source view. The error occurs when the Triedit.dll file attempts to parse the text and subsequently crashes Visual InterDev.
Upgrade to version 6.01.8851 of Triedit.dll, which ships with Microsoft Internet Explorer 5.5.

To download the latest version of Internet Explorer, see the following Microsoft Web site:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Internet Explorer 5.5, Triedit.dll version 6.01.8851.
More information

Steps to Reproduce Behavior

NOTE: These steps illustrate one easily reproducible example; there are other text strings that cause this type of crash.
  1. Verify that your version of Triedit.dll is version 6.01.8243.
  2. In Visual InterDev, create a new Web project, and then add a new HTML or ASP page to the project.
  3. While in Source view, add the following HTML tag somewhere within the <BODY> tags on the page:
    <FONT face="Arial,Geneva,Helvetica,Sans-Serif">TEST</FONT>					
  4. Switch to Design view, and type some text on the page.
  5. Save the file, or switch back to Source view.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
265092 Internet Explorer 5.5 for Windows 95, Windows 98, and Windows NT 4.0 File List (1 of 3)

Article ID: 274225 - Last Review: 10/26/2013 16:19:00 - Revision: 3.0

  • Microsoft Visual InterDev 6.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix kbide kbvisid600fix KB274225