Having trouble with loading a ReportDocument
Hello all. I've developed an ASP.NET 2.0 application in C#. As per documentation I've previously, my app loads a report based on a file path string. It then sets the logon credentials. When the user views the report, the report sets the necessary parameters accordingly and the ReportViewer sets the ReportDocument object as its datasource.
The problem I'm having is that the ReportDocument.Load() method seems to take considerably longer than the other functions involved in generating the report. This function takes roughy 20-35 seconds to execute and consequently degrades the performance of the web app. Is there anything that can be done to speed up this method? If not, are there any other methods of generating a report to display in the ReportViewer? I tried using the ReportSource control and it was very unstable. Any help would be greatly appreciated. Thank you.