Solved

Crystal Report crashed or failed

Posted on 2009-07-13
8
656 Views
Last Modified: 2013-11-08
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-81E2C5DBFC5D} 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.
0
Comment
Question by:samchan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 24856283
When you close a report do you cleanup the objects?

mlmcc
0
 
LVL 1

Author Comment

by:samchan
ID: 24856312
Yes I did.

Belows are the codes that I used:

PO2PdfReport.Close();
PO2PdfReport.Dispose();
System.GC.Collect();

Did I miss anything?
0
 
LVL 17

Expert Comment

by:MIKE
ID: 24860846
Not sure, but sounds like a MEMORY issue here.......
0
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 
LVL 101

Expert Comment

by:mlmcc
ID: 24861847
I don't know ASP well enough to know for sure, but that looks like it.

mlmcc
0
 
LVL 1

Author Comment

by:samchan
ID: 24866527
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?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24891849
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
0
 
LVL 1

Accepted Solution

by:
samchan earned 0 total points
ID: 24901665
This problem is solved after we had changed to a lower version of printer driver. So, it could be due to incompatibility of the printer driver with Crystal Report for the .NET

Thanks to all who had offered help / comments.
0
 
LVL 17

Expert Comment

by:MIKE
ID: 24941931
Glad you where able to figure it out.
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question