I have created a WPF application that uses SQL CE 4.0 database and runs fine, however, when I try to view a report that uses the same database I get the below error
An error has occurred while processing Report 'RacerAverages':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
------------- InnerException -------------
Unable to find the requested .Net Framework Data Provider. It may not be installed.
The report works fine in the VS 2010 environment and all data is shown but not when deployed or run in debug mode. All CE .dlls are copied to the Debug folder?
Is there something special I am missing? Below is my config settings...
An error has occurred while processing Report 'RacerAverages':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
------------- InnerException -------------
Unable to find the requested .Net Framework Data Provider. It may not be installed.
The report works fine in the VS 2010 environment and all data is shown but not when deployed or run in debug mode. All CE .dlls are copied to the Debug folder?
Is there something special I am missing? Below is my config settings...
<add name="RacingApp.Properties.Settings.RacerAveragesSQL" connectionString="Data Source=C:\data\RacingAppData.sdf" providerName="Microsoft.SqlServerCe.Client.4.0" /> I have the SQL 4.0 CE and VS 2010 Tools installed. I have seen this Thread, which seems to be similar but have done everything mentioned with no resolution? Please help, this has been a thorn in my side for weeks now... thanks, SD.