Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An communication error occurred. Printing will be stopped.

Status
Not open for further replies.

MzKitty

Programmer
Oct 28, 2003
254
US
Hi. I'm using vs2008 with crystal 10.5. I am trying to print from a web application using activex. Everything in my app worked fine until 2 days ago, now everytime I try to print a report from the viewer, I get this error. The box it is in is titled Crystal Print Control. After I click ok, I get a blank viewer with only the crystal toolbar. I have right clicked on the form and viewed the source. There is a script running that says: prm.codebase = "I did have crystal 2008 installed on my PC, but I uninstalled it because we are not using it and I thought it might be the problem. I have re-registered the PrintControl.dll in "C:\Program Files\Common Files\Crystal Decisions\2.5\crystalreportviewers10\ActiveXControls\PrintControl.dll" thinking that that may be the problem.
I have searched everywhere on the web for a solution and found zip. Can anyone help me? I need to get this app finished so I can deploy it.

Thank You
Cathy
 
Hi,
It seems to me that that issue was corrected with a Service pack or Hotfix from Crystal ( now SAP)..

When you uninstalled 2008 you may have reverted to an unfixed dll.

Check SAP's site for SPs for 10.5

[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
I have reinstalled the crystal 2008 runtime and I'm still getting this error. It has something to do with the crystal activex print control. I have tried re-registering it, but nothing seems to make this problem go away.
 
I finally found the answer. I wasn't letting the code section get accessed if it was a postback, so the info wasn't reloading for the activex print. I put my printReports in the page_init and took it out of the page_load. That took care of the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top