FIX: System.StackOverflowException Error When You Access the UnderlyingValue Property (316319)
The information in this article applies to:
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
- Microsoft .NET Framework 1.0
This article was previously published under Q316319 SYMPTOMS When you try to access the Underlying Value property of a field by using ActiveX Data Objects (ADO) with the
Component Object Model (COM) interoperability layer, you may encounter the
following exception: An unhandled exception of type
'System.StackOverflowException' occurred in adodb.dll RESOLUTION To work around this problem, declare the variable as type Object instead of Recordset to late bind the Recordset object, as in the following example:
Dim rs As Object = New Recordset()
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 Windows .NET Framework 1.1 .
REFERENCES For more details about the .NET Framework and the COM
Interop layer, browse to the following MSDN Web site: For more information about UnderlyingValue property, refer to the following MSDN Web sites:
Modification Type: | Major | Last Reviewed: | 9/26/2006 |
---|
Keywords: | kbfix kbbug kberrmsg kbnofix KB316319 |
---|
|