FIX: When You Store an ActiveX Data Objects Recordset Object Session in Internet Information Server 5.0 (262681)
The information in this article applies to:
- Microsoft Active Server Pages
- ActiveX Data Objects (ADO) 2.5
- Microsoft Internet Information Server 5.0
This article was previously published under Q262681 SYMPTOMS
When an ActiveX Data Objects (ADO) recordset is stored in a session variable that is in an Active Server Pages (ASP) application, you may get one of the following error messages:
Microsoft VBScript runtime (0x800A01FB)
An exception occurred: 'Session' Active Server Pages, ASP 0241 (0x80004005)
The CreateObject of '(null)' caused exception C0000005.
Microsoft VBScript runtime (0x800A01FB)
An exception occurred: 'Open'
CAUSE
This problem occurs because the session variables in Internet Information Server (IIS) 5.0 are stored in the Global Interface Table (GIT), and this causes an access violation with an open recordset when it is stored in a session variable.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Microsoft Data Access Components version 2.6 or later. REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
249175 FIX: Storing an ADO Recordset in GIT Might Cause An Access Violation
248287 INFO: Understanding ADO Marshaling
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbADO260fix kbBug kbfix kbMDAC260fix KB262681 |
---|
|