Report Builder 3.0 - Dataset Credentials Do Not Work

后端 未结 3 1445
你的背包
你的背包 2021-02-14 13:24

I am using SSRS 2008 R2 and Report Builder 3.0. I set up a shared data source via the browser (http://myserver/reports/) wherein the \"credentials are stored securely in the rep

相关标签:
3条回答
  • 2021-02-14 13:44

    After much gnashing and wailing seems like Report Builder uses information in definitions in Report Server to then run queries locally by itself, and not through Reporting Services.

    My mistaken belief was that when I did something like Refresh Fields when setting up a Dataset, Report Builder was going through Report Services to get the relevant output and/or metadata. This seems to not be the case.

    I had defined the connection string of the shared data source as Data Source=(local);Initial Catalog=<database name>. Now, this works when you are in Reporting Services' browser interface, but Report Builder seems to read the connection string and use it for itself. Reporting Services on my local development machine does not have any of the setup on the target server running these reports, so anything I would use will fail.

    Changing the connection string to Data Source=<server name>;Initial Catalog=<database name>, instead of localhost, allowed Report Builder to work properly. (RB still popped up "Enter Data Source Credentials". I used my Windows credentials, which is a valid login on the target server.)

    0 讨论(0)
  • 2021-02-14 13:44

    To accomplish what you are attempting, it sounds like you will need to use windows integrated security.

    According to MSDN stored credentials are not passed to client applications. They are for use only by the report server for things like scheduled reports.

    http://msdn.microsoft.com/en-us/library/ms159736.aspx

    I can tell you that the prompt "Enter Data Source Credentials" is looking for SQL authentication, not domain accounts.

    0 讨论(0)
  • 2021-02-14 13:45

    Outstanding question and answer. I really appreciate your careful description. I had the same problem. In my case the problem was that I was accessing Report Builder from a machine connected to my home office by VPN. I guess because I was outside of the Windows network of the home office, RB couldn't authenticate me. Working with a Remote Desktop connected to a machine at the office allowed me to side-step the problem. Your and @RichShealer's answers reminded me that when running the reports from the browser, they're being served up by an inside server machine. This is not the case when running RB, a desktop app.

    0 讨论(0)
提交回复
热议问题