This report has 7 datasets and 7 tablixes with a 1-1 correspondence. After clicking "view report" the loading icon comes up and spins indefinitely. The report never finishes or errors; I have let it run for over an hour.
Here’s what I’ve narrowed it down to:
• Of the 7 datasets in the report, two in particular are causing the problem. If I delete both and run the report it works. If I delete all content except for EITHER of those data sets, the report hangs.
• Both problem queries run quickly ad hoc.
• WITH(NOLOCK) is being used on all tables in all queries.
• I believe I have ruled out parameter sniffing:
OPTION(RECOMPILE) has no effect.
Hard coding parameter values in the query and running it on the report server had no effect.
• It does not appear to be an issue with report rendering/processing. If I delete the tables using these datasets the report still loads indefinitely. If I delete the datasets themselves the report runs quickly.
• In all cases I have been testing with the same set of parameters.
If you have any suggestions I would appreciate it.