Issue with Crystal Report export to PDF
Have a report in Crystal Report 2008. The report runs fine, but would like to export it to PDF/EXCEL, but nothing happens when I select the Export type(i.e. PDF,Excel, etc).
Steps to replicate:
1. Run Crystal Report
2. Click on EXPORT button.
3. Select the Export type (PDF).
4. Click on EXPORT - Nothing happens nor does it return any error.
Would someone be able to provide some tips on this issue
Thanks
The problem is that the 3rd party is using some CR SDK. We don't even know what SDK that is. They should be coming here and asking us to help them on your behalf. It is almost impossible for us to help, not knowing how they implemented the SDK, which SDk, etc..
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Similar Messages
-
Crystal Report Export to PDF with Group Tree Bookmarks
Dear Forum
I have created a Crystal Report aspx page with an export function of the report to pdf. So far all has been successful, except form one little annoying this. The report does export to a pdf file and it does create bookmarks based on the group tree, BUT when opening the pdf file the bookmarks hiest point which should be the file name is the really long temp file name with .rpt as an extension. I have looked every where to try to get it to write the filename to the bookmark hierarchy without success.
I come you you all for any form of help to solve this issue.
My code is below
CrystalDecisions.Shared.ExportOptions export_options = new ExportOptions();
export_options.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
string ext = ".pdf";
string reportName = "Filename";
CrystalDecisions.Shared.PdfFormatOptions pdfOptions = new PdfFormatOptions();
pdfOptions.CreateBookmarksFromGroupTree = true;
export_options.ExportFormatOptions = pdfOptions;
report.ExportToHttpResponse(export_options, Response, true, reportName);
Response.Clear();
Response.Buffer= true;
Response.End();
Below is an image of the output
Any and all help is greatly appreciatedUsing the search box in the top right corner and entering the search string 'bookmark pdf crystal', the very 1st KBA is:
1331152 - Report exported to PDF format with bookmarks displays the bookmarks as report name plus a GUID
Please see if this resolves the issue for you.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
JSP vs Crystal Report Export to PDF problem
I have problem using JSP and Crystal Report 10.
When I exporting report to PDF my font become ??????
(Only thai font but En font is work fine)
This mean when deploy report on J2EE (I used tomcat 5.0.27)
It not support other language or I must use other thing such as
convert all data to Unicode before export it?
Please advice me
thank you
Note: If I export it with Crystal Report IDE it can read.
Message was edited by:
mistwalkerHi All,
Can any one help me to use JSP for export report via Crystal Report 11, as i m using CR 8.5 with Java and for exporting reports i m using Jacob.dll, and reports hosted in IIS. but due to Jacob.dll facing lots of issue and finally not able to export reports.
Now i installed CR 11 and hosted reports and able to view via my JSP pages, can any one help me how to export report to server.
Appreciate urgent assistance.
Regards,
Imran -
Issue with SSRS Report Exporting to Excel and word
Hi,
When report is exporting in word and Excel getting format issue, but same report export with pdf there is no issue.
Regards,
AfrozYou need to be always careful when export format is Word and specially Excel. Sometimes report result looks good in Report Viewer and PDF too, but it may not in MS Word and MS Excel.
You need to understand Word and Excel limitations and align all the data regions (Tablix, Rectangles, Texboxes) in correct way.
Also, you may post the actual formatting issue that you get. (With screenshot if possible)
Please read Limitation section in below:
Exporting to Microsoft Word
Exporting to Microsoft Excel
Refer:
Ten Common SQL Server Reporting Services Challenges and Solutions
-Vaibhav Chaudhari -
Performance Issues with crystal reports 11 - Critical
Post Author: DJ Gaba
CA Forum: Exporting
I have migrated from crystal reports version 8 to version 11.
I am experiencing some performance issues with reports when displayed in version 11
Reports that was taking 2 seconds in version 8 is now taking 4-5 seconds in versino 11
I am using vb6 to export my report file into pdf
ThanksPost Author: synapsevampire
CA Forum: Exporting
Pleae don't multiple forums on the site with the same question.
I responded to your other post.
-k -
Crystal Reports Export to PDF and Security
I am writing a PC application in VB.Net (using Visual Studio 2005 and which ever Crystal Reports package comes with it) which utilizes Crystal Reports and exports the reports to PDF files. My company creates other PDFs through other programs and is able to set different security options on those PDFs to prevent users from being able to edit them in Adobe Acrobat. I believe this involves setting a password and a few other options. Is there a way to do this when creating a PDF by exporting to PDF a Crystal Report?
Any help or advice on this matter would be greatly appreciated.Could you provide me a link and/or more informationa bout this Crystal Reports Scheduler? I have another issue I'm trying to take care of and I'm wondering if this could help me. I use the Crystal Reports that comes with Visual Studio 2008 to build my reports and then turn them into PDFs. However these PDFs are not [section 508|http://www.section508.gov/|Section508.gov] compliant. I need to add [tagging|http://www.acrobatusers.com/tutorials/what-are-pdf-tags-and-why-should-i-care|What are PDF tags and why should I care] to the PDFs. Do you know if the component you mentioned can do this? Or of any other product that can?
[This|Export to PDF - Section 508 Accessibility Compliance; is the thread my other question is on.
I'd appreciate any information you could give me. -
Crystal Report export to PDF cause high Heap usage ?
Hi all,
As part of our reporting integrated with our JSF/JSP application, Crystal report is converted to PDF then sent to browser for user to display. mean while during peak load our Heap usage could reach 3.5GB - 4GB. So I am suspecting the unclosed byteArrayInputStream is the cause.
(This is a production application so I am collecting information before change the code)
Is the unclosed() byteArrayInputStream really cause the problem ? (the codes is below)
Thank you,
Krist
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)
reportClientDoc.getPrintOutputController().export(exportOptions);
reportClientDoc.close();
writeToBrowser(byteArrayInputStream, response, "application/csv", EXPORT_FILE);
private void writeToBrowser(ByteArrayInputStream byteArrayInputStream, HttpServletResponse
response, String mimetype, String exportFile)
throws Exception {
byte[] buffer = new byte[byteArrayInputStream.available()];
int bytesRead = 0;
response.reset();
response.setHeader("Content-disposition", "inline;filename=" + exportFile);
response.setContentType(mimetype);
//Stream the byte array to the client.
while((bytesRead = byteArrayInputStream.read(buffer)) != -1)
{ response.getOutputStream().write(buffer , 0, bytesRead);}
//Flush and close the output stream.
response.getOutputStream().flush();
response.getOutputStream().close();I do not know if my solution to my Heap problem will help any of you but I thought I would just post it here
just incase yourselves or others come looking for possible solutions.
I created a very simlpe report with 2 groups and not much in the way of complex functions. Whilst reporting against about
100 pages of output everything worked fine, but as soon as we pushed the report up to 500+ pages we got all sorts
of issues.
java.lang.OutOfMemoryError: Java heap space
After much hair pulling and trial and error I discovered that the issue came about where I did not declare formula variables as local. I was concatinating various street address details for of the envelope windows.
Stringvar Address; // I was using this declaration
Global Stringvar Address; // Specific Global declaration
Local Stringvar Address; // Changed to this declaration
After changing to Local, my report now runs with no hassels. And the memory usage whilst exporting the report has gone from maxing out at over 1GB to almost nothing (dont even get it registering)
Am sure someone can come up with a better explanation for this and give reasons but just thougth I would share.
Cheers
Darren -
Problems with the report export in PDF format
Hi All,
I am new to this forum.
I'm developing a web application that uses Java Reporting Component (JRC) to display crystal reports.
I have three problem:
1) I want, after entering the filters in a jsp, to print a report in PDF format (WORD) without opening it
with Adobe Reader (Microsoft Word). The class of API JRC used for export is ReportExportControl.
2) I want to print multiple reports one after the other to reduce the time (possibly joining two or more reports into a single PDF)
3) I want to insert, in the jsp page filters, the number of pages to print from the same report (without
opening it with Adobe Reader (Microsoft Word))
Can anyone help me? or can give a simple java code to do the same.
Thanks in advance.Hi, this works for me in 4.6B:
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = i_pfad
filetype = 'BIN'
IMPORTING
FILELENGTH =
TABLES
data_tab = i_att_cont
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE i000(zv) WITH 'Problem mit PDF Darstellung'.
ENDIF.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = spoolnr.
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
document = ' '
commandline = i_pfad
program = 'AcroRd32.exe'
EXCEPTIONS
frontend_error = 1
no_batch = 2
prog_not_found = 3
illegal_option = 4
gui_refuse_execute = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE i000(zv) WITH 'Acrobat Reader nicht gefunden!'.
ENDIF. -
CRYSTAL REPORT EXPORT TO PDF INSERTS lowercasee i after t
I have a crystal report file that is stored as image type in table (SQL Server).When i open the report file in my application (Visual Studio (C#) ), it shows the required one.But When i export to pdf and save it to my local hard drive, and if i open that file, i find that after every lowercase 't' , letter 'i' is appended.I searched through google and found that it migh be a font issue.Even after changing the font, i was not able to resolve the issue.
Example : 'Project' becomes 'Projecti'
Please provide a resolution to this issueSee if KB [1547961 - The character 'i' is added after every lower case 't' when a report is exported to PDF file format|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343337333933363331%7D.do] helps. Also, search these forums. There are a few threads on the issue here.
KB was found by using the following search term; 'character i crystal net' )as well as a number of variations. (Use the search box in the top right corner of this web page .
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] -
Issue with Crystal Report based on 2 different data sources
Hi there,
I am having a frustrating problem with a report I've designed and I'm hoping someone might be able to assist please.
The report has 3 different prompts, each of which is based on a dynamic list of values retrieved via views within a SQL server db.
We are wanting to introduce the use of Universes as much as possible, so the data returned is based off a BO Universe data source query.
I have uploaded the report into BO and have provided the necessary database logon information for the report (in the "Process" > "Database" settings in the CMC) for both the direct db datasource connection (for the views) and the BO Universe query connection.
When the report is run however, the report still prompts for the database user name & password credentials. I have triple checked my db connection settings, and also have "Use same database logon as when report is run" set to true. I also tested a cut-down version of the report without the Universe connection with the same db logon credentials I provided and there was no credentials prompt when it was run, proving those values are accepted.
Does anyone know why this is happening & if there is a way around it? Alternatively, is there some way that a report prompt may be based on a dynamic list of values retrieved via a Universe connection? This way I'd be able to remove the db connection for the views and have the report solely based on the Universe.
Another issue that occurs is out of the 3 prompts, a user can select a User Name OR Number, and also must select a Period. However if the User Name or Number is left blank the message "The value is not valid" is shown. So I tried a cut-down version of the report with only the BO Universe as a data source (static prompts) and this didn't occur, i.e. I was allowed to leave either the User Name or Number empty.
I hope this all of makes sense - let me know if not. If anyone is able to help out with any of this it would be very much appreciated.
Cheers,
MarcoPlease re-post if this is still an issue to the Business Objects Forum or purchase a case and have a dedicated support engineer work with you directly
-
Crystal Report exported as PDF in BO 4.1 SP03 is creating Margins
Our users began complaining this past weekend (6/29/2014) that our Crystal Reports that are formatted to fit to letter head page size in
PDF format are seeing their columns truncated because Adobe is imposing a 1/4 margin on the top and sides of their reports, causing dollar values to truncate a digit at the front or back of their numbers -- NOT a good thing. We have been up on SP03 for several months, but just started seeing this change recently. We also just recently upgraded to CR2011 SP09 a few weeks ago.
Are there new settings that we can tweak to remove the PDF margins on the server? Anyone have any ideas? We will try any idea, no matter how far-fetched as it may seem.
Thanks,
BO Admin in the Dark, losing numbers on reports.I solved this problem by setting in the report Design -> Page Setup - [X] No Printer - [X] Dissociate Formatting Page Size and Printer Paper Size
-
Issue with Crystal Report Server
Hi,
I have a .Net application that uses Crystal Reports Server. The application runs from two servers through load balancing and one of them hosts RAS(Report Application Server) component as well. The issue I am facing is that the server that does not host RAS gives a timeout error periodically when reports are run, inspite of RAS running fine in the other server.
Can anyone let me know if this problem has been identified before?
Regards,
AshwinHi Ashwin,
What is the error message you are getting?
After how many minutes does the timeout error occur?
What is deployed on each of these 2 servers?
Can you please provide some more details on the workflow that causes the timeout?
Thanks
Jonathan -
Issue with Crystal Report & SAP B1 8.8
Hello,
I imported my crystal report in SAP.
When I want to edit the report throught SAP, it opens the report on crystal report session.
The problem is when I want to save the file. It wants to save in a temporal file.
How I can solve it ? where SAP save the .RPT flie ?
ThanksHi,
You can save your edit CR (Crystal Report) in .rpt file.
Once you have imported CR
Admin > Setup > General > report n layout....
Select Your CR
Click on Edit button
now new window is open that is CR in editable form
Go in File Menu of CR > Save As > "Give your location"
Which will save as .rpt format....
Thanks
King Kevin -
Issue with crystal reports 2008 clickonce fix pack 1.7
Hi,
When we try to extract the crystal reports 2008 clickonce fix pack 1.7 then we get a message saying that the zip file is corrupt. Anyone got this problem or has a solution for it ?Hi;
It should be updated in the next few days. In the meantime, You can use the following download. It contains the msi and should work for you as well
https://smpdl.sap-ag.de/~sapidp/012002523100007863642009E/cr120_fp17_redist_install.zip
Regards,
Jonathan -
Issue with Crystal Report integration with SAP Portal
Hi,
Crystal Report using Crystal Reports 2008 trail version is created.This .rpt file is present on my desktop and I would like this report to be published on SAP Portal.Can anyone please let me know steps to do so?
Regards,
Madhu.You need to install SAP integration kit. There are some configurations you need to do.Please go through the below URLs for more details:
[http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00ee3b2-5283-2b10-f1bf-8c6413e0898f;jsessionid=(J2EE3414800)ID0872910550DB10406683879540656926End]
[http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/004aacbb-4983-2b10-8da7-cdff5dcbb948;jsessionid=(J2EE3414800)ID0872910550DB10406683879540656926End]
Publishing:
[http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID0872910550DB10406683879540656926End?blog=/pub/wlg/11144]
[http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID0872910550DB10406683879540656926End?blog=/pub/wlg/11146]
[http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID0872910550DB10406683879540656926End?blog=/pub/wlg/11147]
Hope this helps!!!
Maybe you are looking for
-
How do I STOP thunderbird from being the default mail client?
I recently upgraded my version of thunderbird and it has decided it is to be my default email program. This is really annoying. I use thunderbird for 1 email account and all other email accounts are handled by MS Outlook 2010. How do I tell thunderbi
-
Hi All, 1 ) My XML form builder is hanging up very very frequently (other than this, my portal is very fast). when I save the project its hangs up at "50% saving internal model". then I have to close the xml form builder and reopen it and save it aga
-
Building a small network with Windows 7 machines
This isn't necessarily Premiere or even video-related, but hopefully some of you hardware/networkin gurus can offer a bit of advice... I've been using my ISP's rather cob-job DSL/hub/WAP for awhile, with my two workstations cabled to it, and my lapto
-
To Stream or to download: That is the Question.
Hi, Until recently i have only used my iTunes library for music only. I am toying with the idea of now using it for films and tv shows. So, present set up is that i have apple TV which is connected to my home computer on the same network. Q 1. If i b
-
I am trying to run a PAP2T adaptor behind an ASUS WL600G. I have it working but only intermittently. i.e. I can call some no's but dont receive calls... Tried Port forwarding but that's not working. Need help please!