Page 1 of 1

Access Violation, database active at designtime, crashes at runtime

Posted: Mon 02 Jun 2008 09:38
by Erik van Putten
Hi I have upgraded to SDAC 4.50.0.34 and have found the following problem.

(Running on Delphi 2007 with all available updates and patches under Vista)

When I place a SQL Connection, a TMSDatasource and an TMSTable on a form without activating and then connecting them and activating them at Runtime everything runs fine.

If however the SQL Connection and the TMSTable are activated at designtime (with the option KeepDesignConnected set to false), the moment the SQL Connection is Connected at Runtime I get an Access Violation.

I tried this at two different machines, both get the same problem, the problem does not arise in version 4.35 of SDAC.

It is really helpfull to have this option working to be able see the data at designtime.

p.s. Only having the SQL connection connected at designtime and the rest at runtime also does not create an Access Violation.

Is the same error as formi has reported, or does this still need to be fixed for the next release ?

Kind Regards, Erik.

Posted: Tue 03 Jun 2008 15:40
by Antaeus
Thank you for information we have reproduced this problem and fixed it. This fix will be included in the next SDAC build.

Posted: Tue 03 Jun 2008 18:28
by Erik van Putten
Thanks, can't wait for the next release :)