Dynamically generated data source, model and report
I am working on a project where I am generating data sources, models and reports for users using C#. This is an automated process we are implementing that will happen when a user registers with our website. So far I have managed to generate my data source, create a model from this data source and generate the bulk of my RDL using the SQL Server 2008 (not R2) Reporting Services Web Service. The problem I have is that I am struggling to find the DataSourceID for the shared data source that I am generating. I have looked through various forums and websites regarding this and most people suggest creating a report and looking at the RDL to find the DataSourceID. Unfortunately we intend to have no manual interraction in this process so this is not ideal. When I build a test report using my code generated Model and look at the DataSourceID value that it uses, I cannot find a value that matches it on the information I'm getting from the Web Service. If anyone could assist me in where I could find out that information I would be very greatful.
January 31st, 2011 10:42am

Hi Phil, Could you please first post piece of your code snippets of generating the data source and report? and let us know your purpose of finding the DataSourceID.Please remember to mark the replies as answers if they help and unmark them if they provide no help
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2011 3:14am

Hi Phil, If you are referring to the rd:DataSourceID tag in the RDL, that is a GUID generated by Report Designer but not really needed. The reports should publish and execute just fine. Thanks, Cathy Miller Microsoft Online Community Support
February 25th, 2011 5:22pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics