Skip to Content
0
Former Member
Aug 07, 2012 at 04:58 AM

Communication error when Activex printing

27 Views

Hi,

I am using Crystal Report web forms for launching the reports. The Crystal Developer 2008 SP5 installed in the Web server. Report is getting launched and export is working perfectly but when I click on the print button “Communication error occurred. Printing will be stopped” when activex printing enabled.

This problem occurs when <Session state Cookieless="true"> is assigned in web.config. Report prints when cookieless is set to false. To enable Cookieless = true the following settings have been incorporated in the web.config.

<configSections>

<sectionGroup name="businessObjects">

<sectionGroup name="crystalReports">

<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />

</sectionGroup>

</sectionGroup>

</configSections>

<businessObjects>

<crystalReports>

<crystalReportViewer>

<add key="resourceURI"value="/crystalreportviewers12" />

</crystalReportViewer>

<crystalReports>

</businessObjects>

and copied the crystal reports viewer folder crystalreportviewers12 in the application path. But still problem occurs.

While analyzing the problem by fiddler, I find out the print task request url referred wrong aspx path.

Is there any a setting or fix required to overcome this issue?

Thanks in advance.