Solved

Trusted User for SQL 2005 Database

Posted on 2014-02-11
2
346 Views
Last Modified: 2014-02-11
I am trying to create a user that has the ability to use the database as a trusted connection. My server is currently sent to Windows and SQL authentication. I have the user sign on using Windows Authentication to the ERP system that connects to the SQL database. I have a Crystal Report that I have written that accesses a view I have created on the SQL database but when I use connect using Trusted Connection it tells me I do not have permission to access the database. What role or should I use to give read-only access to the user?
0
Comment
Question by:tparus
2 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
Comment Utility
You should add that user in the database as a read only user; probably you created the login but missed to create the user under that database -> security -> user  section
0
 
LVL 15

Accepted Solution

by:
deepakChauhan earned 500 total points
Comment Utility
First map the login with concerning database and assign the “db_datareader ” role to that user in the database. Please note , Member of the “db_datareader ” role can only read data from all user tables.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now