You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ado.net context assumes that the connection string passed in can be found in the app.config, however; this is not a how it should work.
This method is not working!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This will return an invalid connection string settings in some cases. Needs to investigate...
privatestaticConnectionStringSettingsGetConnectionStringSettings(stringnameOrConnectionString){varcss=ConfigurationManager.ConnectionStrings[nameOrConnectionString];if(css==null){for(vari=0;i<ConfigurationManager.ConnectionStrings.Count;i++){css=ConfigurationManager.ConnectionStrings[i];if(css.ConnectionString.Equals(nameOrConnectionString))break;}}if(css==null)thrownewArgumentException("The connection string does not exist in your configuration file.");returncss;}
johelvisguzman
changed the title
The ado.net connection settings is not working as expected
The ado.net context is not able to read a provider from a raw connection string
Jul 18, 2019
johelvisguzman
changed the title
The ado.net context is not able to read a provider from a raw connection string
The ado.net context is not able to read raw connection string
Jul 18, 2019
johelvisguzman
changed the title
The ado.net context is not able to read raw connection string
The ado.net context is not able to properly read a connection string from the config file
Aug 5, 2019
The ado.net context assumes that the connection string passed in can be found in the app.config, however; this is not a how it should work.
This method is not working!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This will return an invalid connection string settings in some cases. Needs to investigate...
Maybe do this
The text was updated successfully, but these errors were encountered: