Solved

Crystal Report crashed or failed

Posted on 2009-07-13
8
648 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
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
 
LVL 100

Expert Comment

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

mlmcc
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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 100

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

14 Experts available now in Live!

Get 1:1 Help Now