The report is fast when executed within the CR development environment - less than 30 seconds. It takes more than 10 minutes when executed in ASP via the WCS.
We have done the following investigations:
a) run in CR v 8.0 and 8.5 with the same slow response time.
b) run the stored procedure in SQL server and it takes less than 10 seconds.
c) confirmed that the parameters passed from ASP to the CR via WCS to the stored procedue is correct.
d) the result recordset from executing the stored procedure directly and from via the ASP is the same.
e) the initial report is a crosstab. We modified it to a simple list of the result recordset and the response time is still slow.
We have done the following investigations:
a) run in CR v 8.0 and 8.5 with the same slow response time.
b) run the stored procedure in SQL server and it takes less than 10 seconds.
c) confirmed that the parameters passed from ASP to the CR via WCS to the stored procedue is correct.
d) the result recordset from executing the stored procedure directly and from via the ASP is the same.
e) the initial report is a crosstab. We modified it to a simple list of the result recordset and the response time is still slow.