OLE DB error occured. Code 80110474h

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 28
Joined: Wed 18 Jan 2012 20:15

OLE DB error occured. Code 80110474h

Post by GNiessen » Wed 18 Jan 2012 20:24

I have a console application that ran fine until I added a module that does a https post using the indy controls. It is almost like the coInitialize is not working.

I have a separate vcl form app that does the same https post and the database connect works fine.

Any experience with this issue?


Post by AndreyZ » Thu 19 Jan 2012 09:27


Please check that you call CoInitialize and CoUninitialize in your console application. If the problem persists, please try creating a small sample to demonstrate the problem and send it to andreyz*devart*com. Also please specify the following:
- the exact version of your IDE;
- the exact version of SDAC. You can learn it from the About sheet of TMSConnection Editor;
- the exact version of SQL server and client. You can learn it from the Info sheet of TMSConnection Editor.

Post Reply