SQL Server 2008 服务器主体 "某用户" 无法在当前安全上下文下访问数据库 "某数据库"。 (.Net SqlClient Data Provider)...

当尝试在SQL Server 2008中访问数据库时,出现错误916,表示用户无权访问特定数据库。此问题可能由于在Object Explorer的详细信息页面中包含了特定列导致。解决方法包括重置视图,隐藏'排序规则'列,或者确保用户拥有正确的管理凭据和数据库访问权限。

Microsoft  SQL Server  错误:916

In SQL Server Management Studio in Microsoft SQL Server 2008, you expand the Databases folder in Object Explorer. When you do this, you may receive the following error message:

The server principal ' X' is not able to access the database ' Y' under the current security context (Microsoft SQL Server, Error:916)

Note In this error message, X is a placeholder for the user name. Y is a placeholder for the database name.
Therefore, you cannot access any databases in the Databases folder in Object Explorer.

解决问题的原文:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值