cancel
Showing results for 
Search instead for 
Did you mean: 

Communication error when Activex printing

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

Hello,

What version of Visual Studio is used?

Also you dont need the entire CR designer to be installed on the server, just the runtimes.

Could you replace the ResourceURI tage by this one.

<add key="ResourceUri" value="~/crystalreportviewers12" />

Also, take a look at below search for related documents.

http://search.sap.com/ui/scn#query=Printing+will+be+stopped%252C+communication+error&startindex=1&fi...)

Hope this helps,

- Bhushan

Answers (0)