OLE DB Error details
Posted: Tue 19 Aug 2014 10:31
Hello,
I'm doing some tests with exceptions with Delphi 2007 and SQL Server 2012 (SDAC 6.10.21). With errors in a stored procedure for instance, it works fine because I can get the original message from EOLEDBError.MessageWide. But if a do a kill of my session I get a "Unspecified error" and an ErrorCode 80004005.
I'm wondering if there's a way to have a more detailed error message somewhere in a hidden API ? Otherwise maybe I should consider this message as a "Lost link with the server".
Thanks
I'm doing some tests with exceptions with Delphi 2007 and SQL Server 2012 (SDAC 6.10.21). With errors in a stored procedure for instance, it works fine because I can get the original message from EOLEDBError.MessageWide. But if a do a kill of my session I get a "Unspecified error" and an ErrorCode 80004005.
I'm wondering if there's a way to have a more detailed error message somewhere in a hidden API ? Otherwise maybe I should consider this message as a "Lost link with the server".
Thanks