OLEDB APPLICATION THROWS ACCESS VIOLATION EXCEPTION
Last updated on JULY 05, 2017
Applies to:Oracle Provider for OLE DB - Version 18.104.22.168 to 22.214.171.124 [Release 11.2]
Information in this document applies to any platform.
Issue is specific to 126.96.36.199 Patch Bundle 34 on Windows.
After installing the 188.8.131.52 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 184.108.40.206 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