Love answering your own questions, eh?
Thanks for the answer, though! =) had the same problem!
Main Topics
Browse All TopicsOk using SQL Management Studio I have a SQL Server Studio 2005 database I want to create another login that ONLY allows read only access to one database.
So using my admin account which works fine I did the following:
Add new login under Server > Security > Logins
Right click new user properties set SQL Server Authentication with user name and password
Set default database to master (this is where the tables they need to view are)
Checked only public under Server Roles
Selected User Mapping > Master checked and roles for user as db_datareader and public
Under Status permission to connect to database engine is granted and login is enabled
Hit OK disconnect from database engine
On reconnect when I enter new login and password it says:
The server principal "username" is not able to access the database master under the current security contect. Login failed for "username" Error 916
What am I doing wrong? :) Lots of points guys Im in a hurry as usual!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: wilsoadaPosted on 2007-08-16 at 14:39:40ID: 19712749
Solved -
Under User > Properties > User Mapping
Check the database master and set the database roles to public and db_datareader as well as next to the user name in the table change dbo to db_datareader and then you can login with read only access to the entire master database