Solved

Crystal Report crashed or failed

Posted on 2009-07-13
8
646 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
  • 3
  • 3
  • 2
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
When you close a report do you cleanup the objects?

mlmcc
0
 
LVL 1

Author Comment

by:samchan
Comment Utility
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
Comment Utility
Not sure, but sounds like a MEMORY issue here.......
0
 
LVL 100

Expert Comment

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

mlmcc
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 1

Author Comment

by:samchan
Comment Utility
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 100

Expert Comment

by:mlmcc
Comment Utility
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
Comment Utility
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
Comment Utility
Glad you where able to figure it out.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now