Delphi / Object Pascal · Database exception
What does EOleException Exception (ADO) mean in Delphi / Object Pascal?
Delphi's ADO wrapper (TADOConnection, TADOQuery, and related components) surfaces OLE DB/ADO provider failures as EOleException - a failed connection string, an ADO provider error executing a command, or a COM-level failure returned through the IDispatch interface ADO uses under the hood.
Delphi's ADO wrapper (TADOConnection, TADOQuery, and related components) surfaces OLE DB/ADO provider failures as EOleException - a failed connection string, an ADO provider error executing a command, or a COM-level failure returned through the IDispatch interface ADO uses under the hood.
Read the Source and ErrorCode properties to identify the actual OLE DB provider and native error instead of relying on the generic message text, and verify the provider is installed and registered and the connection string's Provider= clause matches an available OLE DB driver.