Sql Server登录错误

编程入门 行业动态 更新时间:2024-10-10 04:22:24
本文介绍了Sql Server登录错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果我尝试在我的sql server 2008中登录,则发生错误,我检查属性是否正确但登录错误用户SA登录失败(Ms-Sql Server错误:18456)我怎么能纠正此

if i try to login in my sql server 2008 ,the error was occured,i check the properties all are right but the login gives error "Login Failed For User SA (Ms-Sql Server Error:18456")how can i rectify this

推荐答案

尝试在VS中使用服务器资源管理器窗格设置连接: 1)打开服务器资源管理器。 2)右键单击数据连接并选择添加连接 3)在随后的对话框中,选择您的数据源和数据库,指定安全信息,然后按测试连接按钮。 4)连接工作时,按确定 5)在服务器资源管理器窗格中突出显示数据库,然后查看属性窗格。将显示连接字符串的工作示例,您可以将其复制并粘贴到您的应用程序或配置文件中。 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登录错误

本文发布于:2023-11-28 01:00:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1640341.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   Sql   Server

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!