I have a report which is pulling data from a stored procedure however only the headers appear when I run the report without any data. I can track the execution of the procedure in SQL Profiler and when I copy the executing statement with it's parameters into SQL Management Studio the statement runs and returns several thousand rows of data from the same DB.
The data set timeout is set as 0 and no timeout error is given so I don't think it's related to the quantity of data returned however in management studio it does take 10 minutes to run the command.
How do I fix this issue?
UPDATE: The issue seems to be linked to the fact the report is gathering data from a dataset which is using a stored proc 'query type' as when I enter an exec statement as a text query type it does return some data but then I can't change the parameter when running the report.