我正在编写一个程序,我使用了 SQL,它工作得很好,但是突然它无法连接到服务器。这是我得到的错误:“建立与 SQL Server 的连接时发生与网络相关或特定于实例的错误。找不到服务器或无法访问服务器。验证实例名称是否正确并且 SQL 配置为允许远程连接。(提供者:SQL 网络接口,错误:26 - 错误定位服务器/指定的实例)“我正在使用 Visual Studio 2010 和 SQL Server 2008。我不知道问题出在哪里,我会感谢任何人谁有帮助。
问问题
1410 次
2 回答
0
open the dbms and try to make an instance of the server, input the IP of the database used in your application and try to ping it, most likely from there on you'll figure it out
于 2013-09-03T11:24:19.977 回答
0
确保您SQL server service
正在运行或没有。
打开运行。写在文本框中,即 services.msc
。找到SQL Server (MSSQLSERVER)
右键单击它并选择开始。
于 2013-09-03T11:38:39.303 回答