Hi
Can someone please assist me with the following error I am getting in sql:
SQL Server Message 916 - The server principal "domain\username" is not able to access the database "DBNAME" under the current security context.
I am trying to select user credentials from my SYS db and usergrp table from out off my APP db..
For example:
SELECT * FROM PROCSYS..usergrp where GroupID='ProjectStatus1' and UserID= 'username'
I have granted select permission everywhere I can think of for the user in question but I still receive the same error when trying to execute my script from the dynamics screen.
Can someone please advise me on this?
Thank you in advance
*This post is locked for comments
I have the same question (0)