Hi,
I have an urgent problem. In a system that has been in production for more than a year an error has been happening intermittently during the last few weeks. The application code has not changed. When this error occurs all reports fail. It is necessary to restart the IIS each time the error happens. After restarting the IIS the same reports that were failing start to work again. This leads me to think it is a problem independent of the application.
The error occurs exactly in the line that export to PDF: crReport.ExportToDisk(ExportFormatType.PortableDocFormat, sName). The error message is: "Missing parameter values".
The application is made in Visual Studio 2005, which uses Crystal Reports for Visual Studio 2005. However in the server is installed Crystal Reports XI. Product version: 11.5.8.826.
I have found in the web that sometimes this error happens because the report parameters are set before setting the data source, but I've checked and the data source is set before setting the parameters. Also this would not explain why the same reports that were failing work after restarting the IIS, with exactly the same parameters.
This system has a heavy use from the web. I tried changing the registry value PrintJobLimit. Yesterday it was set to 5000 and the error happened this morning again. Today I changed it to -1, I don't know if this will work. I think that if the cause of the problem were this registry entry then the error message would be different.
Could this be a bug in Crystal Reports? What could be done?