当前位置:网站首页>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】->确定,在右边的具有授权,如果不知道的情况下全部打钩即可。参照截图如下,最终完美解决问题。效果如下图所示:

边栏推荐
- Alertwindowmanager pop up prompt window help (Part 1)
- [printf function and scanf function] (learning note 5 -- standard i/o function)
- 三、上传织物图片至SQL Server并提供name进行展示织物照片
- 30: Kakfa simulates JSON data generation and transmission
- The first cell of devaxpress CXGRID after inserting a row is in focus editing status
- LabVIEW大型项目开发提高质量的工具
- Differences between constants and variables (detailed description) (learning note 3 -- variables and constants)
- C language volatile learning
- TensorFlow 2. X multi graphics card distributed training
- Restful interface specification annotation of pringboot (2)
猜你喜欢

Luzhengyao, who has entered the prefabricated vegetable track, still needs to stop being impatient

水管工游戏

Top level configuration + cooling black technology + cool appearance, the Red Devils 6S Pro is worthy of the flagship game of the year

五、库存查询功能的完善

什么是立体角

水管工遊戲

What is Google plus large text ads? How to use it?

5、 Improvement of inventory query function

Alertwindowmanager pop up prompt window help (Part 1)

Why is Huawei matebook x Pro 2022 leading a "laptop" revolution
随机推荐
The commercial value of Kwai is being seen by more and more brands and businesses
Répertoire d'exclusion du transport rsync
Sensorless / inductive manufacturing of brushless motor drive board based on stm32
Restrict cell input type and display format in CXGRID control
uniapp 预览功能
LeetCode每日一题——890. 查找和替换模式
开发者来稿|AMD赛灵思中文论坛分享 - 提问的智慧
Use of Arduino series pressure sensors and detected data displayed by OLED (detailed tutorial)
水管工遊戲
Luzhengyao, who has entered the prefabricated vegetable track, still needs to stop being impatient
Vs how to enter chromium subprocess debugging
Application and routine of C language typedef struct
(no plug-in) summary of vim basic shortcut keys
pringboot之restfull接口规范注解(二)
华为设备配置双反射器优化虚拟专用网骨干层
Delphi 10.4.2 release instructions and installation methods of three patches
华为设备配置CE双归属
Cmake has no obvious error after compilation, but prompts that pthread cannot be found
[the second day of the actual combat of the smart lock project based on stm32f401ret6 in 10 days] light up with the key ----- input and output of GPIO
How to solve practical problems through audience positioning?