Click here to Skip to main content
15,908,909 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using Crystal Report in my project. But the print button in Crystal Report is not working. And then Export button is also not working. Please help me how to solve this problem?

Thanking u
Posted
Updated 17-Jul-12 21:03pm
v2
Comments
dimpledevani 18-Jul-12 0:56am    
Have you placed your viewer on a form which contains some other controls as well???
devausha 18-Jul-12 0:57am    
Yes, Textboxes and Comboxes
dimpledevani 18-Jul-12 0:59am    
well i guess you try placing your report viewer on a form without any other controls and run your program
devausha 18-Jul-12 0:59am    
Ok Thank u I try this.
Sergey Alexandrovich Kryukov 18-Jul-12 2:25am    
The title of the question looks like you wanted to show some button on a printout and failed to do it. Change the title of the question if you want to be understood.
--SA

1 solution

Based on what I read on web regarding this error, it happens when the datasource provided returns null at the time of export/printing.
You need to make sure that the datasource provided has continous data feed to viewer. You can repopulate the report data just before export/print.

Here, similar issue discussed with same resolution:
Failed to export...[^]
Failed to export...2[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900