Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to avoid to Specify a username and password for datasource in SSRS?

I am using SSRS as a part of my project for displaying reports. It accesses data from SQL data source.Here my problem is that each time I view my report on the browser, it asks me like this

"Specify a user name and password for data source"

I need to avoid this prompt while seeing my report on the browser. Kindly suggest what should i do to get rid of my problem.

like image 500
Samuel Avatar asked Dec 06 '13 11:12

Samuel


People also ask

How do I restrict access to SSRS reports?

You can prevent users from accessing My Reports by: Disabling My Reports on the Site Settings page. For more information, see Enable and Disable My Reports. Removing all tasks from the My Reports role.

How do you set credentials stored securely in the report server?

For Connect Using, select Credentials stored securely in the report server. Type a user name and password. If the account is a Windows domain user account, specify it in this format: <domain>\<account>, and then select Use as Windows credentials when connecting to the data source.


1 Answers

Yes this can be fixed.. You should

  • Go into your DataSource properties
  • Select Credentials
  • Select "Use this user name and password"
  • Enter the credentials that you want to use with the report
  • Save the report (or DataSource if it's a shared DataSource)

The default option for data sources is to prompt for credentials, so this is expected behavior unless you change it.

like image 160
Sam Avatar answered Oct 25 '22 05:10

Sam