当前位置:网站首页>Sqlserver2008 denied select permission on object'***** '(database'*****', schema'dbo')
Sqlserver2008 denied select permission on object'***** '(database'*****', schema'dbo')
2022-06-13 02:01:00 【Sima Yi】
I read a lot of information on the Internet and talked about nothing , They just said it was very simple , Then he didn't say what to do in such a situation , You can see that this is a permission problem , In fact, every one of us knows , Again, I think I still need to give a solution to my future friends :
The database used here is 08 Version of (2012 And the principle of other versions , The same applies to ), This kind of permission error is always reported , The error screenshot is as follows :
Description of the effects seen : stay windows Authenticated In this case, all the tables logged into the database can be opened , When switching to sa Or when other accounts log in, we will report an error when we click our database :

The solution is as follows :
1、 First of all, we need to use windows Log in as an identity to set up , Because of you. sa The settings are invalid when the account is logged in 【 This is an important step 】.
2、 Find the security under the corresponding library -> framework ->dbo-> Right click Properties 【 jurisdiction 】-> Search for -> Browse 【public】-> determine , The one on the right has authorization , If you don't know, just tick all of them . Refer to the screenshot below :

3、 If you still use it at this time sa Or other accounts can log in , Right click to edit the table error after entering , Then you need to make the following settings at this time .
4、windows Log in and select right-click properties of the table 【 jurisdiction 】-> Search for -> Browse 【public】-> determine , The one on the right has authorization , If you don't know, just tick all of them . Refer to the screenshot below , Finally solve the problem perfectly . The effect is shown below :

边栏推荐
- swiper 横向轮播 grid
- Day 1 of the 10 day smart lock project (understand the SCM stm32f401ret6 and C language foundation)
- Opencv camera calibration (1): internal and external parameters, distortion coefficient calibration and 3D point to 2D image projection
- js获取元素
- Interruption of 51 single chip microcomputer learning notes (external interruption, timer interruption, interrupt nesting)
- Use mediapipe+opencv to make a simple virtual keyboard
- The commercial value of Kwai is being seen by more and more brands and businesses
- Stm32+ze-08 formaldehyde sensor tutorial
- Use of Arduino series pressure sensors and detected data displayed by OLED (detailed tutorial)
- numpy多维数组转置transpose
猜你喜欢

6、 Implementation of warehouse out management function

Combining strings and numbers using ssstream

微服务开发环境搭建

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

Application circuit and understanding of BAT54C as power supply protection

Qt实现思维导图功能(二)

Learning notes 51 single chip microcomputer keyboard (non coding keyboard and coding keyboard, scanning mode of non coding keyboard, independent keyboard, matrix keyboard)

pringboot之restfull接口规范注解(二)

DFS and BFS to solve Treasure Island exploration

QT realizes mind mapping function (II)
随机推荐
How does Google's audience work?
[printf function and scanf function] (learning note 5 -- standard i/o function)
反爬虫策略(ip代理、设置随机休眠时间、哔哩哔哩视频信息爬取、真实URL的获取、特殊字符的处理、时间戳的处理、多线程处理)
Devaxpress Chinese description --tcxpropertiesstore (property store recovery control)
Padavan mounts SMB sharing and compiles ffmpeg
Learning notes 51 single chip microcomputer keyboard (non coding keyboard and coding keyboard, scanning mode of non coding keyboard, independent keyboard, matrix keyboard)
Simple ranging using Arduino and ultrasonic sensors
The new wild prospect of JD instant retailing from the perspective of "hour shopping"
How many smart bids does Google have?
[work notes] xr872 codec driver migration and application program example (with chip debugging method)
Can't use typedef yet? C language typedef detailed usage summary, a solution to your confusion. (learning note 2 -- typedef setting alias)
Mac下搭建MySQL环境
Looking at Qianxin's "wild prospect" of network security from the 2021 annual performance report
Ruixing coffee 2022, extricating itself from difficulties and ushering in a smooth path
uniapp 预览功能
Topic creation and running example of ROS
swiper 横向轮播 grid
Restful interface specification annotation of pringboot (2)
Rsync transport exclusion directory
Establishment of microservice development environment