I got a error .. plz explain itSSSafeer Safeer13yAsked Aug 20, 2013, 4:03 AM EDT6 answersShareLinkedInXCopy linkSave
I got a error .. plz explain itSSSafeer Safeer13yAsked Aug 20, 2013, 4:03 AM EDT6 answersShareLinkedInXCopy linkSave
IHIftikar HussainRank #423 · 5.9K reputation13y agoPosted Aug 20, 2013, 4:09 AM EDT0Hi, Please check your web.config file weather the value config is exist or not connectionString="SQLEXPRESS;Initial Catalog=Dummy;Persist Security Info=True;User ID=sa;Password=password" providerName="System.Data.SqlClient" /> Regards,Iftikar0JSJoxin Stanly181 reputation13y agoPosted Aug 20, 2013, 4:09 AM EDT0Could you please paste the error here?from the screenshot, it shows 0 errors 0Sanjeeb LenkaRank #301 · 8.3K reputation13y agoPosted Aug 20, 2013, 4:12 AM EDT0check your web.confg that you declare the connection string or not.ex: providerName="System.Data.SqlClient" /> 0Nayeem MansooriRank #3,979 · 374 reputation13y agoPosted Aug 20, 2013, 4:44 AM EDT0Hi, Please check your web.config file weather the value config is exist or not string Connectionstring = ConfigurationManager.AppSettings["ConnectionString"].ToString();0MNManj N144 reputation13y agoPosted Aug 20, 2013, 5:13 AM EDT0u try this SqlConnection MyConnection = new SqlConnection(ConfigurationManager.AppSettings["ConnectionString"].ToString());and in webconfg 0SSSafeer Safeer171 reputation13y agoPosted Aug 20, 2013, 7:55 PM EDT0thnx. .ya'll i got it...!!0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
JSJoxin Stanly181 reputation13y agoPosted Aug 20, 2013, 4:09 AM EDT0Could you please paste the error here?from the screenshot, it shows 0 errors 0
Sanjeeb LenkaRank #301 · 8.3K reputation13y agoPosted Aug 20, 2013, 4:12 AM EDT0check your web.confg that you declare the connection string or not.ex: providerName="System.Data.SqlClient" /> 0
Nayeem MansooriRank #3,979 · 374 reputation13y agoPosted Aug 20, 2013, 4:44 AM EDT0Hi, Please check your web.config file weather the value config is exist or not string Connectionstring = ConfigurationManager.AppSettings["ConnectionString"].ToString();0
MNManj N144 reputation13y agoPosted Aug 20, 2013, 5:13 AM EDT0u try this SqlConnection MyConnection = new SqlConnection(ConfigurationManager.AppSettings["ConnectionString"].ToString());and in webconfg 0
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 20, 2013, 4:09 AM EDT
Please check your web.config file weather the value config is exist or not
Regards,
Iftikar
Joxin Stanly181 reputationPosted Aug 20, 2013, 4:09 AM EDT
from the screenshot, it shows 0 errors
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Aug 20, 2013, 4:12 AM EDT
ex:
Nayeem MansooriRank #3,979 · 374 reputationPosted Aug 20, 2013, 4:44 AM EDT
Please check your web.config file weather the value config is exist or not
string Connectionstring = ConfigurationManager.AppSettings["ConnectionString"].ToString();
Manj N144 reputationPosted Aug 20, 2013, 5:13 AM EDT
SqlConnection MyConnection = new SqlConnection(ConfigurationManager.AppSettings["ConnectionString"].ToString());
and in webconfg
Safeer Safeer171 reputationPosted Aug 20, 2013, 7:55 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts