Versions 6.0.1 thru 6.1.4 assertion failure on XE2 update 3
Posted: Tue 10 Jan 2012 15:54
In 6.1.4
"Assertion failure (D:\Projects\Delphi\Dac\SqlServer\Source\OLEDBAccess.pas, line 13196)"
In 6.0.1
"Assertion failure (D:\Projects\Delphi\Dac\SqlServer\Source\OLEDBAccess.pas, line 12755)"
Not having the source code version, can you point me in the right direction to work out what might be causing this. I'm sure the assertion is the same line of code in both releases...
It may very well be tied to "Command text was not set for the command object". However the SQL is most definitly set!
I've simplified the setup so that a TMSConnection is just used by the one TMSQuery. THis query is an "insert" statement (into an activity log type table). The query is setup at program start and never modified. New parameter values are set and ".Execute" called. 99% of the time, the statement works fine. This type of code is nothing out of the ordinary and such techniques have not caused problems with SDAC previously.
The only thing you may consider slightly out of the oridinary is our use of
"OLEDBAccess.ParamsInfoOldBehavior := true;"
This we have been using for the last 4 years as advised to me here :-
http://www.devart.com/forums/viewtopic. ... highlight=
I now have this code in production for a customer with an exception handler wrapped around it , so any advice would be greatly appreciated.
Paul.
"Assertion failure (D:\Projects\Delphi\Dac\SqlServer\Source\OLEDBAccess.pas, line 13196)"
In 6.0.1
"Assertion failure (D:\Projects\Delphi\Dac\SqlServer\Source\OLEDBAccess.pas, line 12755)"
Not having the source code version, can you point me in the right direction to work out what might be causing this. I'm sure the assertion is the same line of code in both releases...
It may very well be tied to "Command text was not set for the command object". However the SQL is most definitly set!
I've simplified the setup so that a TMSConnection is just used by the one TMSQuery. THis query is an "insert" statement (into an activity log type table). The query is setup at program start and never modified. New parameter values are set and ".Execute" called. 99% of the time, the statement works fine. This type of code is nothing out of the ordinary and such techniques have not caused problems with SDAC previously.
The only thing you may consider slightly out of the oridinary is our use of
"OLEDBAccess.ParamsInfoOldBehavior := true;"
This we have been using for the last 4 years as advised to me here :-
http://www.devart.com/forums/viewtopic. ... highlight=
I now have this code in production for a customer with an exception handler wrapped around it , so any advice would be greatly appreciated.
Paul.