This issue occurs if the TCP connection is not enabled in database server. The MS SQL Server installations does not have the TCP connection enabled. If MS SQL Express, in particular, is being used for a test or proof of concept environment, TCP connections are often disabled.
Resolution
To resolve the issue, enable the TCP/IP protocol in SQL server.
Open the Sql Server Configuration Manager and connect to the appropriate server, if it is not.
Navigate to Client Protocols nodes under the SQL Native Client 11.0 Configuration (32bit) and SQL Native Client 11.0 Configuration items.
If the TCP/IP protocol is not enabled, double click to open the properties and change the Enable property to Yes.
Restart the MS SQL services. This should take effect without additional intervention.
Additional Information
To be alerted when this document is updated, click the Subscribe to Article link in the Actions box