when i run an web app i get the following error message in the connection string are: Object reference not set to an instance of an object.The Below code is i am using
string connectionString = ConfigurationManager.ConnectionStrings["I PUT MY CONNECTION STRING IS HERE"].ConnectionString;
Can Any one try to hep me.
Thank You...


Manas MohapatraRank #182 · 13.2K reputationPosted Apr 28, 2016, 7:06 AM EDT
Vipul MalhotraRank #276 · 9.1K reputationPosted Apr 28, 2016, 7:06 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted May 1, 2016, 8:37 AM EDT
Satheesh PalaniRank #4,713 · 329 reputationPosted Apr 29, 2016, 12:03 AM EDT