SQL Server 2008中不能与新创建的用户登录 [英] SQL Server 2008 can't login with newly created user

查看:125
本文介绍了SQL Server 2008中不能与新创建的用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Windows Vista中使用和我有麻烦了新创建的用户身份登录。

I'm using using Windows Vista and I'm having trouble logging in with a newly created user.


  1. 我打开SQL Server Management Studio中。

  2. 我创建通过安全性 - >登录右键单击一个新的登录。结果
    检查:SQL Server身份验证结果
    登录名:测试结果
    密码:测试结果
    单击确定

  3. 我说这个用户用户映射到我的选择的数据库。

  4. 单击文件 - >连接对象资源管理器中,选择SQL Server身份验证,并输入测试仪/测试,然后单击连接

我得到一个错误:

Login failed for user 'tester'. (Microsoft SQL Server, Error: 18456" 
with Severity = 14 and State = 1.

是什么原因导致这个错误,我怎么跟我的用户登录?

What causes this error and how do I login with my user?

推荐答案

SQL服务器被配置为允许混合身份验证。

SQL Server was not configured to allow mixed authentication.

下面是步骤来解决:


  1. 右键单击SQL Server实例,在对象资源管理器的根目录,单击属性

  2. 从左侧窗格中选择安全。

  3. 选择的SQL Server和Windows身份验证模式单选按钮,然后单击确定。

  1. Right-click on SQL Server instance at root of Object Explorer, click on Properties
  2. Select Security from the left pane.
  3. Select the SQL Server and Windows Authentication mode radio button, and click OK.

右键单击SQL Server实例,选择重新启动(或者,开拓服务,并重新启动SQL Server服务)。

Right-click on the SQL Server instance, select Restart (alternatively, open up Services and restart the SQL Server service).

这也是IBM连接的用户难以置信的帮助,我的向导无法连接,直到我fxed此设置。

This is also incredibly helpful for IBM Connections users, my wizards were not able to connect until I fxed this setting.

这篇关于SQL Server 2008中不能与新创建的用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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