How to connect with SDF file located in mobile device

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
salemhaffar
Posts: 4
Joined: Thu 19 Aug 2010 12:23

How to connect with SDF file located in mobile device

Post by salemhaffar » Mon 08 Nov 2010 13:56

Hello everyone
I am working on a new desktop application, this application must connect with a SDF file (sql server compact edition) on a windows mobile via activesync.

I have tried to connect with SDF file on my desktop using uniconnection and work fine, but I dont know what I have to type in the database name property to connect with a sdf located on windows mobile that connected with activsync..

I wish that you undesrtand what I mean

Thank you

AndreyZ

Post by AndreyZ » Tue 09 Nov 2010 14:15

Hello,

This problem is connected with the OLEDB SQL Server specificity and not with SDAC. Try connecting to SQL Server CE database with Microsoft SQL Server Managment Studio. If you can do this, put the database path from Microsoft SQL Server Managment Studio into the TUniConnection.Database property and try connecting to the database.

Post Reply