I've resolved the issue. It was due to the SQL browser service.
Solution to such problem is one among below -
-
Check the spelling of the SQL Server instance name that is specified in the connection string.
-
Use the SQL Server Surface Area Configuration tool to enable SQL Server to accept remote connections over the TCP or named pipes protocols. For more information about the SQL Server Surface Area Configuration Tool, see Surface Area Configuration for Services and Connections.
-
Make sure that you have configured the firewall on the server instance of SQL Server to open ports for SQL Server and the SQL Server Browser port (UDP 1434).
-
Make sure that the SQL Server Browser service is started on the server.

本文介绍了解决SQL Server连接问题的方法,包括检查实例名称拼写、启用远程连接、配置防火墙及确保SQL Server浏览器服务正常运行。
4832

被折叠的 条评论
为什么被折叠?



