I'm dynamically generating RDL files for SSRS 2008, assembling my reports from "building blocks" which I defined as reports on Report Server, and which I use as subreports on my generated report.

On my Report Server, I have a single, shared data source which does work as long as I run stuff directly on the report server.

What I'm trying to accomplish is this:

  • my generated main report should reference that shared data source
  • my subreports contained on the generated main report should also use the same data source
  • after I deploy the report to report server using the webservice interface, I'd like to be able to actually see the report right away

For now, I can generate and validate my RDL just fine, I can deploy it to the report server just fine, too - it shows up and all, great.

But when I try to view the report, I get an error that my data source is invalid or has been removed or something.......

What am I missing?? I am pretty sure I have the right data source - GUID for it and all - and the names do match. How do I tell a generated RDL to use the shared data source already present on the server??

Edit
Report