Sql db connection problemSBsiddu benagal9yAsked May 12, 2017, 4:21 AM EDT6 answersShareLinkedInXCopy linkSave hi i am facing problem with sql db , i installed application in other system with database but its giviing error like this
Sql db connection problemSBsiddu benagal9yAsked May 12, 2017, 4:21 AM EDT6 answersShareLinkedInXCopy linkSave hi i am facing problem with sql db , i installed application in other system with database but its giviing error like this
Manas MohapatraRank #182 · 13.2K reputation9y agoPosted May 12, 2017, 4:32 AM EDT+2It may have couple reasons: 1. Make sure that server, database, username, password is correct2. Make sure that SQLServer is running mode. Check command services.msc and search for SQLServer. It should be in running mode.3. Make sure that you have access to database server. Sometimes firewall block your request. +2
Dharmraj ThakurRank #577 · 4.2K reputation9y agoPosted May 12, 2017, 5:20 AM EDT+1Show your sql server configurations and connection string....+1
SBsiddu benagal31 reputation9y agoPosted May 12, 2017, 6:07 AM EDT+1 providerName="System.Data.sqlClient"/> this above code is my connection string in app.config.. +1Karthik ElumalaiRank #544 · 4.5K reputation9y agoPosted May 12, 2017, 5:57 PM EDT+1Hi siddu Its actually a simple problem to solve, it occured many times for me. solution:just type services.msc in start menu and click the icon. Then you will get the screen like above, just ensure that marked services has started. if not started ,just right click the service and click start. Once the required services started, you will get the solution. Kindly let me know your thoughts or feedbacks thankskarthik +1Jitendra ShekhawatRank #1,909 · 772 reputation9y agoPosted May 12, 2017, 5:09 AM EDT0http://stackoverflow.com/questions/20798032/provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server http://stackoverflow.com/questions/9945409/how-do-i-fix-the-error-named-pipes-provider-error-40-could-not-open-a-connec http://stackoverflow.com/questions/20798032/provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server 0Jitendra ShekhawatRank #1,909 · 772 reputation9y agoPosted May 12, 2017, 5:10 AM EDT0http://www.c-sharpcorner.com/article/resolve-error-40-could-not-open-a-connection-to-sql-server/ https://www.youtube.com/watch?v=v6cON63VGuY https://forums.asp.net/t/1961312.aspx?provider+Named+Pipes+Provider+error+40+Could+not+open+a+connection+to+SQL+Server+on+server 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
Karthik ElumalaiRank #544 · 4.5K reputation9y agoPosted May 12, 2017, 5:57 PM EDT+1Hi siddu Its actually a simple problem to solve, it occured many times for me. solution:just type services.msc in start menu and click the icon. Then you will get the screen like above, just ensure that marked services has started. if not started ,just right click the service and click start. Once the required services started, you will get the solution. Kindly let me know your thoughts or feedbacks thankskarthik +1
Jitendra ShekhawatRank #1,909 · 772 reputation9y agoPosted May 12, 2017, 5:09 AM EDT0http://stackoverflow.com/questions/20798032/provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server http://stackoverflow.com/questions/9945409/how-do-i-fix-the-error-named-pipes-provider-error-40-could-not-open-a-connec http://stackoverflow.com/questions/20798032/provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server 0
Jitendra ShekhawatRank #1,909 · 772 reputation9y agoPosted May 12, 2017, 5:10 AM EDT0http://www.c-sharpcorner.com/article/resolve-error-40-could-not-open-a-connection-to-sql-server/ https://www.youtube.com/watch?v=v6cON63VGuY https://forums.asp.net/t/1961312.aspx?provider+Named+Pipes+Provider+error+40+Could+not+open+a+connection+to+SQL+Server+on+server 0
Manas MohapatraRank #182 · 13.2K reputationPosted May 12, 2017, 4:32 AM EDT
Dharmraj ThakurRank #577 · 4.2K reputationPosted May 12, 2017, 5:20 AM EDT
siddu benagal31 reputationPosted May 12, 2017, 6:07 AM EDT
Karthik ElumalaiRank #544 · 4.5K reputationPosted May 12, 2017, 5:57 PM EDT
Jitendra ShekhawatRank #1,909 · 772 reputationPosted May 12, 2017, 5:09 AM EDT
Jitendra ShekhawatRank #1,909 · 772 reputationPosted May 12, 2017, 5:10 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts