我忘记了SQL Server 2008的密码,服务器名称和类型,登录名,身份验证 [英] I have forgottem password, server name and type, login, authentication for SQL Server 2008

查看:137
本文介绍了我忘记了SQL Server 2008的密码,服务器名称和类型,登录名,身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我需要查找SQL Server 2008的密码,服务器名称和类型,登录名,身份验证的帮助吗?在哪里寻找这些?
我收到错误26:定位指定的服务器/实例时出错.
谢谢.
Jyoti

Hi,
I need help with finding password, server name and type, login, authentication for SQL Server 2008? Where to look for these?
I am getting Error 26: Error locating server/ instance specified.
Thanks.
Jyoti

推荐答案

就密码而言,我们无法为您提供帮助.
对于其余部分,最简单的方法是使用Sql Server Management Studio连接到数据库并在正确时记下详细信息,或者使用VS进行相同的操作,然后复制连接字符串. >
尝试使用服务器资源管理器"窗格在VS中建立连接:
1)打开服务器资源管理器.
2)右键点击数据连接"并选择添加连接"
3)在随后的对话框中,选择您的数据源和数据库,指定安全信息,然后按测试连接".按钮.
4)连接正常后,按确定"
5)在服务器资源管理器"窗格中突出显示您的数据库,然后查看属性"窗格.将显示一个连接字符串的工作示例,您可以将其复制并粘贴到您的应用程序或配置文件中.
As far as the password is concerned, we can''t help you.
For the rest, the easiest way is to either use Sql Server Management Studio to connect to the database and make a note of the details when you have them correct, or use VS to do the same but then copy the connection string.

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.


这篇关于我忘记了SQL Server 2008的密码,服务器名称和类型,登录名,身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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