Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How do I test the existance of a open connection to a SQl CE 3.0 database Expand / Collapse
Author
Message
Posted Friday, June 20, 2008 7:52 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Yesterday @ 1:43 AM
Points: 16, Visits: 167
SQL CE 3.0 can handle only one open connection.

I working on a device with 2 applications running on the same database (user app and separate synchronization process on the background).

When the synchronization app has the database open the second app crashes when it tries to open the database.

Does anyone know a proper way how to check whether an other application has already a connection open to the database.

We are developing on VB.Net compact framework 2.0

Regards,

HD.

Post #520687
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse