Satheesh Palani

Satheesh Palani

  • NA
  • 333
  • 85.5k

Object reference not set to an instance of an object

Apr 28 2016 10:42 AM
Hi all,<br /> <div> </div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp; when i run an web app i get the following error message<strong> </strong>in the connection string are:<strong> Object reference not set to an instance of an object.</strong>The Below code is i am using</div><div>&nbsp;</div> <div> string connectionString = ConfigurationManager.ConnectionStrings["<strong>I PUT MY CONNECTION STRING IS HERE</strong>"].ConnectionString; &nbsp;</div><div>&nbsp;</div><div>Can Any one try to hep me.</div> <div>&nbsp;</div> <div>&nbsp;</div> <div>Thank You... </div>

Answers (4)