OnInfoMessage does not get called

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ludek
Posts: 301
Joined: Thu 12 Oct 2006 09:34

OnInfoMessage does not get called

Post by Ludek » Fri 16 May 2008 09:13

I have following problem with current SDAC - with OLE DB provider, the OnInfoMessage event of TMSConnection does not get called, only with the native client. (it made some problems to our customers, they had to install the sql native client to get the info messages from server)

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 16 May 2008 10:05

I could not reproduce the problem.
Please send me a complete small sample at sdac*crlab*com to demonstrate it, including script to create and fill table.

Also supply me the following information:
- exact version of SDAC. You can see it in the About sheet of TMSConnection Editor;
- exact version of your IDE;
- exact version of SQL server and client. You can see it in the Info sheet of TMSConnection Editor.

Ludek
Posts: 301
Joined: Thu 12 Oct 2006 09:34

Post by Ludek » Fri 16 May 2008 12:55

It happend on Vista without SP1, without sql native client installed, newest sdac ".16", compiled with D2006. I don't have such environment for testing, do you? I only know, that installation of sql native client on such computer solved the problem and that also XP SP3 without sql native client works fine... So I think, It could be a problem of Vista without Sp1 and without sql native client...

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 20 May 2008 13:45

We tested this issue on Windows Vista Service Pack 1 (client version 06.00.6001) and found no problems with it. For future investigations we need a complete small test application that reproduces this problem and the exact version of the installed SQL OLE DB provider. You can check the SQL OLE DB provider version at runtime using the ClientVersion property of TMSConnection.

Ludek
Posts: 301
Joined: Thu 12 Oct 2006 09:34

Post by Ludek » Thu 22 May 2008 05:23

I'll tell you as soon as I again find a non-working computer. I currently have none - all previously failing computers have now sql native client installed.

Post Reply