samchan
asked on
Crystal Report crashed or failed
We have an ASP .Net application developed using Microsoft Visual Studio 2008 and Crystal Report that comes with the Visual Studio 2008. Most of the reports generated are displayed via the Crystal Report Viewer and are also printed to a network printer using PrintToPrinter function. This application is deployed on Windows 2003 server installed with Crystal Report Runtime and .Net Framework. The application is running fine. However after users having printed a few reports, the following errors occurs:
1. Error in File C:\Windows\Temp\....rpt: The request could not be submitted for background processing.
2. The Report Application Server failed.
From Windows 2003 server event viewer, I could find an faulty event:
Windows cannot query DllName registry entry for {CF7639F3-ABA2-41DB-97F2-8 1E2C5DBFC5 D} and it will not be loaded. This is most likely caused by a faulty registration.
Once the above errors occured we would not be able to print or preview the reports anymore. We have to restart the IIS Admin services.
Has anyone of you encountered such problems and has managed to solve this? Will appreciate if anyone of you could give me some advice on how to troubleshoot or solve this problem.
Thank you.
1. Error in File C:\Windows\Temp\....rpt: The request could not be submitted for background processing.
2. The Report Application Server failed.
From Windows 2003 server event viewer, I could find an faulty event:
Windows cannot query DllName registry entry for {CF7639F3-ABA2-41DB-97F2-8
Once the above errors occured we would not be able to print or preview the reports anymore. We have to restart the IIS Admin services.
Has anyone of you encountered such problems and has managed to solve this? Will appreciate if anyone of you could give me some advice on how to troubleshoot or solve this problem.
Thank you.
ASKER
Yes I did.
Belows are the codes that I used:
PO2PdfReport.Close();
PO2PdfReport.Dispose();
System.GC.Collect();
Did I miss anything?
Belows are the codes that I used:
PO2PdfReport.Close();
PO2PdfReport.Dispose();
System.GC.Collect();
Did I miss anything?
Not sure, but sounds like a MEMORY issue here.......
I don't know ASP well enough to know for sure, but that looks like it.
mlmcc
mlmcc
ASKER
We suspect that the problem could be due to not having .NET framework installed in those computers. Could it be because of Crystal Report, that .NET framework still need to be installed although this is a web application?
The version that comes with VS 2008 may require the .Net framework. That version is intended to be used with VS2008 applications and not as a standalone version.
mlmcc
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you where able to figure it out.
mlmcc