on 05-29-2012 3:46 PM
Hello,
Our application uses Crystal Reports for VS2010 SP3.
The printing works correctly with IE, Firefox, Chrome and Safari on Mac but when I try to print a report with Safari on Windows nothing happens.
I have tried with the latest version of Safari and also with Safari 3.1 since it's the only supported version by Crystal as of now and I have the same issue.
Are you aware of this issue or is there a workaround to it?
Thank you.
Charles
First I hear of this issue. What print mode are you using (PDF or ActiveX?). Which ever print mode you are using, can you try the other one? Export to any format works? What's the OS?
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ludek,
I just tried with ActiveX and I have the same issue. Yes the export works correctly.
I have tested with Windows XP SP2 and Windows 7 SP1.
When I try the print button with Safari on Mac Os X Snow Leopard(10.6.8) I receive the dialog box "Print to PDF" that tells me that the viewer must export to PDF to print. But with the latest version of Safari on Windows 7(5.1.7) and using the Web Inspector tool, I was able to see the following error when I called the print button: "Rpt.aspx: -1 Resource interpreted as Document but transferred with MIME type application/pdf."
I'm testing this in a very simple project. Here is how my page is declared and how I call my report.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Rpt.aspx.vb" Inherits="WebRptTest._Rpt" %><%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
</head>
<body>
<form id="form1" runat="server">
<div id="divCrw" runat="server" >
<CR:CrystalReportViewer ID="CrystalViewer" runat="server" AutoDataBind="true"/>
</div>
</form>
</body>
</html>
Here is the VB code behind it.
Public Class _Rpt
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim objRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
objRpt.Load("c:\temp\test.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByTempCopy)
CrystalViewer.ReportSource = objRpt
Session.Item("ReportSource") = objRpt
Else
CrystalViewer.ReportSource = Session.Item("ReportSource")
End If
End Sub
End Class
Thank you.
Charles
Hello Charles
I did a bit of testing;
test 1:
CRVS2010 Service Pack 3
Safari 5.0.2
Result on print - AciveX and PDF mode; crash:
test 2:
CRVS2010 Service Pack 3
Safari 5.1.7
Result on print - AciveX and PDF mode; same as you report - nothing happens
I did not test on Safari 3.1 as I could not even find a download of it. Anyhow, I'll discuss the issue here and probably do an escalation for a fix. Just to set expectations; next Service Pack for CRVS2010 is SP4, scheduled for end of June, but it is now closed, so we're looking at SP5, ETA., October +
I'll update this thread once I've been given the go ahead for an escalation.
- Ludek
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.