无法打开Sql server 2008 [英] unable to open Sql server 2008

查看:88
本文介绍了无法打开Sql server 2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




i无法打开我的sql server 2008(本地数据库)。



当我点击连接时 - >数据库引擎 - >用户名 - >密码 - >连接



抛出错误

建立连接时发生网络相关或特定于实例的错误SQL Server。找不到服务器或无法访问服务器。验证实例名称是否正确以及SQL Server是否配置为允许远程连接。(提供程序:SQL网络接口,错误:26 - 错误查找指定的服务器/实例)( .Net SqlClient数据提供商)



任何人都可以帮我解决这个问题。



在此先感谢。

Hi
i could not open my sql server 2008(local database).

When i click on connect->database engine -> user name -> password ->connect

It throws an error as
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)"

can any one please help me to resolve this issue.

Thanks in advance.

推荐答案

基本上,它说我找不到你告诉我的任何SQL服务器



因此,尝试使用Server Explorer窗格在VS中建立连接:

1)打开服务器资源管理器。

2)右键单击数据连接 并选择添加连接

3)在随后的对话框中,选择您的DataSource和数据库,指定安全信息,并按测试连接按钮。

4)当连接正常时,按确定

5)在服务器资源管理器窗格中突出显示数据库,然后查看在属性窗格中。将显示连接字符串的工作示例,您可以将其复制并粘贴到您的应用程序或配置文件中。

对话框应该允许您浏览到所需的特定实例,然后您可以输入你的名字和密码。 (我发现它比SSMS版本容易一些)
Basically, it is saying "I can't find any SQL server where you told me"

So, try setting up a connection in VS with the Server Explorer pane:
1) Open Server Explorer.
2) Right click "Data connections" and select "Add connection"
3) In the dialog that follows, select your DataSource, and database, specify the security info, and press the "Test connection" button.
4) When the connection works, press "OK"
5) Highlight your database in the Server Explorer pane, and look at the Properties pane. A working example of the connection string will be shown, which you can copy and paste into your app or config file.
The dialogs should allow you to browse to the specific instance you want and then you can enter your name and password. (I find it a little easier than the SSMS version)


重复:建立与SQL Server的连接时发生与网络相关或特定于实例的错误。找不到服务器或无法访问服务器。 [ ^ ]


it says your server name is incorrect.

try this :
1) click servername combo box.
2) browse for more.
3) expand the database engine from browse for servers window.
4) choose your server name
5) hit on connect


这篇关于无法打开Sql server 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆