Print Page | Close Window

CR- Error export to .pdf

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=21130
Printed Date: 03 May 2024 at 1:01pm


Topic: CR- Error export to .pdf
Posted By: snufse
Subject: CR- Error export to .pdf
Date Posted: 23 Oct 2014 at 9:54am
We are using VS2008 and CR2008in running a server 2008r2 64bit.

We have an application that will show and print crystal report. For most part it works fine. From time to time we have a few reports that will not print either from the print banner in CR or from code behind.

Clicking the print icon in CR it opens a window "Print to PDF". Clicking the Export button it returns error

"Object reference not set to an instance of an object"


Trying to print from code behind:

"myCrystalReport1.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "Project Daily Report")" it gives the same error:

"Object reference not set to an instance of an object"


Also when we try to page using the CR banner it opens a window saying:

"The Report Application Server failed"

If I open the report in CR designer and pass in parameter it prints fine.

Can someone give me a starting point, where to look and what to look for? Thank you very much.



Print Page | Close Window