Crystal Report in an iFrame redirect problem
Hi!
I have built a page with a only Crystal Report on it, which I display in an iFrame on another page.
I have a hyperlink on the page that is used to redirect the iFrame by assigning the iFrame a name and setting the target of the hyperlink to the iFrame. When the user clicks the hyperlink, it will redirect the iFrame.
This all works fine up until the point at which you generate the actual Crystal report. After the report has generated, attempting to redirect the iFrame via the hyperlink causes a new browser tab/window to open. A few tests that I have run using Javascript or codebehind circumvent this issue, but as it stands I cannot use this method.
This issue has only just arisen with the VS2010 version of Crystal Reports. The older versions do not have this problem.
Research I have done into the issue have been fruitless and have tinkered with the Report Viewer itself a bit to no avail.
Is there an explanation for this issue and/or a means of getting past this?
Any help or nudge in a new direction is very much appreciated!
Regards,
Frank.
Hello Frank:
This issue has been reported to R&D for a fix (ADAPT01554950). At this time, the fix is targeted (not guaranteed) for Service Pack 3. ETA; mid 2012.
For a possible work-around, see the following thread:
Crystal Reports Viewer VS2010 FRAME target issue
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]
Edited by: Ludek Uher on Nov 28, 2011 7:48 AM
Similar Messages
-
Crystal Report generate PDF with J2EE problem
Dear All
I am having a great problem on generating PDF file by Crystal Report in J2EE.
I have my J2EE application runs Crystal Report to generate PDF files.
However for a report, i hit the following error (red color) when the PDF is generating.
But is no problem for the other reports.
Here is the code that i used to generate the PDF
My OS and Java version as follows
Window 2003 server.
Java 1.4.2_04
Please Kindly Help
Thanks very much
public static void export(HttpServletRequest request, HttpServletResponse response, String reportPath, ArrayList paramList, ReportExportFormat outFormat) throws Exception{
System.gc();
HttpSession session = request.getSession(false);
Object reportSource = getReportSource(request, reportPath);
ReportExportControl exportControl = new ReportExportControl();
if(paramList != null && paramList.size()>0){
exportControl.setParameterFields(getParamFields(paramList));
ExportOptions exportOptions = new ExportOptions();
exportOptions.setExportFormatType(outFormat);
PDFExportFormatOptions pdfexpopts = new PDFExportFormatOptions();
exportOptions.setFormatOptions(pdfexpopts);
exportControl.setReportSource(reportSource);
exportControl.setExportOptions(exportOptions);
exportControl.processHttpRequest(request, response, session.getServletContext(), null);
exportControl.dispose();
public static IReportSource getReportSource(HttpServletRequest request, String reportPath) throws Exception{
ReportClientDocument oReportClientDocument = new ReportClientDocument();
HttpSession session = request.getSession(false);
oReportClientDocument.open(reportPath, 0);
return oReportClientDocument.getReportSource();
00:57:08,671 ERROR reportdefinition Thread-28 - Report printer was not valid, switching to default printer.
00:57:08,687 ERROR objectformatter Thread-28 - com.crystaldecisions.reports.dataengine.k: |Y
00:57:09,343 ERROR b Thread-28 - Disk Exporter: no output file was created by an exporter
00:57:09,343 ERROR b Thread-28 - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); java.lang.IllegalArgumentExceptionHi,
I have tried this code but stil the same.
However i tried setup another tomcat and application in the other machine and the only job for the application is exporting the report that has problem, then the error is gone.
So i guess that is the memory size problem.
Thanks for this
One more question about the memory size between Tomcat and Crystal report.
I have set in catalina.bat as
set JAVA_OPTS = "-Xms2048M -Xmx1024M"
and CRConfig as
<JVMMaxHeap>1024000000</JVMMaxHeap>
<JVMMinHeap>512000000</JVMMinHeap>
1. Is that the correct setting.?
2. The memory in the JAVA_OPT and is the MAX and MIN memory that java would use,
then is the Max memory in CRConf is 1024M out of the java heap size or the application use another 1024 memory -
Crystal Report 2008 export to text problem
Hello,
I am using Crystal Reports 2008 for generating reports in our WPF application. In this application, we are exporting the report to txt file on a button click. Now the application contains a form called u2018Print Manageru2019, through which the user can print the exported report(text files). Now the issue, when we try to the any of the exported report file through the application, the printer leaves alternate blank pages. The printer used in this case is DOT MATRIX EPSON LQ-1150II ESC/P2. We even tried printing the text file on HP Laser jet 4600, but the same issue is faced.
Also, please note that when I try to read the exported txt file, a formfeed(u2018\fu2019 page break) character can be seen at the place where the printer leaves a blank page. Hence, my concern is, Is there any property of crystal report that I am missing on or is this a printer driver issue? But if it would have been a driver issue, then changing the printer might have solved the issue.
I also tried doing u2018Keep Togetheru2019 property = false of all the sections of the report. Also, I found that the u2018New Page Afteru2019 property = true and disabled for the u2018Page Footeru2019 section. So I set u2018New Page Afteru2019 property = false programmatically as
rdTest.ReportDefinition.Sections["Section5"].SectionFormat.EnableNewPageAfter = false;
but no luck.
If anyone has faced similar problem or have any clues, please help!
Any kind of help in solving this issue will be highly appreciated.
Thanks in anticipation!Good morning.
We've got something to get straight first
When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
And version 12.0.0.683, is very old (well as far as CR is concerned anyhow ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
Ludek -
SAP BW and Crystal Reports XI R2 Parameter list problem??
Hello Experts,
I facing a problem.
I have a crystal report based on a BW Query. It has one parameter called Country.
Eg:
Until now, in BW query country variable has the following values.
USA
JAPAN
GERMANY
Now, from this fiscal year we have the following values for country variable
USA
JAPAN
INDIA
GERMANY
UK
I am trying to edit the list of values for the country variable in crystal reports. It is not getting reflected in SAP BW. I also tried refreshing it several times.
THE VARIABLE IS A HIERARCHY VARIABLE.
Can any one Please help.!!
Regards
NMU
Edited by: Mohammad Usama on Oct 20, 2008 4:26 PMYou said that you are using version XI R2 SP2 (for BO Enterprise) - do you have any FixPacks on this codeline? (FP2.x)
Question: If YES to above, have you made use of the equivalent FixPack for Integration Kit? (known as "Partners Fix Pack 2.x ")
There are a few fixes in this area, I was thinking like:
ADAPT00716808 - When scheduling a report from SAP Business Information Warehouse (BW) that contains parameters from a hierarchy or a hierarchy node variable, the default values fail to be displayed from InfoView. >>
ADAPT00894127 - When users enter date parameters in the Calendar dialog box in SAP InfoView, the dates entered fail to appear in the corresponding field.
Good luck,
Henry -
Crystal Report Viewer (SmartViewerActiveX/ActiveXViewer) barcode problem
I am using the crystal reports viewer to show my reports in my asp website.
In the reports, I have a barcode using the font source IDAutomationHC39M.ttf.
This code must be a certain size that I indicated in my report design.
The problem is that the viewer appears in the browser with the barcode expanded to full size, and not with the size that I indicated in report design.
If I print from the program Crystal Reports, it appears according to the size indicated.
It seems that this is a problem of the Viewer in the browser.
Someone can help me? this matter is very urgent.
Thank you.Thread moved to the .NET - SAP Crystal Reports forum.
A few details missing:
1) Version of CR?
2) CR updates applied?
3) Version of .NET?
4) OS?
5) What browser and version?
6) is the issue present on dev / deployed computer / both?
Oh, BTW.; if this is urgent, consider creating a phone case here:
http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
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]
Edited by: Ludek Uher on Feb 3, 2012 10:26 AM -
Crystal Report Server Backup and Recovery problem
I have a problem on the backup Crystal Report Server
My Environment:
- Windows Server 2003
- Crystal Report Server XI R2
- MySQL Database for Central Management Server System Tables(Default setting in the Crystal Report Server installation)
- Tomcat (Default seting in the Crystal Report Server installation)
I stop the Central Management Server before backup.
I run the following command to backup Central Management Server System Table:
mysqldump --user=root --password=pass1234 boe115 > C:\CMSBackup.sql
It is ok to generate CMSBackup.sql file.
After backup, I re-install the Crystal Report Server and run the following command to restore Central Management Server System Table:
mysqldump --user=root --password=pass1234 boe115 < C"\CMSBackup.sql
After finish the restore process, I cannot found my setting on the Central Management Server System.
Any backup step i missed ?Hi Stefan,
Thank you for your reply.
I had set Users Rights, Folders setting, Group setting, and Windows Authentication information in the Crystal Report Server
Also I had upload reports to Crystal Report Server, but i cannot found above information after I restore the MySQL CMS database.
Any step i missed ?
About the Output File Respository, Can i copy and paste the Input and Output File Repository ? -
Crystal report for sap business one problem
Hi experts,
I am facing problem while dealing with crystal report 2011.
I installed sap b1 8.8 pl 10, then upgraded to pl 20. Now again upgraded to 9.0 pl08. Then i installed SAP Crystal Report for SAP Business One 2011.
I seems that it is not integrated to SAP Business One, because i am not able to save my crystal layouts in sap business one.
How can i resolve this issue, please let me know if anyone faced same kind of problem and got solution for that.
ThanksHi
1758302 - Error while connecting to Crystal
1397692 - Error when starting Crystal Reports software
Thanks
Mohammad Imran -
Crystal Reports Viewer - pdf, prompts, icons problem
Hi all,
I am a new in BO.
I have some answer about Crystal Reports Viewer (not about setup.exe but about CRV application that I uploaded on Tomcat)
1) The old version (11.5) works good, only Export to PDF functionality is wrong. There are in the pdf file wrong display of specific czech characters (charset)
2) A new version, Crystal Reports Viewer 2008, show the same pdf mistake. I have J2SE Runtime Environment 5.0 Update 4 and Apache Tomcat 5.5.9.
I upload application on Tomcat, configuration (web.xml, crconfig.xml and context.xml) is the same with version 11.5.
Crystal Reports Viewer 2008 displayed reports, but the problem with PDF is present. The second problem is the look of CRV. First one, the icons (for export, print...all icons) are not displayd. I can copy old jar files into java (in application folder C:\WebReports\WEB-INF\lib), but then CRV looks like old version.
And CRV 2008 doesn't display listbox in dynamic prompt on crystal report. What shall I set to displaying prompts in CRV 2008 (on CRV or on report in Crystal 2008)?
Have you some idea? What and how can I set and configure application and where?
VeronikaHi,
To confirm, are you talking about "Crystal Reports Viewer 2008" http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx
I suggest sending in the report, in the viewer, select "Help" - "General Feedback" and then pick the option to attach the report. In a couple of months there will be a refresh version of this view which will have Czech language support so it would be good if we could test out your PDF issue.
As for showing parameters in the prompt panel in Crystal Reports Viewer 2008, since the viewer cannot refresh the data, make sure the parameter does not used in the record selection formula but only in the saved data selection formula. -
Crystal Report XI R2 Default Font Problems
I have set the all the default font in all types to "Times New Roman" as requested by my supervisor (Although I dislike the font =.=)
It works correctly for generated field, new text objects or drop a new database field. But whenever I type text in the text object, the inputted text becomes Arial and messed up with other part of the report and I have to manually change it everytime which is really annoying.
In Crystal Report 10 the problem does not exist. Is there anyway to make the entered text follow the font of the text object or it is only a bug in Crystal Report ?
btw, I wish Crystal Report can support wider range of HTML Tag like ul, which should be easy to implement but do a great help in formatted remark field in the report. It makes me so disappointed when I found the supported tag didn't grow up after so many version. I will be very happy if anyone has a solution to support ul.Hi,
Have a look inside the Options. In the Fonts tab, make sure you've set the font for Text Objects correctly.
Good luck,
Brian -
Crystal Reports Server 2008 Trial Installation Problem
I recently downloaded the trial version of Crystal Reports Server 2008 and ran into a problem with the installation key code sent to me. During the install, I enter the keycode and the install application says it is invalid. I'm attempting to install the Linux version on Red Hat Enterprise 5.2. I know that this is technically not a supported version of Linux but I would not expect that cause a problem with the key code.
Does anyone have any ideas on what is happening?
Thanks...Hi Jeff,
I would suggest you to install Crystal reports on supported platform only.
To narrow down the issue you can try to install on other machine with supported environment so that it would be clear that the issue is with Keycode or not.
Regards,
Shweta -
Crystal Reports for VS 2010 SetDataSource Problem
Hi guys, I am trying to pass a dataset table to Crystal report in run time by using: rptDocument.SetDataSource(DTS)
problem is the report is showing many records and not records that are relevant to the data source I have set.
I assume it shows data form design time mode.
HOw do I prevent that and only show data from dataset please?You can't open the link or you can't find a sample? Lots in there, look for: csharp_win_adodotnet.zip.
You can also use RAS which is much more powerful and preferred report engine, and you can use both, here's one way to use it:
private void SetData_Click(object sender, EventArgs e)
string connString = "Provider=SQLOLEDB;Data Source=dwcb12003;Database=xtreme;User ID=sb;Password=pw";
string sqlString = "Select * From Orders";
OleDbConnection oleConn = new OleDbConnection(connString);
OleDbDataAdapter oleAdapter = new OleDbDataAdapter(sqlString, oleConn);
DataTable dt1 = new DataTable("Orders");
oleAdapter.Fill(dt1);
System.Data.DataSet ds = new System.Data.DataSet();
ds.Tables.Add(dt1);
//ds.WriteXml("c:
CrystalReports
sc.xml"); // if you want to use XML.
ISCRDataSet DS1 = (ISCRDataSet) CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Convert(ds);
// uses this for the OLE DB DS record set
rptClientDoc.DatabaseController.SetDataSource(DS1, "Orders", "Orders");
MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
Thank you
Don -
Crystal Reports Addon asking for Restart problem
Hi,
I am using SAPB1 2005B PL 27.
i am using .Net 2.0
system is Windows 2003 Server R2 SP1
by using B1DE 2005,
I created addon for Crystal Reports Installation.
crystal reports are developed in Crystal Reports 10.
while installing,
1. Menus are adding perfectly
2. if i try to click the menu(means Report) , it is asking for Restart the Addon.
i installed the license perfectly. is there any Configuration problems?
plz help me asap.
Regards,
Anand.It could be a problem with the code in your AddOn. Since you can see the menu's it an indication that the AddOn was started.
I suggest you to check your code. Also post the portion of the code to the SDK forum where development related topics are discussed.
Suda -
Crystal Report for VS 2010 Installation Problems
So I have been trying to get this working for 2 days now without luck. I work for a software development company and we have slowly started to migrate some of our solutions from VS2005 to VS2010. The solution I'm currently working on was originally developed in VS2005. We've migrated it to VS2010 and now want to add a reporting module which needs to make use of Crystal Reports.
I have downloaded CR from the following site: [HERE|http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp] using the "SAP Crystal Reports, version for Visual Studio 2010 - " download link ([http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0.exe]). I have both VS2005, VS2010, Crystal Report 2008 (which has no issues) installed on my machine. In terms of .NET Framework 4 the following shows up on my "Programs"
Microsoft .NET Framework 4 Client Profile
Microsoft .NET Framework 4 Extended
Microsoft .NET Framework 4 Multi-Targeting Pack
The machine is a 32bit Windows 7 Professional installation with 2.00GB of RAM. When I run the installer (as administrator) the WinRAR self extractors run as follows:
Edited by: Don Williams on Jan 14, 2011 7:52 AMExtracting Collaterals/Docs/nl/Copyright_NL.txt
Extracting Collaterals/Docs/nl/CR_Runtime.txt
Extracting Collaterals/Docs/nl/documentation.html
Extracting Collaterals/Docs/nl/license_nl.pdf
Extracting Collaterals/Docs/nl/license_nl.txt
Extracting Collaterals/Docs/pl/
Extracting Collaterals/Docs/pl/Copyright_PL.txt
Extracting Collaterals/Docs/pl/CR_Runtime.txt
Extracting Collaterals/Docs/pl/license_pl.pdf
Extracting Collaterals/Docs/pl/license_pl.txt
Extracting Collaterals/Docs/pt/
Extracting Collaterals/Docs/pt/Copyright_PT.txt
Extracting Collaterals/Docs/pt/CR_Runtime.txt
Extracting Collaterals/Docs/pt/documentation.html
Extracting Collaterals/Docs/pt/license_pt.pdf
Extracting Collaterals/Docs/pt/license_pt.txt
Extracting Collaterals/Docs/ru/
Extracting Collaterals/Docs/ru/Copyright_RU.txt
Extracting Collaterals/Docs/ru/CR_Runtime.txt
Extracting Collaterals/Docs/ru/documentation.html
Extracting Collaterals/Docs/ru/license_ru.pdf
Extracting Collaterals/Docs/ru/license_ru.txt
Extracting Collaterals/Docs/sk/
Extracting Collaterals/Docs/sk/CR_Runtime.txt
Extracting Collaterals/Docs/sk/license_sk.pdf
Extracting Collaterals/Docs/sk/license_sk.txt
Extracting Collaterals/Docs/sv/
Extracting Collaterals/Docs/sv/Copyright_SV.txt
Extracting Collaterals/Docs/sv/CR_Runtime.txt
Extracting Collaterals/Docs/sv/license_sv.pdf
Extracting Collaterals/Docs/sv/license_sv.txt
Extracting Collaterals/Docs/th/
Extracting Collaterals/Docs/th/Copyright_TH.txt
Extracting Collaterals/Docs/th/CR_Runtime.txt
Extracting Collaterals/Docs/th/license_th.pdf
Extracting Collaterals/Docs/th/license_th.txt
Extracting Collaterals/Docs/tr/
Extracting Collaterals/Docs/tr/CR_Runtime.txt
Extracting Collaterals/Docs/tr/license_tr.pdf
Extracting Collaterals/Docs/tr/license_tr.txt
Extracting Collaterals/Docs/zh_CN/
Extracting Collaterals/Docs/zh_CN/Copyright_zh_CN.txt
Extracting Collaterals/Docs/zh_CN/CR_Runtime.txt
Extracting Collaterals/Docs/zh_CN/documentation.html
Extracting Collaterals/Docs/zh_CN/license_zh_CN.pdf
Extracting Collaterals/Docs/zh_CN/license_zh_CN.txt
Extracting Collaterals/Docs/zh_TW/
Extracting Collaterals/Docs/zh_TW/Copyright_zh_TW.txt
Extracting Collaterals/Docs/zh_TW/CR_Runtime.txt
Extracting Collaterals/Docs/zh_TW/documentation.html
Extracting Collaterals/Docs/zh_TW/license_zh_TW.pdf
Extracting Collaterals/Docs/zh_TW/license_zh_TW.txt
Extracting package/
Extracting package/1028.mst
Extracting package/1031.mst
Extracting package/1033.mst
Extracting package/1036.mst
Extracting package/1040.mst
Extracting package/1041.mst
Extracting package/1042.mst
Extracting package/1049.mst
Extracting package/2052.mst
Extracting package/3082.mst
Extracting package/CRRuntime_64bit_13_0.msi
package/CRRuntime_64bit_13_0.msi
The archive is either in unknown format or damaged
Extracting package/CrystalReportsForVisualStudio.msi
package/CrystalReportsForVisualStudio.msi
The archive is either in unknown format or damaged
Extracting ProductId.txt
Extracting setup.exe
Extracting setup.ini
The operation then break with a popup telling me to look at the information window.
Any help with this would be highly appreciated as I am already more than 2 days of development time behind on this.
Kind Regards
Jean
Edited by: Blond13 on Jan 14, 2011 8:57 AM -
Crystal Reports Server XI 2008 R2 - Problem
We have installed the "Crystal Reports Server XI 2008 R2" and registered the product, if we try to generate the crystal report at the server, it gives the below error message (Message logged at the following path C:Program FilesApache Software FoundationTomcat 5.5logs)
Message:
Alle 0 Lizenzen für den gleichzeitigen Zugriff (Concurrent Access Licenses) werden derzeit verwendet, oder der Lizenzschlüssel für Ihr System ist abgelaufen. Versuchen Sie es später noch einmal, oder wenden Sie sich an Ihren Systemadministrator, um zusätzliche Lizenzen zu erhalten
Could you please let us know what may be the problemThanks for the information.
Actually we do not find "Central Management Console" in Start/Programme/Crystal Reports Server 2008/Crystal Reports Server 2008/.
We also tried using the http://webserver:8080/CmcApp/ by providing the correct hostname and also with the IP address; but we get a webpage not found error.
Could you please help us. We are not able to find Central Management Console.
Thanks is advance!!!! -
Problems in exporting Urdu data to pdf through Crystal Report 2008
Hi,
We have a designed a crystal report in latest Crystal Report SP2. The database used is MS Access, the data is in Urdu langauge. The data is displayed properly on crystal report main preview.
The problem is only when we export the report to PDF there is a data loss. The content is not properly exported.
Some additional unexpected characters are also getting inserted.
But the same content is proper if we export the report into .rtf or .doc format.
I have tried this with Arial Unicode MS and C-DAC UROT-GIST Galid fonts.
Please help.
Regards,
Sitaram Gaikwad
C-DAC GISTCR only support UTF-8 fonts.
Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
Maybe you are looking for
-
Hi, I have an NCLOB field in a table that I have to DISPLAY in FORMS 10g. I think a have to use the to_CLOB function to be able to display the content correctly. Can somebody tell me if this is the right way to do it. If so, at what point (which leve
-
Ram Preview not working correctly
On one machine here, when the artist goes to do a ram preview, they only get grey frames in the comp window. Either that or they get a freeze of the first frame in the render region, but no motion. I have tried deleting prefs, zapping Pram, deleting
-
Hello Everyone, I've been using Dreamweaver since version 3 (back in the Macromedia days) but I'm by no means a Dreamweaver Guru. I recently set up my first VPS and noticed a problem with the FTP section of DW. When I try to transfer a file using the
-
Spinning ball when waking from sleep
I'm running Leopard (10.5.7) on a PPC and over the last 2 days it's been freezing when waking from sleep. On waking cursor moves, and Spaces works but as I click on each open application they lock up. iStat also freezes. The panic log has a reference
-
Mutuating trigger problem(Urgent)
Dear Sir , I want to write a trigger on a field which will change the value of the same field in other row.But I am getting Mutuatig trigger error will you help me in this regard ,Thanks in Advance . say I am storing menuname in a table "menus" Name