Page 1 of 1

OnInfoMessage does not get called

Posted: Fri 16 May 2008 09:13
by Ludek
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)

Posted: Fri 16 May 2008 10:05
by Antaeus
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.

Posted: Fri 16 May 2008 12:55
by Ludek
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...

Posted: Tue 20 May 2008 13:45
by Antaeus
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.

Posted: Thu 22 May 2008 05:23
by Ludek
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.