Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Login problem querying by SSMS

$
0
0

Hi guys, I got one colleague, let's say Tom that is having problems connecting a db by SSMS. The situation for Tom is:

Security-->Login He has permission in the DB as datawriter

DB-->Security-->Users He has permission has datawriter

but when he try to run a query it retutrns the msg

Msg 229, Level 14, State 5, Line 2 
The SELECT permission was denied on the object 'ers_contract', database 'DBXXXX', schema 'dbo'.

I tried to delete the user (DB-->Security-->Users) and/or to remove the user from the db (Security-->Login) but both operation return The dataset principal owns a schema in the database, and cannot be dropped.

Any thoughts? Thanks




Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>