Reputation:
I am trying to connect to a sdf file on a Intermec Windows Mobile 6.5.3 device. The handheld is using SQL Server Compact 3.5. My PC has SQL Server 2008 R2 installed. I am able to connect, through SQL Server 2008 Management Studio, to a sdf file if I copy it from the handheld onto my computer. However, when I try connecting to the sdf file on the handheld I get the following error message from studio management.
Cannot connect to Mobile Device\Program Files\app\Data\app.sdf.
Additional information:
Unable to configure ActiveSync for use with this application.
You don't have the required privileges on this machine to complete this
operation. Contact your machine administrator for assistance.
(SQL Server Compact ADO.NET Data Provider)
One of our older applications used SQL Server Compact 3.0 and I was able to connect to the sdf file on the handheld through SQL Server 2005 Management Studio.
Anyone have any ideas?
Upvotes: 0
Views: 2157
Reputation: 11
SqlCeConnection cn = new SqlCeConnection(@"Data Source=\Storage Card\Program Files\ProjectName\TestDatabase.sdf");
Upvotes: 1