Solved

SQL server permissions ?

Posted on 2008-10-27
2
215 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 500 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL page split per second is high 19 123
Present Absent from working date rage 11 49
Substring works but need to tweak it 14 31
Find unused columns in a table 12 75
I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 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