C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

SQL and Report Designer

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 3
WillemJ Posted: Tue, Jun 23 2009 3:49 PM

Good day

Can someone please tell me how to get a connectionstring to work with the Report Designer v 2.5.2

Provider=Microsoft.SqlServerCe.Client.3.5

It keep telling me provider not registered on local machine.

I created a sdf SQL Server Compact Edition Database and cannot get the connection string to work.

I even used code, still no luck

The connection string is currently set to:

 .ConnectionString = "Provider=Microsoft.SqlServerCe.Client.3.5;Data Source=C:\Program Files\DCS\MyApp\Database\MyDatabaseXDB.sdf;Password=MyPassword;Persist Security Info=True"

.RecordSource = "Barcodes"

 Just cannot seem to get joy out of it.

The error:

The 'Microsoft.SqlServerCe.Client.3.5' provider is not registered on the local machine.  Cannot open data source, please check ConnectionString and RecordSource properties

Top 10 Contributor
Posts 1,362
C1_Dima replied on Tue, Jun 30 2009 10:17 AM

Are you having this issue only with report designer, or with your own apps created in Visual Studio as well?

A google search for "microsoft.sqlserverce.client.3.5 connection string" brought up quite a few hits some of which seem to describe problems similar to what you're seeing, in particular this thread suggests a couple solutions:

http://social.msdn.microsoft.com/Forums/en-US/sqlce/thread/ff731bf4-1f50-4f77-955b-e4534474a271

Let me know whether this helps.

Cheers, Dima.
Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2009 ComponentOne LLC All Rights Reserved.