Can't close Crystal Report Viewer after printing.
I am using VS2010 and the CR runtime for VS2010.
I have a Crystal Report on a page and a menu button to return to the menu. When the report displays, if I click the menu button, it takes me to the menu. But, if I choose to print, then click the menu button, the report still shows and no matter what I select from the menu, the report stays on the screen, although the menu page is linked to as I placed an alert there and it executes, the print page is still on the screen and actually the address bar still has the report page address.
The page the report is on uses a Master Page if that matters.
What can I do to dispose of this report after it prints (I do have a report.Close and report.Dispose before it gets redirected to the menu.) I've commented out the line that redirects to the menu and placed code that gets executed both ways but when I print, the report doesn't go away.
OK, you wrote:
I have a Crystal Report on a page and a menu button to return to the menu. When the report displays, if I click the menu button, it takes me to the menu. But, if I choose to print, then click the menu button, the report still shows and no matter what I select from the menu, the report stays on the screen, although the menu page is linked to as I placed an alert there and it executes, the print page is still on the screen and actually the address bar still has the report page address
So this is not a the Standard Menu bar but a Menu button you have on your form. I added the Standard Menu bar to my form and then hit the CR Print button in the viewer and while that MS Printer Dialog box is open I can't set focus to anything else.
This suggests that your focus control is getting lost somewhere or taking over/wiping out the focus ID for the Crviewer with no way to return to it...
Check you form options and specifically on your "Menu" button or what ever it is....
Don
Similar Messages
-
How can I get Crystal Report Viewer 2008 to view boe xi r2 sp4 rpts
we're getting an error when trying to open a report generated out of boe xi r2 sp4....the report does have "save data" with report.... I send to myself via email, save the rpt but when I try to open on a machine with viewer installed....it tries and gets to the end and presents an 'unexpected error' with detail:
any suggestions? I put in case# 1020775
Product Info:
Crystal Reports Viewer 2008
com.businessobjects.crystalreports.viewer.shell.application
JVM Info:
1.6.0_02-b05
Sun Microsystems Inc.
Java HotSpot(TM) Client VM
System Configuration:
win32
x86
en_US
Plug-ins:
org.eclipse.osgi version: 3.4.0.v20080605-1900
org.eclipse.equinox.common version: 3.4.0.v20080421-2006
org.eclipse.update.configurator version: 3.2.200.v20080417
org.eclipse.core.runtime version: 3.4.0.v20080512
com.businessobjects.crystalreports.designer.BOEIntegration.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.BOEIntegration version: 12.2.0.r325
com.businessobjects.crystalreports.boesdk.libs version: 12.0.0
com.businessobjects.crystalreports.boesdk version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.core version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.CRDCIntegration version: 12.2.0.r325
com.businessobjects.crystalreports.crdcsdk.libs version: 12.0.0
com.businessobjects.crystalreports.crdcsdk version: 12.2.0.r325
com.businessobjects.crystalreports.crsdk.libs version: 12.2.0.r325
com.businessobjects.crystalreports.crsdk version: 12.2.0.r325
com.businessobjects.GEFUtilities.cs version: 12.2.0.r325
com.businessobjects.GEFUtilities.de version: 12.2.0.r325
com.businessobjects.GEFUtilities.en version: 12.2.0.r325
com.businessobjects.GEFUtilities.es version: 12.2.0.r325
com.businessobjects.GEFUtilities.fr version: 12.2.0.r325
com.businessobjects.GEFUtilities.hu version: 12.2.0.r325
com.businessobjects.GEFUtilities.it version: 12.2.0.r325
com.businessobjects.GEFUtilities.ja version: 12.2.0.r325
com.businessobjects.GEFUtilities.ko version: 12.2.0.r325
com.businessobjects.GEFUtilities.nl version: 12.2.0.r325
com.businessobjects.GEFUtilities.pl version: 12.2.0.r325
com.businessobjects.GEFUtilities.pt version: 12.2.0.r325
com.businessobjects.GEFUtilities.ru version: 12.2.0.r325
com.businessobjects.GEFUtilities.sv version: 12.2.0.r325
com.businessobjects.GEFUtilities.zh version: 12.2.0.r325
com.businessobjects.GEFUtilities.zh_HK version: 12.2.0.r325
com.businessobjects.GEFUtilities.zh_MO version: 12.2.0.r325
com.businessobjects.GEFUtilities.zh_MY version: 12.2.0.r325
com.businessobjects.GEFUtilities.zh_TW version: 12.2.0.r325
com.businessobjects.GEFUtilities version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.IntegrationBase version: 12.2.0.r325
com.businessobjects.crystalreports.platformext.win32 version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.promptingui version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.cs version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.de version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.en version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.es version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.fr version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.hu version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.it version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.ja version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.ko version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.nl version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.pl version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.pt version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.ru version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.sv version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.zh version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.zh_HK version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.zh_MO version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.zh_MY version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities.zh_TW version: 12.2.0.r325
com.businessobjects.RCPRuntimeUtilities version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.readingpage version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.reportviewlib version: 12.2.0.r325
com.businessobjects.SWTUtilities.cs version: 12.2.0.r325
com.businessobjects.SWTUtilities.de version: 12.2.0.r325
com.businessobjects.SWTUtilities.en version: 12.2.0.r325
com.businessobjects.SWTUtilities.es version: 12.2.0.r325
com.businessobjects.SWTUtilities.fr version: 12.2.0.r325
com.businessobjects.SWTUtilities.hu version: 12.2.0.r325
com.businessobjects.SWTUtilities.it version: 12.2.0.r325
com.businessobjects.SWTUtilities.ja version: 12.2.0.r325
com.businessobjects.SWTUtilities.ko version: 12.2.0.r325
com.businessobjects.SWTUtilities.nl version: 12.2.0.r325
com.businessobjects.SWTUtilities.pl version: 12.2.0.r325
com.businessobjects.SWTUtilities.pt version: 12.2.0.r325
com.businessobjects.SWTUtilities.ru version: 12.2.0.r325
com.businessobjects.SWTUtilities.sv version: 12.2.0.r325
com.businessobjects.SWTUtilities.zh version: 12.2.0.r325
com.businessobjects.SWTUtilities.zh_HK version: 12.2.0.r325
com.businessobjects.SWTUtilities.zh_MO version: 12.2.0.r325
com.businessobjects.SWTUtilities.zh_MY version: 12.2.0.r325
com.businessobjects.SWTUtilities.zh_TW version: 12.2.0.r325
com.businessobjects.SWTUtilities version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.cs version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.de version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.en version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.es version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.fr version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.hu version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.it version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.ja version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.ko version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.nl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.pl version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.pt version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.ru version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.sv version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.zh version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.designer.uibase version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.cs version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.de version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.en version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.es version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.fr version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.hu version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.it version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.ja version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.ko version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.nl version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.pl version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.pt version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.ru version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.sv version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.zh version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.updateserviceplugin version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.cs version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.de version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.en version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.es version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.fr version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.hu version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.it version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.ja version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.ko version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.nl version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.pl version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.pt version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.ru version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.sv version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.zh version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.zh_HK version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.zh_MO version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.zh_MY version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell.zh_TW version: 12.2.0.r325
com.businessobjects.crystalreports.viewershellext.win32 version: 12.2.0.r325
com.businessobjects.crystalreports.viewer.shell version: 12.2.0.r325
com.businessobjects.ui.controls.de version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.en version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.es version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.fr version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.it version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.ja version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.ko version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.nl version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.pl version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.pt version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.ru version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.sv version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.zh version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.zh_HK version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.zh_MO version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.zh_MY version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls.zh_TW version: 12.0.0.r325_v20080731
com.businessobjects.ui.controls version: 12.0.0.r325_v20080731
com.ibm.icu version: 3.8.1.v20080530
org.eclipse.core.commands version: 3.4.0.I20080509-2000
org.eclipse.core.contenttype version: 3.3.0.v20080604-1400
org.eclipse.core.databinding version: 1.1.0.I20080527-2000
org.eclipse.core.expressions version: 3.4.0.v20080603-2000
org.eclipse.core.jobs version: 3.4.0.v20080512
org.eclipse.core.runtime.compatibility.auth version: 3.2.100.v20070502
org.eclipse.draw2d version: 3.4.0.v20080529
org.eclipse.equinox.app version: 1.1.0.v20080421-2006
org.eclipse.equinox.launcher.win32.win32.x86 version: 1.0.100.v20080509-1800
org.eclipse.equinox.launcher version: 1.0.100.v20080509-1800
org.eclipse.equinox.preferences version: 3.2.200.v20080421-2006
org.eclipse.equinox.registry version: 3.4.0.v20080516-0950
org.eclipse.gef version: 3.4.0.v20080526
org.eclipse.help version: 3.3.100.v20080610
org.eclipse.jface.databinding version: 1.2.0.I20080515-2000a
org.eclipse.jface version: 3.4.0.I20080606-1300
org.eclipse.rcp version: 3.4.0.v20080507
org.eclipse.swt.win32.win32.x86 version: 3.4.0.v3448f
org.eclipse.swt version: 3.4.0.v3448f
org.eclipse.ui.views version: 3.3.0.I20080509-2000
org.eclipse.ui.workbench version: 3.4.0.I20080606-1300
org.eclipse.ui version: 3.4.0.I20080610-1200
Libraries:
C:\Program Files\Business Objects\Crystal Reports Viewer 2008\libs\CR\us.jar version: null
Stack Trace:
Caused by : java.lang.IndexOutOfBoundsException
com.crystaldecisions.reports.formulas.FieldExpression$Type.a(Unknown Source)
com.crystaldecisions.reports.formulas.ExpressionNode.getType(Unknown Source)
com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
com.crystaldecisions.reports.datafoundation.DFQuery.<init>(Unknown Source)
com.crystaldecisions.reports.datafoundation.DFRuntime.if(Unknown Source)
com.crystaldecisions.reports.datafoundation.DFRuntime.a(Unknown Source)
com.crystaldecisions.reports.datalayer.a.if(Unknown Source)
com.crystaldecisions.reports.datalayer.a.char(Unknown Source)
com.crystaldecisions.reports.datalayer.a.long(Unknown Source)
com.crystaldecisions.reports.datalayer.a.f(Unknown Source)
com.crystaldecisions.reports.datalayer.a.c(Unknown Source)
com.crystaldecisions.reports.datalayer.a.case(Unknown Source)
com.crystaldecisions.reports.dataengine.m.char(Unknown Source)
com.crystaldecisions.reports.dataengine.j.char(Unknown Source)
com.crystaldecisions.reports.dataengine.m.j(Unknown Source)
com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)
com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.A(Unknown Source)
com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.call(Unknown Source)
com.businessobjects.crystalreports.designer.uibase.dialogs.ProgressMonitorDialog$6.run(Unknown Source)
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)going back to crystal viewer xi worked / resolved....
-
Crystal Report viewing and Printing Issue
Hi Experts
I use crystal Reports for PO,AR Invoice,Delivery and many other documents.It takes more than 5 mins to view layout from crystal report and print sequence printing takes more than 10mins.Please Help me to rectify this issue..
Regards
Naresh KumarHi Naresh,
What is your SAP version and Patch Level ?
I believe in new version this issue has been addressed by SAP. Also note SAP B1 8.81 PL 07 has some issues in crystal Report, it asks for SQL user id and password, SAP is aware of this issue. So if you plan upgrade to latest PL then ensure that Crystal report issue is resolved, otherwise you will be in trouble.
BR
Samir Gandhi -
Crystal Report Viewer Error Handling
Dear All
Thank you for your attention.
I wrote a C# program for user to print out an order using WPF and crystal report viewer.
Computer A is connected directly to the printer through USB.
Computer B and C are connected to the printer through printer sharing.
Computer A can print out anything such as word doc or image to the printer.
However, when using the print function in the crystal report viewer(select printer and press print), it crashes.
Very strange that computer B and C could use the print function in the crystal report viewer without any error.
As in my developer computer I could not simulate the error, how could I capture and study the error of the print function in the crystal report viewer in computer A?
Thanks a lot.
Best Regards
swivantry this:
https://msdn.microsoft.com/en-us/library/aa288423(v=vs.71).aspx
https://msdn.microsoft.com/en-US/library/ms225372(v=vs.80).aspx -
Crystal reports viewer will not prompt for parameters
Help,
I can not get crystal report viewer to prompt for parameters when called from IIS 8 on Server 2012 r2
I can get crystal report viewer to prompt for parameters when run from vs 2010 built in web service.Thanks,
The solution for me was to uninstall the latest crystal reports runtime 13.10.x and install 13.6.x instead.
Thanks anyway. -
Crystal report viewer do not show on client computer installation
hi
hope all you are fine
i develop a simple project that show "Hello word My First Crystal Report" on crystal report viewer. after this i add new project "setup and deployment". In Setup Project I add 4 files of .msm for show crystal report.
1. CRRuntime_13_0_tr.msm 2. Microsoft_VC100_ATL_x86.msm
3. Microsoft_VC100_CRT_x86.msm
4. Microsoft_VC100_MFC_x86.msm 5. Microsoft_VC100_OpenMP_x86.msm
when i install on developer computer. it runs successfully. when i install on client computer, software runs fine but crystal report did not show and having error "METHOD NOT FOUND VOID CrystalDecision.WINDOWS.FORMS.CrystalREPORTViewer.SET_CACHEDPAGENUMBERPERDOC(INT32)"
i install .net frame work and CRforVS_13_0_9.exe on client computer but .net frame work show form but crystal report did not show.
Please HelpHello,
For Crystal repot related question ,please consult on SAP Crystal report forum instead of here.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Refresh Crystal Report Viewer By JavaScript or JQuery
hii every body here ...
i need to can refresh the crystal report viewer with javascript or jquery as like [refresh button] on toolbar
so i need to do that without using standard refresh button on toolbar or by server side code only by java script code is this possible or not
thanks for the repliers ...thanks for replay my best friend but i need the below :
i using asp.net web application with crystal report 13
i use crystal report viewer on web page so ...
when i display the report some button inside the crystal report viewer toolbar like [refresh] button
i need to click this button by javascript/jquery becuase i will fire it on page_load from jquery
when page load from javascript [client side] i will fire the refresh button ....
soo if this an soluation can let me do this task or not
remember that : i dont need to refresh the report from server side methods .
thanks alot -
Post Author: Farooque
CA Forum: Other
Hi,
I am using Crystal report viewer (Crviewer.dll) version 11.0.0.1282 to show crystal reports in my VB6 application. When we search for any text in a multipage report after the last find system shows a message "Crystal Report Viewer" "Text cannot be found in the report" and trows an unhandled error and closes the application. How can I fix this?
Please help
Thanks in advance.
Farooque. ([email protected])Enter the following:
viewer blank net crystal
into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
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] -
Can't Print Landscape from Crystal Reports Viewer XI
Post Author: conrad
CA Forum: General
Product: Crystal Reports Viewer XI, version 12.0.0.r130_v20070725 and
Crystal Reports XI, version 11.0.0.1282
Patches Applied: none
Operating System(s): XP Pro SP2
Database(s):
Error Messages: noneSteps to Reproduce:
Download and install Crystal Reports Viewer XI
Open a Crystal Report that prints landscape.
Save report with data.
Open that report with Crystal Reports Viewer XI. Report will display landscape.
Click Print..OK
Viewer will attempt to scale output to fit on portrait paper, with varying degrees of success.
Checking the properties of the report from Viewer (File...Report Properties...) shows a "Page Orientation" of "Landscape" and a message "Page Orientation and size defined by the application (no page information set by report author)."
Any ideas on how to get the report to print landscape? It prints that way from Crystal Reports XI.Hello Glenda,
as you refer to the legacy technology I recommend to post this query to the [Legacy Application Development SDKs|SAP Crystal Reports - Legacy SDKs; forum.
This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
It is monitored by qualified technicians and you will get a faster response there.
Also, all Legacy Application Development SDKs queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk -
Error With Export/Print from Crystal Report Viewer
Hello there,
I've searched through the web and SAP discussion boards with not much luck with this issue.
After working through this for some days now I've decided to look here for help.
Environment:
I have created a web Crystal Report viewer application(Developed with SBOP BI Platform 4.0 SP06 .NET SDK Runtime) that communicates with a managed Cyrstal Server 2011 SP4 (Product 14.0)
I am able to connect and authenticate with the server, retrieve a token for communication and display reports in the Crystal report Viewer successfully.
Problem:
When I attempt to export, I receive the prompt to select format and pages.
When I click export after selections most times I receive an error with the text
Unable to cast COM object of type 'System.__ComObject' to interface type 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{74EEBC42-6C5D-11D3-9172-00902741EE7C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Other times the page simply refreshes on export.
When I click to print, no print dialog is displayed the page always refreshes and no error is displayed.
No Print or Export document is ever created.
As many print/export issues seems to be related, I'm guessing this two issues are as well.
Notes:
I am utilizing the ReportClientDocument model
I am storing this in session to use as the crystal report viewer report source on postbacks
I am assigning a subset of export formats to the crystal report viewer
I am setting particular parameters as well on the report source
At this point I would appreciate every assistance I may receive on this issue
Thanks in advance,
Below is the pertinent code
Code:
<aspx>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="true" EnableDatabaseLogonPrompt="False"
BestFitPage="False" ReuseParameterValuesOnRefresh="True"
CssClass="reportFrame" Height="1000px" Width="1100px" EnableDrillDown="False"
ToolPanelView="None" PrintMode="Pdf"/>
<Codebehind>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CrystalDecisions.Enterprise;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.CommonObjectModel;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.DataDefModel;
using CrystalDecisions.ReportAppServer.ReportDefModel;
using CrystalDecisions.Shared;
namespace ClassicInternalReportPage
public partial class Reports : System.Web.UI.Page
protected override void OnInit(EventArgs e)
base.OnInit(e);
if (!String.IsNullOrEmpty(Convert.ToString(Session["LogonToken"])) && !IsPostBack)
SessionMgr sessionMgr = new SessionMgr();
EnterpriseSession enterpriseSession = sessionMgr.LogonWithToken(Session["LogonToken"].ToString());
EnterpriseService reportService = enterpriseSession.GetService("RASReportFactory");
InfoStore infoStore = new InfoStore(enterpriseSession.GetService("InfoStore"));
if (reportService != null)
string queryString = String.Format("Select SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS "
+ "Where SI_PROGID='CrystalEnterprise.Report' "
+ "And SI_ID = {0} "
+ "And SI_INSTANCE = 0", Request.QueryString["rId"]);
InfoObjects infoObjects = infoStore.Query(queryString);
ReportAppFactory reportFactory = (ReportAppFactory)reportService.Interface;
if (infoObjects != null && infoObjects.Count > 0)
ISCDReportClientDocument reportSource = reportFactory.OpenDocument(infoObjects[1].ID, 0);
Session["ReportClDocument"] = AssignReportParameters(reportSource) ? reportSource : null;
CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
CrystalReportViewer1.DataBind();
//Viewer options
// Don't enable prompting for Live and Custom
CrystalReportViewer1.EnableParameterPrompt = !(Request.QueryString["t"] == "1" || Request.QueryString["t"] == "4");
CrystalReportViewer1.HasToggleParameterPanelButton = CrystalReportViewer1.EnableParameterPrompt;
CrystalReportViewer1.AllowedExportFormats = (int)(ViewerExportFormats.PdfFormat | ViewerExportFormats.ExcelFormat | ViewerExportFormats.XLSXFormat | ViewerExportFormats.CsvFormat);
protected void Page_Load(object sender, EventArgs e)
if (IsPostBack && CrystalReportViewer1.ReportSource == null)
CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
CrystalReportViewer1.DataBind();
private bool AssignReportParameters(ISCDReportClientDocument reportSource)
bool success = true;
if (Request.QueryString["t"] == "1" || Request.QueryString["t"] == "2" || Request.QueryString["t"] == "4" )
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "STORE", Session["storeParam"]);
if (Request.QueryString["t"] == "2")
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "FromDate", Request.QueryString["fromdate"]);
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "ToDate", Request.QueryString["todate"]);
else if (Request.QueryString["t"] == "3")
reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "SKU", Request.QueryString["sku"]);
else
//Unknown report type alert
success = false;
return success;Thanks Don for your response,
I'm new to the SCN spaces and my content has been moved a couple of times already.
In response to your questions
The runtime is installed on the web application server, if by that you mean the machine hosting the created .NET SDK application.
My question was whether it was also required on the Crystal Server 2011 (I.E. the main enterprise server with CMS and Report management and I guess RAS and all that). I figured this would remain untouched and queries would simply be made against it to retrieve/view reports e.t.c
If install of the SDK on Crystal Server 2011 is indeed required should I expect any interruption to any of the core services after a restart. I.E. I'm hoping that none of the SDK objects would interfere with the existing server objects (in SAP Business Objects)Reason I ask is I note that much of the SDK install directories are similar to the existing Crystal Enterprise Server 2011 (Product 14.0.0)
Is this temp folder to be manually created/configured or is it created by the application automatically to perform tasks. Or are you referring to the default C:\Windows\Temp directory and so saying that the application would try to use this for print and export tasks?Once I'm sure which I'd give the app pool user permission
Printing is to be client side but I figured by default (with the Crystal Report Viewer) it would simply pool and print from the user's printer. This is how it works with the previously used URL reporting approach (viewrpt.cwr). Therefore a user can print the document from wherever they are with their own printer.We don't intend on printing from the server machine, but are you suggesting that a printer must be installed on server (which one web or enterprise server) for any client side printing to work.
App pool is running in 32 bit mode
Initially didn't get anything useful from fiddler but I'd try and look closer on your suggestion.
It's also possible that some of my questions are a misunderstanding of APP vs RAS vs WEB, so please feel free to clarify. Currently I see the Web server as simply the created .NET SDK Application and RAS (Crystal Server 2011 e.t.c) as the existing fully established Application server which I simply pool for information.
Thank you for your patience and advice, -
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 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. -
Print crystal report viewer in visual studio 2005
please help me.i installed visual studio2005 with web crystal report viewer.i create web site and installed that on windows server 2003 sp1 and iis7. user in etwork connect to server on remote desktop and execute web site. in my project user print resume . for doing that: i used stored procedure for getting information and pass to report document and it shows in crystal report viewer. for doing that i used printtoprinter(1,false,1,1)
it shows correct but it shows this error :operation completed successfully and can not print. all printers are shared and all of them are hp 1018.
this program print correct on my standalone system with printer hp deskjet 1220c.
please help me.i spent a lot of time and i could not solve that.please please please help me.Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly
-
Print Button Not Working if i not inital the Crystal Report Viewer
hiii every body here
i have problem on my web application with framework (4.0)
i use crystal report viewer (crystal report 13) and i installed the engine of crystal report and use dataset as datasource to my report and my report work fine but ....
my problem is :
i cannot export or print my crystal report 13 if i put my code on sub like that :
protected void btn_print_Click ( object sender , EventArgs e )
SP_testTableAdapter adpter = new SP_testTableAdapter();
adpter.Fill(ds.SP_test);
Reports.Learning.CrystalReports.CR_testreport my_report = new Reports.Learning.CrystalReports.CR_testreport();
my_report.SetDataSource(ds);
CrystalReportViewer1.ReportSource = my_report;
CrystalReportViewer1.DataBind();
when i use this i cannot print or export it say to me login to database fail message although i use dataset not direct database connection that mean it not need to give the report source every use of it the connection of my server details like username , password
but if i put this code to my page load the report run and showing and print correctly , i need to can use print,export and every button on reportviewer toolbar
without put the code that display report on page_load i need to put code on button event only and when i click the button it show the report and can print and export , and not need to use sesssion
need help plz ................An assumption here is that this is a web app. That being the case, you need to worry about post backs when you print or export. E.g.; almost any action the viewer will cause a post back and thus what ever data you sent to the report is now forgotten. Place the report in session and this will eliminate the issue. Search for KBA 1985571. I document the full code needed there.
- Ludek -
How do you set the Crystal Report Viewer Printer to Duplex
Using the code below I can print in duplex mode, but this does not let me view a report before printing
How do I set the Printer in the Viewer Control Bar of the Crystal Report Viewer to Duplex Printing programmatically rather than having to manually select Duplex through the preferences option?
I have searched but the only example code I found produces errors in the code and will not run
Private myReport As ReportDocument
myReport = New ReportDocument()
myReport.PrintOptions.PaperSize = PaperSize.PaperA4
myReport.PrintOptions.PaperOrientation = PaperOrientation.Portrait
myReport.PrintOptions.PrinterDuplex = PrinterDuplex. Vertical
myReport.PrintToPrinter(3, False, 0, 0)
In my VB6 Project that I am converting to VB.NET when I added Report.PrinterDuplex = crPRDPVertical, this allowed me to view the report and then print with Duplex without having to set the Print Preferences manualy
I found 1386475 - How to set printer name and print job title at runtime using Report Application Server SDK for Visual Studio .NET
But this causes errors
Imports CrystalDecisions.ReportAppServer.ClientDoc
Imports CrystalDecisions.ReportAppServer.Controllers
Dim boReportClientDocument As ISCDReportClientDocument
Dim boPrintOutputController As PrintOutputController
Dim boPrintReportOptions As New PrintReportOptions
Edited by: DavidMills on Feb 18, 2011 11:58 AMHi David,
You can mix both engines, just declare them both with different report object names. Here's all of my references:
using System;
using System.IO;
using System.Xml;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.ReportDefModel;
using CrystalDecisions.ReportAppServer.CommonControls;
using CrystalDecisions.ReportAppServer.CommLayer;
using CrystalDecisions.ReportAppServer.CommonObjectModel;
using CrystalDecisions.ReportAppServer.ObjectFactory;
using System.Data.OleDb;
using CrystalDecisions.ReportAppServer.DataSetConversion;
using CrystalDecisions.ReportAppServer.DataDefModel;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Windows.Forms;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
public class frmMain : System.Windows.Forms.Form
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
My file open dialog:
private void btnOpenReport_Click(object sender, System.EventArgs e)
rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument();
openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
openFileDialog.FilterIndex = 1;
if (openFileDialog.ShowDialog() == DialogResult.OK)
btnOpenReport.Enabled = false;
btnSaveRptAs.Enabled = false;
object rptName = openFileDialog.FileName;
try
rpt.Load(rptName.ToString());
rptClientDoc = rpt.ReportClientDocument;
catch (Exception ex)
MessageBox.Show("ERROR: " + ex.Message);
return;
MessageBox.Show(rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString());
MessageBox.Show("Report opened.","RAS",MessageBoxButtons.OK,MessageBoxIcon.Information );
btnOpenReport.Enabled = true;
btnSaveRptAs.Enabled = true;
//MessageBox.Show(rpt.RecordSelectionFormula, "my record: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
As for the page number I use it off the Engine report object:
MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
And it works for me...
Thank you
Don
Maybe you are looking for
-
Profit Center Document not getting generated when direct FI doc is posted
Dear Experts, Profit Center Document not getting generated when direct FI doc is posted. However CO Document is generated for Line Item 1 mentioned below. Accounting Entry Line 1 -Debit Expense ( Cost Center) 1000 Line 2 - Credit Bank
-
Help me Plz i got prob.......
can any one guide me how to implements Nt authentication in desktop application in java application. plz let me know asap Thx in advance
-
Calculating a Leap Year with a FOX Formula
Hi to everybody. Is it posible to calculate a leap year using BPS in BW 3.5 with a FOX formula? The code i need to write is something like this: if ((year % 4 == 0) AND ((year % 100 != 0) OR (year % 400 == 0)) then it is a leap year; else it isn´
-
I am trying to communicate between an Oracle 9.2.0.4 database on AIX 5.2 and applications sitting on Windows 2000 Professional, using the Oracle ODBC driver. I have tried a number of the drivers but they bring back the message 'oracle.jdbc.dbaccess.D
-
Problem of updating of ios 6.0.2
Why does the contact person of Whatsapps is hidden, only show the tel no. Also, part of calendar info & many records of memo are deleted after updating of ios 6.0.2 By the way, I couldn't login yahoo mail. I am sure that the pasword is correct, but