Yes -- I have checked and they are correct.
Main Topics
Browse All TopicsHello,
I have created a SSRS 2008 report based on a stored procedure in a SQL Server 2008 database.
The report works fine if I select 'Use Windows Authentication (integrated security)' under the shared data source properties.
I have deployed this to our report server (which is set up on my computer -- not a local instance but a server installed on my machine) and it runs properly.
When I switch the 'Shared Data Source Properties' setting to 'Prompt for credentials' -- then pass in my user id and password it does not work. I get the error:
Cannot create a connection to data source 'johnsmith' (rsErrorOpeningConnection)
I am positive the spelling is correct. Also, I have definitely added me as a user to the SQL database.
I have even checked the ReportServer database (Event or History table) and seen that the report has run with my user credentials
My eventual goal is to have a set user name and password which is 'hard-coded' for deployment and used by everyone -- but need to be able to pass in these credentials first.
Any help is greatly appreciated
Thanks,
Dan
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.
Emes -- thanks for your responses.
I did enter my user ID both with and without the domain name. Also, entered case sensitive.
Additionally, I have gone to ExecutionLogStorage table in the ReportServer database and confirmed the UserName entered in that table (from when I ran the report using Windows Authentication which DOES work) matches what I am typing in when I try to enter credentials (which does NOT work)
Also, I tried looking at the ConfigurationInfo table in the ReportServer database -- as well as the DataSource table -- was thinking I could directly enter contact info there...
But, nothing has worked
Thanks,
Dan
lot of redundant information but it may help you.
http://msdn.microsoft.com/
http://branoblogging.blogs
also try to run the report on you local machine with the Prompt for credentials set on.
Thanks Emes
I got this to work by:
(1) Adding "Integrated Security=SSPI" to the rds data source connection string
(2) Setting Credentials tab = 'No Credentials'
(2) Entering my 'hard-coded' superuser info (using NT domain\user ID and password) in the 'Reporting Services Configuration Manager' under 'Execution Account'
Hope this helps someone!
Thanks,
Dan
Business Accounts
Answer for Membership
by: EmesPosted on 2009-03-20 at 09:22:17ID: 23940934
Did you grant the proper rights to the databases and stored procedures ?