Page 1 of 1

try to multi connect sqlce but raised EFOpenError

Posted: Tue 24 Mar 2009 02:53
by swangwh
I run the demo program in directory "Devart\DbxSda\Demos\Win32\SQLServerCompact" ,It's work OK.
I try to test multi connection ,I do the follow
1. add three SQLConnection component
2. set SQLconnection property as same as original one
3. add a button
4. set button click event
SQLConnection1.Connected := true;
SQLConnection2.Connected := true;
SQLConnection3.Connected := true;

but It's raise EFOpenError with message "Can't open file ....\*.sdf"。
I want uses sqlce in multi thread,how to solve?

thanks

Posted: Tue 24 Mar 2009 09:18
by Dimon
You can see this exeption only if you run the application from IDE. This exception is raised on internal level and it is processed by DbxSda.