IE8 on XP shuts down on first print of Crystal Report using ActiveX Viewer
Environment:
u2022 Business Objects Enterprise XI 3.1 SP3 FP 3.5
u2022 Tomcat 5.5
u2022 Windows Server 2003
u2022 JDK Version: 1.6
u2022 Internet Explorer 8 - compatibility mode
u2022 client machines Windows XP Professional SP3
Issue:
The browser shuts down after last page is queued for printing upon installing ActiveX print control for the first time in all XP SP3 environments. Issue does not occur when using Vista or Windows 7. Subsequent printing works fine after ActiveX print control has been installed once.
Steps Taken:
-"Enabled memory protection to help mitigate online attacks" option in IE and turned on DEP on OS - this is mandatory for company security policies. Issue does not occur if this option is turned off.
-Not reproducible on my end under same environment
-PDF printing works, however this is not a feasible solution
-issue does not occur for IE6 and IE7 in XP, and IE8 on Windows 7
-disabling DEP via boot.ini also removes issue
-upgrading client workstation to Windows 7 also not a viable solution
-validated version of \Business Objects\common\4.0\crystalreportviewers12 \ActiveXControls\PrintControl.dll on the BOE server as 12.3.1.684
-on client machines, added to Trusted Sites the web site of report origin. Open internet explorer >Tools>Internet Options>Security Tab>Trusted Sites Security Zone >Click Sites> Add Site by typing the web site address---> Click Add -->OK then close the internet Options dialog box.
-not applicable solution, BO XI R2 - "Blank "Crystal Reports Viewer" window - attempt to print report
relevant links:
http://support.microsoft.com/kb/875352
http://blogs.msdn.com/b/ie/archive/2008/04/08/ie8-security-part-i_3a00_- dep-nx-memory-protection.aspx
Hi Seb,
It's already been validated that turning off DEP works. however, DEP is mandatory for this customer.
I did come across the release notes for IE8 at http://msdn.microsoft.com/en-us/ie/dd441788, indicating the following,
Turn off Data Execution Prevention group policy
The Group Policy setting, Turn off Data Execution Prevention (Windows Components | Internet Explorer | Security Features), does not currently function as expected. While the Internet Control Panel option will appear to be disabled, Data Execution Prevention is still turned on. This is a known problem and will be corrected it in a future update.
Thanks,
Calvin
Similar Messages
-
Printing Chart on report using ActiveX on Machine without Crystal installed
When using a chart in a report, the chart does not print when running the report on a machine that does not have crystal reports installed on it. It will print on a machine that DOES have crystal installed. I am using VB6 to print the reports using ActiveX. Is there a DLL that needs to be copied onto the machines? I am using Crystal reports 10.
ThanksThere is no one DLL. You have to do the correct deployment using supported methods; e.g.; MSM files for version 10 RDC. The MSM files can be found on the downloads page:
http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
Also, make sure you are on a supported OS:
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
The above mentions .NET, but same will apply to RDC based apps.
Ludek -
How do i print a crystal report using SAP B1 SDK's in Delphi?
Senthil,
I do not have the code with respect to how to integrate Crystal Reports using Delphi and the Business One SDK. Possibly there may be other users on SDN that use Delphi and can assist.
There is source code posted here for Crystal integration with SAP Business One written in .Net. You could look at the source code and translate possible to Delphi ...
http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/d0a0c14b-0e20-2b10-939b-e93a19f14c12
HTH,
Eddy -
How can I shut down an epson printer half way through its cycle?
How can I shut down an epson printer half way through its cycle?
Command .(period) used to do the trick.
-
i have been unable to use my iphone for going on a week. It started by shutting down when ever I'd try to use it. Now it has just a dead black screen. If i plug it in it doesn't charge And the flashing apple continues every 2seconds never charging or turning on. I'm frustrated because I can't even get in to troubleshoot. I bought an iphone cuz I thought it was the best phone at the time. My contract isn't up til Aug. and I'm stuck with a bill and no phone. I do not own a computer but I have an ipad4 which I love. HELP!
Make an appointment at the genius bar are your nearest Apple store. At this point there is nothing you can do without a computer, so if you don't have one and don't know anyone who has one that you can use the Apple store is a good fallback.
-
Why does my macbook shut down when I am watching a film using airplay on apple TV?
why does my macbook shut down when I am watching a film using airplay on apple TV?
It appears to shut down and all the open programmes are closed
-
Printing a Web Report Using Firefox Results in Lost Session Variables
Post Author: AVXFlyer
CA Forum: .NET
I'm having a problem with Firefox users printing a Crystal Report from a web site.
The first page of the web site collects information to be used in the report generation, for example, start date, end date, type of report etc. These are all various text boxes, drop down lists, radio buttons and check boxes. When the user clicks to show the report, everything works fine and the first page of the report will display. The code behind this page takes care of saving al the session variables into hidden fields on the page so the settings will be accessible when the user clicks to view the next page of the report.
On clicking to view the next page of the report, everything is still fine and the process works beautifully and I've had no problems.
A new problem has surfaced during the printing of these reports. Users who use IE6.0 or IE 7.0 do not have a problem, however, users who use Firefox do have a problem.
It seems that the print dialog which appears as part of the the Crystal web control manages to 'lose" the variables which were present on the calling page. It only does this with the Firefox browser. Calls on postback to retrieve the variables from the hidden fields result in 0's or empty strings ("").
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init .... .... If Me.IsPostBack = False Then ... ... strDiscontinuedOnly = Request.Form.Item("ddlInvStatus") If strDiscontinuedOnly = Nothing Then isDiscontinuedOnly = False Else Select Case strDiscontinuedOnly Case 0 'All Inventory isDiscontinuedOnly = False Case 1 'Discontinued Inventory isDiscontinuedOnly = True Case 2 'Active Inventory isDiscontinuedOnly = False End Select End If Else 'Postback is true intRequestedReport = Request.Form.Item("fldReportID") strDiscontinuedOnly = Request.Form.Item("fldInvDiscItemsOnly") isDiscontinuedOnly = Request.Form.Item("fldInvDiscItemsOnly") ... ... end ifCan't explain it, but here are a few tests;
1) Try to print a saved data report
2) Try to print a report that is not using parameters
3) Try a different printer driver as "default"
4) Enable the option "Dissociate Formatting Page Size and Printer Paper Size" on the report
5) What format do you export to?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Print a report in crystal Report using SDK
Hi Dear;
any body can publish a sample code how can i print a report built in crystal report using SDK?
regards;Hi Dany,
Hope the following code will help u .
before calling the function make a XML by using dataset.writexml, in which you have to pass the name of your stored procedure.
for this you have to decalre commantype as stored procedure.
first parameter of this is rpt name . asecon paramer is ur xml name which you got from DAtaset.writexml.
Sub ShowReport(ByVal rptName As String, ByVal SourceXML As String)
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
rptView.ReportSource = rptDoc
rptView.Show()
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = False
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "rptForm"
oFrm.Text = "rptForm"
oFrm.ResumeLayout(False)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
oApplication.MessageBox(ex.Message)
End Try
End Sub -
Preview and print a Crystal report prompted for the sa password
Dear All,
Our customer has Crystal report add-on to be installed. When we Preview and print a Crystal report, we got a window prompted for the sa password. Even we type in a correct password, it still says wrong password...
Every time when I open my report in Crystal Basic 2008 on the server, then go database expert >> My connections >> click + in front of the connection name, it asks my sa password. I type in my password then save and close. Next time when I open the report and go my connections, I have to type in my password again. This only happens on one customer.
Any idea? Thanks a lot.
Regards,
YukaHi Yuka,
1) All their SAP client workstation, they have to have use SQL2008 CD and install SQL Client on it
Correct, MS does NOT support MDAC or WDAC when connecting to SQL 2008.
2) Then go ODBC >> SQL Native Client 10.0 >> Create a new connection to SAP server. Should we use sa user or another use that has the same authorization as sa?
Correct again if they are also using ODBC to connect, as for using the sa account or creating a new one is up to you. I suggest creating a Crystal account with what ever rights your app needs, this way if tracing it turned on etc. you can confirm who is actually running the report.
3) Then from MY Crystal report, I have to use ODBC connection as well?
Just to clarify, if you created your reprots using OLE DB then they can do so also. But you need to update your connection properties. Open each report click on Database, Set Location, scroll down to OLE DB and expand and then choose MS SQL Server Native 10 as your OLE DB provider, fill in all the logon info and then verify the database. Do the same for each subreport also.
Save your report and either send them the new one or if you are doing this remotely then replace the original report.
VERIFY your reports to confirm they still return correct data and do work as expected.
Or if you are using ODBC then yes you do select the MS 10 driver with a new DSN. Then do the above to update the reports to all use ODBC as their data sources.
Hope this is all clear now....
Thanks again
Don -
How to print directly to Printer from Crystal Report Viewer ?
Hi All,
We are integrating our Java Web Application with Crystal report XI, currently using JRC and export to PDF for user to preview and print to local printer.
Now there is new requirement :
Some clients is using thin client terminal (no harddisk, only has OS +Browser in ROM), so I cannot install Acrobat Reader for them to preview&print the report.
So I am looking at Crystal Report Viewer, the question is : Can I print from Crystal Report Viewer directly to local printer without first converting it to PDF (because I can't have acrobat reader installed) ??
Thank you very much,
Krist
IndonesiaHi,
It can't be achieved through XI.
JRCXI R2 SDK offers the ability to print the report server side
using the PrintOutputController using printReport(PrintReportOptions printReportOptions) method.
Here is the code(for XIR2):
import="com.crystaldecisions.reports.sdk.*"
import="com.crystaldecisions.sdk.occa.report.lib.*"
import="com.crystaldecisions.sdk.occa.report.document.*"
try {
final String REPORT_NAME = "Inventory.rpt";
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(REPORT_NAME, 0);
//Create and set print options.
PrintReportOptions printOptions = new PrintReportOptions();
//Note: Printer with the 'printer name' below must already be configured.
printOptions.setPrinterName("
10.10.45.220
BOBJ 2C");
printOptions.setJobTitle("Sample Print Job from JRC.");
printOptions.setPrinterDuplex(PrinterDuplex.horizontal);
printOptions.setPaperSource(PaperSource.auto);
printOptions.setPaperSize(PaperSize.paperLetter);
printOptions.setNumberOfCopies(1);
printOptions.setCollated(false);
PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange(1,1);
printOptions.addPrinterPageRange(printPageRange);
//NOTE: If parameters or database login credentials are required, they need to be set before.
//calling the printReport() method of the PrintOutputController.
reportClientDoc.getPrintOutputController().printReport(printOptions);
reportClientDoc.close();
out.println("Successfully sent report to the printer.");
catch(ReportSDKException ex) {
out.println(ex);
Please revert in case you have any query.
Thanks,
Neeraj -
Error WHen trying to print a crystal report
I am trying to print a system crystal report and it is giving me the following error: "Error during printing; ensure all parameters are defined". And it prints the first page, but none of the consecutive pages if there are more than 1. Is there some type of setting that needs to be set for printing?
Hmmmmm it says "page range" ALL. I was able to print fine until I created a new layout and saved it. THen I went to print it and got the error. But it seems I get the error when I print any crystal report in any DB. Is this a setting in crystal, SAP, or printer itself? I can print the second page if I toggle through to the second page on the crystal report view, and go to print, and put 2 next to pages feild. Otherwise it is set to print ALL, however it is not doing that.
-
Error in Preview and Print in Crystal Report Viewer 2.0.0.7 in Workstation
Hi Guys,
I am encountering a problem when clicking preview and print in Crystal Report Viewer 2.0.0.7. It returns an error
Unhandled exception has occurred in your application. If you click Continue the application will ignore and attempt to continue. If you click quit, the application will close immediately. Load report failed.
I already install the runtime crruntime_120_mlb, . net framework 3.5 sp1 and the add-on itself. The viewer is working properly in SAP Server. My version of SAP is SBO 2007 A SP00 PL10.
Regards,
Michaelhere's the detailed error
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
CrystalDecisions.Shared.CrystalReportsException Load report failed. --- System.Runtime.InteropServices.COMException (0x80004005) The device is not ready.
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database()
at SAP_CR.MyForms.frmReportViewer.ConfigureCrystalReports()
at SAP_CR.MyForms.frmReportViewer.frmReportViewer_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Loaded Assemblies
mscorlib
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3620 (GDR.050727-3600)
CodeBase fileCWINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll
SAP_CR
Assembly Version 2.0.0.7
Win32 Version 2.0.0.7
CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRSAP_CR.exe
Interop.SAPbouiCOM
Assembly Version 8.0.0.0
Win32 Version 8.0.0.0
CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.SAPbouiCOM.DLL
System.Windows.Forms
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll
System
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3614 (GDR.050727-3600)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll
System.Drawing
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll
CustomMarshalers
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32CustomMarshalers2.0.0.0__b03f5f7f11d50a3aCustomMarshalers.dll
Interop.CR_Crypto
Assembly Version 6.0.0.0
Win32 Version 6.0.0.0
CodeBase fileCProgram%20FilesSAPSAP%20Business%20OneAddOnsSAP_CRInterop.CR_Crypto.DLL
System.Data
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll
System.Configuration
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll
System.Xml
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3082 (QFE.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll
System.Transactions
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32System.Transactions2.0.0.0__b77a5c561934e089System.Transactions.dll
System.EnterpriseServices
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase fileCWINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll
CrystalDecisions.Windows.Forms
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Windows.Forms12.0.2000.0__692fbea5521e1304CrystalDecisions.Windows.Forms.dll
CrystalDecisions.Shared
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.Shared12.0.2000.0__692fbea5521e1304CrystalDecisions.Shared.dll
CrystalDecisions.ReportSource
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportSource12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportSource.dll
CrystalDecisions.CrystalReports.Engine
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.CrystalReports.Engine12.0.2000.0__692fbea5521e1304CrystalDecisions.CrystalReports.Engine.dll
System.Web
Assembly Version 2.0.0.0
Win32 Version 2.0.50727.3618 (GDR.050727-3600)
CodeBase fileCWINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll
CrystalDecisions.ReportAppServer.CommLayer
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CommLayer12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CommLayer.dll
CrystalDecisions.ReportAppServer.ClientDoc
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ClientDoc12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ClientDoc.dll
CrystalDecisions.ReportAppServer.DataSetConversion
Assembly Version 12.0.2000.0
Win32 Version 12.0.2000.840
CodeBase fileCWINDOWSassemblyGAC_MSILCrystalDecisions.ReportAppServer.DataSetConversion12.0.2000.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataSetConversion.dll
CrystalDecisions.ReportAppServer.DataDefModel
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.DataDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.DataDefModel.dll
CrystalDecisions.ReportAppServer.Controllers
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.Controllers12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.Controllers.dll
CrystalDecisions.ReportAppServer.CubeDefModel
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.CubeDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.CubeDefModel.dll
CrystalDecisions.ReportAppServer.ReportDefModel
Assembly Version 12.0.1100.0
Win32 Version 12.0.1100.840
CodeBase fileCWINDOWSassemblyGACCrystalDecisions.ReportAppServer.ReportDefModel12.0.1100.0__692fbea5521e1304CrystalDecisions.ReportAppServer.ReportDefModel.dll
BusinessObjects.Licensing.KeycodeDecoder
Assembly Version 12.0.1100.0
Win32 Version 12.0.0.840
CodeBase fileCWINDOWSassemblyGACBusinessObjects.Licensing.KeycodeDecoder12.0.1100.0__692fbea5521e1304BusinessObjects.Licensing.KeycodeDecoder.dll
JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example
configuration
system.windows.forms jitDebugging=true
configuration
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. -
I asked this question over at stackoverflow and am now taking it here: http://stackoverflow.com/questions/20672254/ie11-crystal-reports-printmode-activex-now-displaying-pdf-prompt-instead-of
It's a simple straight-forward question. IE11 is breaking the ActiveX plug-in used for printing from the Crystal Report Viewer. All the pretty pictures are in the link I provided. But the jist is that for my ActiveX Print Mode reports, the PDF dialog is presented now instead of the normal Printer dialog (unless I use Compatibility Mode)
Other details:
I am using the Crystal Reports that comes with Microsoft Visual Studio 2008. For the life of me I can't remember how this got installed on one of my browser's (maybe an install from Visual Studio?) ... but I've been deploying the Crystal Print Control 10.5 (32-bit; version: 10.5.1.2285).
And as mentioned in the stackoverflow post I have all ActiveX settings enabled and ActiveX Filtering off.Hi William,
Moved your post to the .NET SDK forum.
CR for VS 2008 was included in the installer of Visual Studio, you can remove it from Add/Remove Programs.
Unfortunately the CR Basic that comes with VS 2008 only had one patch released and that's it. IE 11 was not released when it came out so we could not support it.
Currently there are no versions of CR or our SDK packages that do support it.
Crystal Reports Developer for Visual Studio SP 9 will support IE 11. You can get it from the Overview Tab and then on the left side. But it requires VS 2010 or above and SP 9 will support VS 2013 and IE 11.
In VS you could select either ActiveX or PDF:
I don't have IE 11 but to change the PDF go into the Add-ins menu:
See this link for supported OS's and VS's:
http://wiki.sdn.sap.com/wiki/x/b4JiAw
Also, IE 11 is likely on Windows 2008 Server or possibly Window 8.x.
Best thing to do is upgrade VS and then download the CR installer into VS so it supports current OS's and Browsers.
Don -
Duplex Printing in Crystal Reports
Post Author: Razzle00
CA Forum: General
Where can I get some information or sample code on how to duplex print with crystal reports?
Thanks,
RazzlePost Author: senglee
CA Forum: General
Here was how I did it using vb.net and crystal reports.
1. In the report, create a seperate detail section to hold your second page. Crystal will see it as Details a & b. In section a, set the new page after property. This will cause the second page (details b) to print on a seperate page.
2. Ok. The next step is to programmically tell your printer to print in duplex. Study the code below and modify it to suite your needs.
' Declare an object of your report. Dim objReportObject As New rptTheDailySavings
'Declare a printoptions object of the objReportObjects print option. Set the settings. Dim PrintOptions As CrystalDecisions.CrystalReports.Engine.PrintOptions = objReportObject.PrintOptions PrintOptions.PrinterName = "Your Printer Name Here" PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.DefaultPaperOrientation PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize PrintOptions.PrinterDuplex = CrystalDecisions.Shared.PrinterDuplex.Default PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Auto
' Send the report to the printer. objReportObject.PrintToPrinter(1, False, 1, 2)
Hope this helps. -
Printing Extremely Slow Using Crystal Reports 2008 ActiveX Print Control
Problem:
We are trying to upgrade our existing Crystal Reports 10.0 ActiveX Viewer ASP based reports to the new Crystal Reports 2008 ASPX Report Viewer but are having print performance issues that have prohibited us from moving forward.
Environment:
Windows 2003 Server Standard Edition 32-bit with SP1
IIS 6.0 running ASP .NET version 2.0.50727
Crystal Reports 2008 SP0 with FP1
Crystal PrintControl.dll version 12.0.0.796 (verified on server and client)
Details:
Crystal Reports 2008 ASPX Report Viewer Object & ActiveX Print Control Report Printing Scenario
From a typical 27 page report, the user clicks the Print icon from the ASPX Report Viewer Object.
The Print window with the message Crystal Reports Print Control immediately appears on the screen. This window is on the screen for approx 30 seconds.
The Print Setup window finally appears on the screen. The user verifies the printer, chooses to print pages 1-5, and clicks the Print button from the window.
The Retrieving page 1 message appears in the Print window. The message remains in the window for approx 30 seconds.
The Printing page 1 message appears in the Print window. The message remains in the window for approx 30 seconds.
The Printing page 2 message appears in the Print window. The message remains in the window for approx 30 seconds.
The Printing page 3 message appears in the Print window. The message remains in the window for approx 30 seconds.
The Printing page 4 message appears in the Print window. The message remains in the window for approx 30 seconds.
The Printing page 5 message appears in the Print window. The message is in the window for less than 1 second.
After 3 MINUTES of waiting the report finally starts printing.
Crystal Reports 10 ASP ActiveX Report Viewer Report Printing Scenario
From the same typical 27 page report that was used in the Crystal Reports 2008 scenario, the user clicks the Print icon from the ASP ActiveX Report Viewer.
The Print window Immediately appears on the screen. The user verifies the printer, chooses to print pages 1-5, and clicks the Print button from the window.
The Print window Immediately disappears from the screen and the report Immediately starts printing.
The entire print process takes only 3 u2013 4 SECONDS.
Even though we are trying to get the users to decrease the amount of paper used in report printing. They still do a significant amount of printing. The difference between the print performance using Crystal Reports 10 (3-4 seconds) and Crystal Reports 2008 (3 minutes) is totally unacceptable to our users.
Has anyone else experienced this problem and is there a known fix for it? This is the only thing holding us back from our upgrade and it has become very frustrating to us.
Much thanks to anyone that can shed some light on this.Hi Brian,
Please have a look at [this|Crystal 11.5 Activex control for viewer; post.
However, have you tried with the No Printer options available in Print Options window from designer?
Regards,
Atanu.
Maybe you are looking for
-
Service Desk Messages are not generating
Hi All, I have done BPM to monitor some of the batch jobs of the satellite system in the Solman production system. i have defined notifications(service desk messages) so that i will get a ticket when some job will get cancelled. Same Configuration i
-
Hello, i have an iphone 5 and it turns off itself. happened many times since i got it replaced from apple bar. i tried to re install the software but still no solution. any idea what can be wrong?
-
Omniweb is not playing Youtube videos
Hi: I have an iBook G4 running 10.5.6 and I'm using Omniweb 5.11.2 as my browser. Up until yesterday everything was fine. Then I logged on to Youtube and Omniweb wouldn't play any of the videos. Youtube still runs fine on my old Camino browser howeve
-
Unable data containing German characters
Hi All, We are facing a problem in retriving the German characters from the Oracle database. We are using a Oracle Thin Client driver and the NLS_LANG for the database is set to UTF-8. Also we are ensuring the the correct NLS is set in the JSP by set
-
I created a boot camp partition for Windows 7 a few months ago, but I didn't make it big enough. Now I'm getting a "not enough space" message when I try to update to boot camp 3.2. I seem to remember that if I need to resize, I need to reinstall boot