Microsoft KB Archive/274225

= FIX: &quot;Unhandled Exception in DEVENV.exe&quot; Error When You Save a File in Visual InterDev =

Article ID: 274225

Article Last Modified on 1/26/2006

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



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 &quot;written&quot;

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:

http://www.microsoft.com/windows/ie/default.mspx



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.



Steps to Reproduce Behavior
NOTE: These steps illustrate one easily reproducible example; there are other text strings that cause this type of crash.  Verify that your version of Triedit.dll is version 6.01.8243. In Visual InterDev, create a new Web project, and then add a new HTML or ASP page to the project.  While in Source view, add the following HTML tag somewhere within the  tags on the page: TEST  Switch to Design view, and type some text on the page.</li> Save the file, or switch back to Source view.</li></ol>

<div class="references_section">