redmission
asked on
VB.NET - Unable to find connection
I get "Unable to find connection 'TMMConnectionString' for object 'MySettings'.
The connection string could not be found in application settings, or the data provider
associated with the connection string could not be loaded. "
I've looked at the .xsd file in the XML Editor, and I have the code snippet attached here I only have this one connection string. When I run the program, everything works just fine! But when I try to update the queries or add any columns, etc. in the .xsd DataSet Designer, I get the error. I've also attached the screenshot of the error. Any ideas?
The connection string could not be found in application settings, or the data provider
associated with the connection string could not be loaded. "
I've looked at the .xsd file in the XML Editor, and I have the code snippet attached here I only have this one connection string. When I run the program, everything works just fine! But when I try to update the queries or add any columns, etc. in the .xsd DataSet Designer, I get the error. I've also attached the screenshot of the error. Any ideas?
<Connections>
<Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="TMMConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="TMMConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TMM.My.MySettings.GlobalReference.Default.TMMConnectionString" Provider="System.Data.SqlClient">
</Connection>
</Connections>
screenshot.gif
That are the configurations for the dataset and how about the configurations for the MySettings ? Check the app.config file in the connectionStrings if you have that one.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.