Crystal report shows a blank page in ASP.net

Sometimes asp.net web page shows blank page although it is consist of Crystal report viewer.

Cause of Problem

  • Using client tools (debug window of your browser) or server tool (IIS log) you will find that some files (crv.js , style.css ) are not served;
  • these files are placed by CR installer in wwwroot\aspnet_client folder but they cannot be reached;
  • If you installed your application in a website different from Default WebSiteaspnet_clientfolder is not placed inside that website
Solution

Continue reading

How to Solve If Crystal Report 13 does not show Printing Dialog or Export report dialog.

Sometimes it shows that Crystal Report runs properly but its printing dialog, export report dialog doesn’t work properly and also going next page doesn’t work. Doesn’t work means if i press print button it doesn’t perform any action.

How to Solve If Crystal Report 13 does not show Printing Dialog or Export report dialog. Crystal report next page doesnt working.

Continue reading

Crystal Report Error: BOBJ is undefined

Last day i faced a problem with Crystal Report. It shows BOBJ is undefined.

When i run my asp.net application using IE then it shows Java Script Error and the error is

“BOBJ is undefined”. When i run my application using Fire fox then it doesn’t shows any crystal report.

So here is solution:
After installing Crystal Report you well get something like
C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319
and
C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727

Continue reading

Using Crystal Report in ASP.net MVC and creating generic report viewer

Download Project
This article describes how to show crystal report in ASP.net MVC.
Here I will describe two different ways for showing crystal report in MVC.
1. Showing crystal report using ASP.net web forms in MVC.
    A. In same window
    B. In different window
2. Showing crystal report from Controller/action (by generating PDF on fly).
    A. In same window
    B. In different window

Later I will describe how to create a generic/ common report viewer web form and generic/ common report viewer Controller class, which will be used for showing any Crystal report (with/ without data).

Continue reading

The maximum report processing jobs limit configured by your system administrator has been reached

This is very common error (“maximum report processing jobs limit”) when crystal report printing job limit over

We can solve this problem using two way:
1. Need to write following code on CrystalReportViewer Unload event
a. Perform reportDocument Deispose
b.Perform reportDocument Clone
c.Perform reportDocument Close
d. Perform CrystalReportViewer Dispose

Code
============ Continue reading