OLEDB APPLICATION THROWS ACCESS VIOLATION EXCEPTION
Last updated on JULY 05, 2017
Applies to:Oracle Provider for OLE DB - Version 188.8.131.52 to 184.108.40.206 [Release 11.2]
Information in this document applies to any platform.
Issue is specific to 220.127.116.11 Patch Bundle 34 on Windows.
After installing the 18.104.22.168 patch bundle 34, Oracle database using ADO fails.
CursorTypeEnum cursorType = adOpenForwardOnly;
LockTypeEnum locktype = adLockReadOnly;
// _bstr_t strCommandText contains the SQL we wish to execute and is obviously dependent on our schema and data
objRecordset.CreateInstance("ADODB.Recordset"); // this seems to work
objRecordset->Open(strCommandText, _variant_t((IDispatch *)m_Connection,true), cursorType,lockType,adCmdText); // This call fails with Access Violation error
No problems connecting through SQL Plus.
Applied Windows 22.214.171.124 Patch Bundle 34
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms