cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports export and print fails with SSL / https but works with http

Former Member
0 Kudos

Windows 2008 Server, 32-bit (IIS7)

ASP.NET 2.0

Ajax 1.0

Crystal Reports version 10.5.3700.0

http: printing works, export works

https: printing not working, only export to MS Excel and MS Word work.

I am able to generate reports using both http and https, and the toolbar icons are all showing. However, I am unable to print or export properly with SSL.

Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:

A communication error occured. Printing will be stopped.

Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).

I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL. Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7? Everything works fine when I change the address from https to http.

Please let me know if I can help by providing further information. We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

See if note [1398027|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] helps.

It may also be a good idea to run [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] and look for Access Denied or other errors.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Edited by: Ludek Uher on Feb 19, 2010 2:22 PM

Former Member
0 Kudos

In addition to the fix above make sure you dont have:

Response.Cache.SetCacheability(HttpCacheability.NoCache)

Pragma - no-cache

CACHE-CONTROL - NO-CACHE

This will stop export and printing working and you get the same error.

Former Member
0 Kudos

I have exact same problem. I did lots research and trying but cannot find the solution. I cannot access above link Ludek provided.

Can you please advise?

Thanks a lot!

former_member183750
Active Contributor
0 Kudos

Enter the KB number into the search box in the top right corner of this web page - it should come up - does for me. Let me know if not and I'll copy / paste the content here.

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Thanks Ludek. I got it by searching KB number.

Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting.  I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).

1: Crystal report export

            Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”

            Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”

            Export to PDF : nothing happened.

2: Print:

            Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.

Please advise.

Thank you very much!

former_member183750
Active Contributor
0 Kudos

I’ve also seen this problem with HTTPS when using Compression.   If using compression, turn it off.  If it works then disable compression for .epf file extensions.

- Ludek

Former Member
0 Kudos

I disabled "Dynamic content compression" and "static  content compression" and still got the same error.

former_member183750
Active Contributor
0 Kudos

See if this will help:

  • Go to the IIS on server, right click on the application pool which is being used by the application, then go to 'Basic Properties'. 
  • Select the dropdown 'Managed Pipeline Mode' > Select 'Classic' & click OK.

Also, I do not think you are using SP1 for CR 10.2. Probably a good idea to apply that:

http://scn.sap.com/docs/DOC-27942

- Ludek

Answers (0)