如何修复 Microsoft SQL Server,错误:262? [英] How to fix Microsoft SQL Server, Error: 262?

查看:43
本文介绍了如何修复 Microsoft SQL Server,错误:262?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在打开 SQL Server Management Studio,以管理员身份运行...

I'm opening the SQL Server Management Studio with run as administrator...

而且 Windows 身份验证连接没有问题.

And there is no problem with Windows Authentication Connection.

我通过右键单击数据库"文件夹来选择新建数据库".

I'm choosing "New Database" by right-click the Databases folder.

并为数据库命名为BTS".

And giving name 'BTS' for the Database.

当我选择确定"时,出现错误,

When i'm choosing OK, i get the error as,

如何解决?

推荐答案

来自 这篇博文

添加具有登录名machinename\Administrator"的 Windows 用户到 sysadmin 固定服务器角色

To add a Windows user that has the login "machinename\Administrator" to the sysadmin fixed server role

  1. 使用凭据登录计算机机器名\管理员帐户.
  2. 单击开始按钮,指向所有程序,单击 Microsoft SQL服务器,然后单击 SQL Server Management Studio.
  3. 连接到 SQL Server 实例.
  4. 单击安全",右键单击登录",然后单击新建登录".
  5. 在登录名框中,输入用户名.
  6. 在选择页面"窗格中,单击服务器角色",选择系统管理员复选框,然后单击确定".

要将具有登录名域名\用户名"的 Windows 用户添加到sysadmin 固定服务器角色

To add a Windows user that has the login "domainname \username" to the sysadmin fixed server role

  1. 使用凭据登录计算机域名\用户名帐户.
  2. 单击开始按钮,指向所有程序,单击 Microsoft SQL服务器,右键单击 SQL Server Management Studio,然后单击运行作为管理员.

  1. Log on to the computer using the credentials for the domainname\username account.
  2. Click the Start button, point to All Programs, click Microsoft SQL Server, right-click SQL Server Management Studio, and then click Run as administrator.

ps:以管理员身份运行"选项提升用户权限在用户访问控制"对话框中,单击继续".

ps: "Run As Administrator" option elevates the user permissions In the User Access Control dialog box, click Continue.

这篇关于如何修复 Microsoft SQL Server,错误:262?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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