Solved

sp_helprotect on windows logins

Posted on 2010-08-18
10
752 Views
Last Modified: 2012-05-10
when i run the following,
EXEC sp_helprotect NULL, 'DOMAIN\USERNAME'
i get
Msg 15330, Level 11, State 1, Procedure sp_helprotect, Line 291
There are no matching rows on which to report.

even though the windows login is registered as a login on the instance.

will this sp work for windows logins?

thanks
0
Comment
Question by:anushahanna
[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
  • 5
  • 5
10 Comments
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33465213
Can you post the exact text of your query please.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33465481
use master
EXEC sp_helprotect NULL, 'SRBSV\jimw'
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33465602
Try:
use master
EXEC sp_helprotect NULL, 'jimw'
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 6

Author Comment

by:anushahanna
ID: 33465653
same error.
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33465769
In the following link you can see an example identical to yours (ex. B): http://msdn.microsoft.com/en-us/library/ms190310.aspx

Given that, I'd say that the username being used 'jimw' must not be a valid username for 'master'.  Is that your user name?  If not, try the same command using yours instead.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33466382
i tried a couple of logins, all same issue.

jimw is valid used in user database.
we use master because that is where the sp is..
0
 
LVL 15

Expert Comment

by:David L. Hansen
ID: 33466472
Did you verify that 'jimw' has actually performed queries sucessfully on master?  I know it is a pretty obvious question...just want to be thorough.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33468850
OK. JimW is a valid use in Tracker database. I do not see him as an user in MASTER, though. is that the problem? it is looking in the wrong place?
0
 
LVL 15

Accepted Solution

by:
David L. Hansen earned 500 total points
ID: 33468877
Yes.  That is a problem.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33477188
Thanks for your help. that was it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

749 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