Solved

sp_helprotect on windows logins

Posted on 2010-08-18
10
758 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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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…

724 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