?
Solved

SQL server permissions ?

Posted on 2008-10-27
2
Medium Priority
?
221 Views
Last Modified: 2012-05-05
I found a script that let me look at permissons on the server. There are two sets of permissions on the database for the user account.  One set gives all the object_or_coumn and the other set for the same User ID give a NULL in that column.  Could this be causing a conflict as to permissons for this user ID or is the Null Value suppose to be here.  This ID cannot logon to the database.  Get error.

xxx\IUSR_xx      WINDOWS_USER  OBJECT_OR_COLUMN  QSASafetyInfo              ALTER      GRANT
xxx\IUSR_xx      WINDOWS_USER OBJECT_OR_COLUMN   QSASafetyInfo      CONTROL      GRANT
xxx\IUSR_xxxWINDOWS_USER OBJECT_OR_COLUMN QSASafetyInfo      DELETE      GRANT
xxx\IUSR_xxxWINDOWS_USER OBJECT_OR_COLUMN QSASafetyInfo      INSERT      GRANT
xxx\IUSR_xxx WINDOWS_USER OBJECT_OR_COLUMN QSASafetyInfo      SELECT      GRANT
Here is the second set that shows up.

xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      AUTHENTICATE      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      CONTROL      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      CONNECT      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      DELETE      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      EXECUTE      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      INSERT      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      SELECT      GRANT
xxx\IUSR_xxxWINDOWS_USER      DATABASE      NULL      UPDATE      GRANT
xxx\IUSR_xxxWINDOWS_USER      OBJECT_OR_COLUMN      QSASafetyInfo UPDATE      GRANT
0
Comment
Question by:kdschool
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
devsolns earned 1500 total points
ID: 22814254
More than likely this issue is due to an orphaned user in SQL Server.  This can be caused by a restore of a database, etc.  Run this command and see if the login you speak of is orphaned:

sp_change_users_login 'report'


Read more about this from here:
http://support.microsoft.com/kb/274188
0
 

Author Comment

by:kdschool
ID: 22814506
I ran the command and the report window and it makes two columns. UserName and UserSID and  is blank but Messages says executed correctly.  
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question