当前位置:网站首页>SQLserver2008 拒绝了对对象 '****' (数据库 '****',架构 'dbo')的 SELECT 权限
SQLserver2008 拒绝了对对象 '****' (数据库 '****',架构 'dbo')的 SELECT 权限
2022-06-13 01:59:00 【司马弈】
在网上看了很多资料都是空说一谈,都只是说很简单,然后没有说遇到这样的情况具体该怎么做,看到这里都知道是权限问题,其实我们每一个人都知道,又是我觉得我还是要给以后遇到的朋友个解决方法:
这里用到的数据库是08版本的(2012及其他版本原理一样,方法同样适用),出现了这种一直报权限错误,错误截图如下:
所见效果描述:在windows身份验证的 情况下登陆进去数据库的表都是可以打开的,当换到sa或者别的账号登陆进去的时候这个时候我们点击我们的数据库就会报错:

解决方法如下:
1、首先我们要用windows身份登陆进去进行设置,因为你的sa等账号登陆进去设置都是无效的【这一步很重要】。
2、找到对应的库下面的安全性->架构->dbo->右键属性【权限】->搜索->浏览【public】->确定,在右边的具有授权,如果不知道的情况下全部打钩即可。参照截图如下:

3、如果这个时候还是用sa或者别的账号可以登陆了,进去之后右键编辑表错误,那么这个时候你就需要进行下面的设置了。
4、windows登陆进去选择表右键属性【权限】->搜索->浏览【public】->确定,在右边的具有授权,如果不知道的情况下全部打钩即可。参照截图如下,最终完美解决问题。效果如下图所示:

边栏推荐
- Can't use typedef yet? C language typedef detailed usage summary, a solution to your confusion. (learning note 2 -- typedef setting alias)
- 什么是立体角
- LabVIEW large project development tools to improve quality
- 万字讲清 synchronized 和 ReentrantLock 实现并发中的锁
- Introduction to Google unit testing tools GTEST and gmoke
- Numpy multidimensional array transpose transpose
- 蓝牙模块:使用问题集锦
- 华为设备配置双反射器优化虚拟专用网骨干层
- Viewing the ambition of Xiaodu technology from intelligent giant screen TV v86
- 华为设备配置私网IP路由FRR
猜你喜欢

Sensorless / inductive manufacturing of brushless motor drive board based on stm32

Why is "iFLYTEK Super Brain 2030 plan" more worthy of expectation than "pure" virtual human

微服务开发环境搭建

dfs与bfs解决宝岛探险

三、上传织物图片至SQL Server并提供name进行展示织物照片

Workspace for ROS

如何解决通过new Date()获取时间写出数据库与当前时间相差8小时问题【亲测有效】

一种不带CPU的DPU架构:Hyperion
![[the second day of actual combat of smart lock project based on stm32f401ret6 in 10 days] (lighting with library function and register respectively)](/img/f7/b2463d8ffe75113d352cae332046db.jpg)
[the second day of actual combat of smart lock project based on stm32f401ret6 in 10 days] (lighting with library function and register respectively)

Devexpress implementation flow chart
随机推荐
C language complex type description
Server installation jupyterab and remote login configuration
30: Kakfa simulates JSON data generation and transmission
Stm32 3*3 matrix key (register version)
[pytorch FAQ] numpy:dll load failed while importing_ multiarray_ Umath: the specified module could not be found.
回顾ITIL各版本历程,找到企业运维发展的关键点
The new wild prospect of JD instant retailing from the perspective of "hour shopping"
Why is Huawei matebook x Pro 2022 leading a "laptop" revolution
Plumber game
Leetcode question 20
Installing pytorch geometric
Read routing table
Establishment of microservice development environment
uniapp 预览功能
Using OpenCV in go
Devexpress implementation flow chart
C language volatile learning
Répertoire d'exclusion du transport rsync
The scientific innovation board successfully held the meeting, and the IPO of Kuangshi technology ushered in the dawn
Interruption of 51 single chip microcomputer learning notes (external interruption, timer interruption, interrupt nesting)