{"id":2531,"date":"2015-08-03T18:05:10","date_gmt":"2015-08-03T18:05:10","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2531"},"modified":"2015-08-03T18:05:10","modified_gmt":"2015-08-03T18:05:10","slug":"a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/08\/03\/a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server\/","title":{"rendered":"A network-related or instance-specific error occurred while establishing a connection to SQL Server."},"content":{"rendered":"<p>Windows 2008 R2<\/p>\n<p>1) SQL Server should be up and running.<\/p>\n<p>All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager >> SQL Server Services, and check if SQL Server service status is \u201cRunning\u201d.<\/p>\n<p>Run \u201csqlcmd -L\u201d in your command prompt to ascertain if your server is included in your network list.<\/p>\n<p>2) Enable TCP\/IP in SQL Server Configuration<\/p>\n<p>When two or more SQL Servers are connected across network they do all communication using TCP\/IP. The default port of SQL Server installation is 1433. This port can be changed through SQL Server Configuration Manager. TCP\/IP should be enabled for SQL Server to be connected.<\/p>\n<p>Go to All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager >> Select TCP\/IP >> right click and enable<\/p>\n<p>3) Open Port in Windows Firewall<\/p>\n<p>Go to Control Panel >> Windows Firewall >> Change Settings >> Exceptions  >> Add Port<\/p>\n<p>Make the following entries in popup \u201cAdd a Port\u201d and click OK.<br \/>\nName : SQL<br \/>\nPort Number: 1433<br \/>\nProtocol: Select TCP<\/p>\n<p>1) SQL Server should be up and running.<\/p>\n<p>Go to All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager >> SQL Server Services, and check if SQL Server service status is \u201cRunning\u201d.<\/p>\n<p>2) Enable TCP\/IP in SQL Server Configuration<\/p>\n<p>Go to All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager >> Select TCP\/IP >>Right Click on TCP\/IP >> Click on Enable<\/p>\n<p>restart SQL Server Services<\/p>\n<p>3) Open Port in Windows Firewall<\/p>\n<p>Go to Control Panel >> Windows Firewall >> Change Settings >> Exceptions  >> Add Port<\/p>\n<p>Make the following entries in popup \u201cAdd a Port\u201d and click OK.<br \/>\nName : SQL<br \/>\nPort Number: 1433<br \/>\nProtocol: Select TCP<\/p>\n<p>4) Enable Remote Connection<\/p>\n<p>All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager<br \/>\nRight click on the server node and select Properties.<br \/>\nGo to Left Tab of Connections and check \u201cAllow remote connections to this server\u201d<\/p>\n<p>5) Enable SQL Server Browser Service<br \/>\nGo to All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager >> SQL Server Browser<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 2008 R2 1) SQL Server should be up and running. All Programs >> Microsoft SQL Server 2008 >> Configuration Tools >> SQL Server Configuration Manager >> SQL Server Services, and check if SQL Server service status is \u201cRunning\u201d. Run \u201csqlcmd -L\u201d in your command prompt to ascertain if your server is included in your &#8230; <a title=\"A network-related or instance-specific error occurred while establishing a connection to SQL Server.\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/08\/03\/a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server\/\" aria-label=\"Read more about A network-related or instance-specific error occurred while establishing a connection to SQL Server.\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[109,124,125,127],"tags":[],"class_list":["post-2531","post","type-post","status-publish","format-standard","hentry","category-sql-server","category-windows-2008-server","category-windows-2012-server","category-winserv"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2531"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2531\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}