Microsoft KB Archive/265568

= BUG: Memory Could Not Be Read Error with Visual InterDev 6.0 Recordset DTC =

Article ID: 265568

Article Last Modified on 5/29/2003

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01

-



This article was previously published under Q265568



SYMPTOMS
If you have designed an HTML or Active Server Page (ASP) page in Visual InterDev 6.0 that uses a Recordset Design-Time Control (DTC) with a scripting platform of Client (IE 4.0 DHTML), you may encounter the following error when you view the page in an Internet Explorer 5 browser:

The instruction at &quot;0x75af2128&quot; referenced memory at &quot;0x00000013&quot;. The memory could not be &quot;read&quot;.



CAUSE
The error occurs because of a bug with the MSHTML.dll file when this file attempts to rebind the data that is returned from the Recordset DTC. This only occurs if the Recordset DTC is already open when your code calls the open method.

NOTE: If your code calls the setRecordSource method of the Recordset DTC, this reopens the recordset and may also cause the error.



RESOLUTION
You can work around this problem by testing to see if the Recordset DTC is already open before your code opens it. For example: 

function window_onload { if (!Recordset1.isOpen) { Recordset1.open } }





STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This problem was corrected in Internet Explorer 5.5.

Keywords: kbbug kbfix kbie550fix kbctrl KB265568

-

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

© Microsoft Corporation. All rights reserved.