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



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q274225

SYMPTOMS

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.

-or-

DEVENV.EXE Application Error: The memory could not be "written"
Then, Visual InterDev stops responding (crashes) and closes.

CAUSE

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.

RESOLUTION

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:

STATUS

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.

REFERENCES

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)


Modification Type:MajorLast Reviewed:1/26/2006
Keywords:kbBug kbfix kbide kbVisID600fix KB274225