SSRS report, multiple datasets based on same table, how to avoid deadlock?

  • Hi,

    I have report with 6 pages, based on the same table Monthly_Data table, just different fields/format/representation/.

    I made a rdl when Dataset1 doing the main work creating that Monthly_Data table with ssrs date parameters, then Dataset1 do its selection from that table for Page1,

    consequently Dataset2, 3, 4.. select data in different format from same Monthly_Data.

    And it doesn't work, as I understand all Dataset1,2,3,4 calls db at the same time when Monthly_Data is not created yet and it gives me an error.

    What could be the solution? how to "schedule" Dataset2 to wait till Dataset1 will be completed? I don't want to create same big main Select for monthly_table in each Dataset, it takes 30 sec to run,

    Thanks for help.

    Mario

    ssrs alpha bravo

  • Here is an article on dataset execution order that may trigger some ideas:

    http://blogs.msdn.com/b/robertbruckner/archive/2008/08/07/dataset-execution-order.aspx

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply