Hi all, I got this
Error Message while I try to preview the records in Dataset Designer:
"The connection string could not be found or Data provider associated with the connection string could not be loaded"
Here is my dataset.xsd code
<Connections>
<Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="loginConnectionString1" IsAppSettingsProperty="true" Modifier="Assembly" Name="loginConnectionString1 (MySettings)" PropertyReference="ApplicationSettings.PAPv1._0.My.MySettings.GlobalReference.Default.loginConnectionString1" Provider="System.Data.OleDb" />
</Connections>
I tried my best to solve the problem by Removing the duplicate connection strings in my dataset but it does not works.
Another Error "Object Reference not set to an instance of an Object" arises when I try to change the Connection string.
Here is app.config code
<connectionStrings>
<add name="PAPv1._0.My.MySettings.loginConnectionString1" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Resources\login.mdb;Persist Security Info=True"
providerName="System.Data.OleDb" />
</connectionStrings>
#here I added providerName manually
Please Help:confused: