Executing a Simple Query with C++ ADO and the Oracle Provider for OLE DB Returns an HRESULT of DB_S_ERRORSOCCURRED (Doc ID 1274798.1)

Last updated on JANUARY 28, 2011

Applies to:

Oracle Provider for OLE DB - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Generic Windows

Symptoms

Executing a simple query and opening a recordset in an ADO C++ application using the Oracle Provider for OLE DB returns an HRESULT of DB_S_ERRORSOCCURRED instead of S_OK.

Cause

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