I have a crystal report that gets ran several hundred times from a C# program. It is taking about 2 minutes to run each time it runs. What I have discovered is that it runs in less than a second but it take a takes 2 minutes to open the report. The report uses SQL Server 2008 and the report file is located on the local machine.
Any ideas?
It looks like the problem was the report had a printer embedded in it that was not defined on the machine the report was being run on. Once the printer was removed the report ran faster.