Error while generating PDF
Hello Guru's,
I have done the ADS configuration setup and checked all configuration settings.It seems everything is working fine but when i select the option "Print Verison" ( I have executed a query using the query designer) i am getting above error.
FYI: Its a BI 700 system and we are at Suport pack10 level (both ABAP+Java). By the way i should let you know that it is a copy of Production.
Here is the log:
Error while generating PDF
com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExport1
Error while generating PDF
com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExport#
Any thoughts as to what the messages above might be pointing me to?I should appreciate your help.
Thanks,
Ravi.
Hello Dezso,
I have executed the test report FP_TEST_00 and i got a form containing several lines on two pages.I have checked all the configuration checks and got the correct results as mentioned in the ADS document. But when i try to print a query using the query analyzer,i am getting that PDF error. I have no issues with my other BI 700 system.
Ravi.
Similar Messages
-
"Error while generating pdf" error come when clicking on "Print Version "
Hello ,
When we execute Query in the Portal there is a 'Print version' button.
When you select it, it opens up print dialog and click OK
It is supposed to send 'pdf' stream to Web browser client on end user but it is not able to generate the pdf .
getting ' Error while generating pdf '
I am working on BI 7.0 .
The same is running fine in the Q Environment .But in Production we are getting this error .
Thanks ,
RahulHi,
I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
You can check your installation:
Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
Exceptions: Prerequisites for messages in the area BI Java
SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
Solution in our case was to update the SAPADS package to 7.00 17.1
Regards
Andreas -
Error while generating PDF ( BEx Web Analyzer )
Hi,
Is there any limit to the number of pages we can print using ADS? We always get
" Error while generating PDF" Error when we try to print reports with more than 500 lines.
Thanks
NivedaGreat. It worked.
Points assigned.
Niveda -
Error while generating PDF in portal but not in WAD
Hi,
When I execute the command to export to pdf, I have a screen to fill settings of my pdf, then I valid my choice and I have this message : "Error while generating PDF" in my portal.
However, when I want to execute on Web Application Designer and click on my command "export to pdf", I have a same screen and I can open or save my document.
Is someone have an idea : why it is possible to generate my pdf on WAD but not in my portal ??
Any information is much appreciated !
Thanks in advance
V.K.Hi Pradnya,
Thanks for your answer. However it is for an old version of SAP NetWeaver..
I work with SAP BI 7.0 version.
Regards,
V.K. -
Error while generating PDF BI 7 Report Designer
Hi,
I am getting this error Error while generating PDF when i tried print version on report designer,
I tried to find information on this error but there was no information regarding this , so posted here.
Please let me know if you have any suggestions.
Thanks,
KumarWe have restated the java server and now the issue solved.
Kumar -
Error while generating PDF - in Bex Web
Hi Experts,
I am currently having the issue that I receive the error "Error while generating PDF" when using the "Print Version" functionality. This problem only occurrs for the Bex Web Query. I know that the ADS service is configured correctly- The webservice test is successful and other applications (Guided Procedures, MSS) also use it successfully.
Please see below the excerpt from the default trace:
A message was generated:
ERROR
Error while generating PDF
com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExportRenderingRootNode_0001
Message: 28
Stack trace: java.lang.ArrayIndexOutOfBoundsException: 28
at com.sap.ip.bi.export.xfa.impl.SizeCalculator.getColumnSizes(SizeCalculator.java:178)
at com.sap.ip.bi.export.impl.ExportController.setSizes(ExportController.java:220)
at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:611)
at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:408)
at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:336)
at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:58)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:453)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:105)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:252)
at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:3809)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3867)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3510)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3470)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2489)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:892)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:813)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:456)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
If you have any idea or clue it would be greatly appreciated.
Thanks in advance for every support,
JanHi Jan,
Most possible causes for encountering this issue are:
Possible cause:
- The ADS is installed on a plattform, that is currently not supported by SAP for ADS. Please check the avaliablity at: Product Availability Matrix
- Mixing of different Netweaver releases (NW04 and NW04s) -> This is unfortunatelly not possibble the J2EE engine release has to match with the ABAP stack release in order connect them properly.
- The ADS SP level does not match the J2EE engine SP level. -> Please update the software components to have the same support package level.
Hope this helps!!
Regards,
Arafat -
Application error while generating PDF form
Hello there,
I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
I get this upon doing the following steps:
1. Enter SAP R3, enter HREIC on the transaction code input.
2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
Thanks a lot.Be sure that the RFC name is "ADS" and not anything else.
Thanks. -
Error while generating PDF in BI Portal
<body lang=EN-GB style='tab-interval:36.0pt'>
<p class=MsoNormal>Since 2 days ago we have on our productive BI Portal an
error and we <span class=SpellE>can`t</span> find a solution to it. When we try
to preview any report we get the <span class=SpellE>folowing</span> error: <span
class=GramE>" Error</span> while generating PDF". On development <span
class=GramE>an</span> test is working perfectly but on productive it gets that
error. We <span class=SpellE>don`t</span> know what happened so please help
us.><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>In the log file we receive this message: A message was generated:<o:p></o:p></p>
<p class=MsoNormal>{<span class=GramE>code</span>} <o:p></o:p></p>
<p class=MsoNormal>ERROR<o:p></o:p></p>
<p class=MsoNormal>Error while generating PDF<o:p></o:p></p>
<p class=MsoNormal>com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode
PageExportRenderingRootNode_0001<o:p></o:p></p>
<p class=MsoNormal>Log ID: 001A64E8E1620067000000A8001E50BA00048279748984FA<o:p></o:p></p>
<p class=MsoNormal>Initial cause<o:p></o:p></p>
<p class=MsoNormal>Message: Service call exception; nested exception is: <o:p></o:p></p>
<p class=MsoNormal>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
Invalid Response Code: (401) Unauthorized. The requested URL
was:"http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
<p class=MsoNormal>Stack trace: <span class=SpellE>java.rmi.RemoteException</span>:
Service call exception; nested exception is: <o:p></o:p></p>
<p class=MsoNormal>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
Invalid Response Code: (401) Unauthorized. The requested URL
was:"http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:84)<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span> com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)<o:p></o:p></p>
<p class=MsoNormal>Caused by:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
Invalid Response Code: (401) Unauthorized. The requested URL
was:"http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span>
com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:986)<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span>
com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1438)<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:77)<o:p></o:p></p>
<p class=MsoNormal>... 57 more<o:p></o:p></p>
<p class=MsoNormal>{<span class=GramE>code</span>} <o:p></o:p></p>
<p class=MsoNormal>----
<o:p></o:p></p>
<p class=MsoNormal>Message: Unknown Error<o:p></o:p></p>
<p class=MsoNormal>Stack trace: <span class=SpellE>com.sap.ip.bi.base.exception.BIBaseRuntimeException</span>:
Unknown Error<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream</span>(Document.java:339<o:p></o:p></p>
<p class=MsoNormal>----
<o:p></o:p></p>
<p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:77)<o:p></o:p></p>
<p class=MsoNormal>... 57 more<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span class=SpellE>com.sap.ip.bi.base.exception.BIBaseRuntimeException</span>
UNKNOWN_ERROR<o:p></o:p></p>
I only cutted the right messages Does anybody have some idea? Where i am unathorized? What shell i do?
Thanks in advance
Patrick
</div>
</body>check if you have adobe document services installed properly. ASk your portal admin team to check these messages,
-
"error while generating PDF" in WAD
Hi All,
I created Web Template BI7. In the requirement I have to export the report in PDF. I used Button group. When I have run the template and click to the PDF switch I am getting the export dialog after I click to 'ok' I am getting the error error while generating PDF". Please help me how to resolve this error. I am in between the development.
Thanks in Advance
RaviHi Ravi,
First make sure you on the latest patch level for the service pack. Forward the error to the Basis team and ask them to look into the logs. We had a same problem and doing the above 2 steps fixed it.
Thanks,
Ram. -
Custom Purchase Order template causes Error while generating PDF
The standard XSLFO works, my custom one errors:
History of the world:
1) I downloaded the XML Publisher thing for Word, installed it no problems
2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
4) Previewed it as a PDF in word - it looked fine (well, it was a start)
5) Exported the XSLFO
6) In XML Publisher created a new template and uploaded the XSLFO
7) Assigned the new template to the document in Purchasing
All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
When I run POXPOPDF in Debug I get:
getArchiveOn(): APPROVE
After calling genDocThu May 18 12:50:05 EST 2006
Adding the blob to vector
java.lang.NullPointerException
java.lang.NullPointerException
at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
Thanks
JoHi Jo,
The first version for which the Template Builder was released is 5.0
Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
Hope that helps,
Klaus -
An error that "error while generating pdf".
Hi gurus,
when i am trying to generate a pdf from phap_admin (appraisal document ) i am getting an error that "error while generating pdf".
the dump in st22 is
ERROR ANALYSIS:
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_SEND_DYNPRO_NO_RECEIVER', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
During background processing, the system attempted to send a
screen to a user.
Current screen: " " " ".
SOURCE CODE:
screen to enter order-number ***************************************
IF w_suppress_dialog EQ space.
set popup to the foreground.
CALL FUNCTION 'SAPGUI_SET_PROPERTY'
DESTINATION 'SAPGUI'
EXPORTING
property = 'ACTIVATE'
value = 'X'
EXCEPTIONS
OTHERS = 1.
CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
>>>> ELSE.
process the same forms which are processed on screen 0300.
ATTENTION: Whenever functionality of screen 0300 is extended,
make sure that necessary calls are also made here!
PERFORM d0300_read_data.
PERFORM d0300_comline.
ENDIF.
CASE w_next_action.
WHEN 'ATTR'.
PERFORM show_object_attributes USING wt_e071[].
CAN ANY ONE HELP TO SOLVE THIS???Hi,
the dump says:
CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
>>>> ELSE.
This means, the raise of the exception comes from the command before ELSE and this is CALL SCREEN.
CALL SCREEN is only reachable. if w_suppress_dialog is SPACE. It can't be 'X'.
You have to find a way to set it to 'X'.
Regards,
Klaus -
Error while generating pdf in BI
Hi,
When i'm printing a report through my Bex Analysis ,i come with an error saying that error while generating the pdf .plz help me
java.lang.exception:incorect content type found "text/html"Try checking the config document <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm"> here</a> and see if that doesn't help you.
Cheers,
Andrew -
Error while generating PDF document
I am using RH 8 and cannot generate a Printed PDF document.
here is the error message output
Warning: style (p.Table) is not defined and will be mapped to 'Normal'.
Processing 'Setting-up and Assigning Roles'...
Warning: The Word Document became corrupt when attempting to append following malformed topics:
TimeTEQ\Chapter1-Administration_Functions\First_Topic.htm
TimeTEQ\Chapter1-Administration_Functions\SettingUp_the_Parent_Organisation.htm
TimeTEQ\Chapter1-Administration_Functions\Setting_up_and_Assigning_Sites.htm
TimeTEQ\Chapter1-Administration_Functions\Setting_Up_Departments.htm
TimeTEQ\Chapter1-Administration_Functions\Setting_Up_and_Assigning_Roles.htm
Failed to build 'TimeTEQ'...
Failed to build one or more chapters.
Building 'Glossary'...
Failed to build 'Glossary'...
Building 'Index'...
Updating list paragraphs...
Updating images...
Updating page numbers...
Updating page headers...
Updating Table of Contents...
Updating Index...
Saving 'Printed_Documentation.doc'...
Generating 'Printed_Documentation.pdf'...
Failed the generate PDF file 'C:\TimeTeq_Documentation_Aug2009\TimeTEQ_OldHelp\user guide\Timteq_test_project\!SSL!\Printed_Documentation\Printed_Documentation.pdf'...
Failed to save 'Printed_Documentation.doc'...
Cleaning up temporary files...
Internal error encountered, Failed to generate Printed Documentation.
Starting to build Printed Documentation...
Printed Documentation processor 8.0.0.203
Building C:\TimeTeq_Documentation_Aug2009\TimeTEQ_OldHelp\user guide\Timteq_test_project\!SSL!\Printed_Documentation\Printed_Documentation.doc ...
Preparing to create Printed Documentation...
Clearing output folder...
Preparing files for Print Document...
Copying files...
Updating files...
Finished preparing in 0 seconds.
Preparing environment...
Printed Document Generator Environment: Word 11.0.5604, OS 5.1.2600, RAM 768 M Bytes
Building Printed Documentation 'Printed Documentation'...
Building Single Document 'Printed_Documentation.doc'...
Building 'Title Page'...
Building 'Table of Contents'...
Preparing to build chapters...
Building 'TimeTEQ'...
Building 'Chapter1-Administration Functions'...
Processing 'Overview- Understanding Sites, Departments & Roles'...
Processing 'Setting-up a Site Group'...
Processing 'Setting up a Site'...
Processing 'Setting-up and Assigning Departments'...
Warning: style (p.Body_Text) is not defined and will be mapped to 'Normal'.
Warning: style (p.Step2) is not defined and will be mapped to 'Normal'.
Warning: style (p.Step) is not defined and will be mapped to 'Normal'.
Warning: style (p.spacer) is not defined and will be mapped to 'Normal'.
Warning: style (p.Tableheader) is not defined and will be mapped to 'Normal'.
Warning: style (p.Table) is not defined and will be mapped to 'Normal'.
Processing 'Setting-up and Assigning Roles'...
Warning: The Word Document became corrupt when attempting to append following malformed topics:
TimeTEQ\Chapter1-Administration_Functions\First_Topic.htm
TimeTEQ\Chapter1-Administration_Functions\SettingUp_the_Parent_Organisation.htm
TimeTEQ\Chapter1-Administration_Functions\Setting_up_and_Assigning_Sites.htm
TimeTEQ\Chapter1-Administration_Functions\Setting_Up_Departments.htm
TimeTEQ\Chapter1-Administration_Functions\Setting_Up_and_Assigning_Roles.htm
Failed to build 'TimeTEQ'...
Failed to build one or more chapters.
Building 'Glossary'...
Failed to build 'Glossary'...
Building 'Index'...
Updating list paragraphs...
Updating images...
Updating page numbers...
Updating page headers...
Updating Table of Contents...
Updating Index...
Saving 'Printed_Documentation.doc'...
Generating 'Printed_Documentation.pdf'...
Failed the generate PDF file 'C:\TimeTeq_Documentation_Aug2009\TimeTEQ_OldHelp\user guide\Timteq_test_project\!SSL!\Printed_Documentation\Printed_Documentation.pdf'...
Failed to save 'Printed_Documentation.doc'...
Cleaning up temporary files...
Internal error encountered, Failed to generate Printed Documentation.There is a warning about a malformed topic. I have seen projects where there is nothing wrong with the topic but where the machine needed more RAM. What are the basics of your PC?
Also try turning off PDF and generating a Word document instead. If that works, PDF from there. Does that work?
See www.grainge.org for RoboHelp and Authoring tips -
Error while Generating PDF file from Datagridview .
Hi every one,
I'm trying to generate pdf file from datagridview,while executing my code getting nullvalue exception..
Here is my code:
private void btnexportPDF_Click(object sender, EventArgs e)
//Creating iTextSharp Table from the DataTable data
PdfPTable pdfTable = new PdfPTable(dataGridView1.ColumnCount);
pdfTable.DefaultCell.Padding = 3;
pdfTable.WidthPercentage = 30;
pdfTable.HorizontalAlignment = Element.ALIGN_LEFT;
pdfTable.DefaultCell.BorderWidth = 1;
//Adding Header row
foreach (DataGridViewColumn column in dataGridView1.Columns)
PdfPCell cell = new PdfPCell(new Phrase(column.HeaderText));
cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
pdfTable.AddCell(cell);
//Adding DataRow
foreach (DataGridViewRow row in dataGridView1.Rows)
foreach (DataGridViewCell cell in row.Cells)
pdfTable.AddCell(cell.Value.ToString());//nullvalue exception
//Exporting to PDF
string folderPath = "C:\\PDFs\\";
if (!Directory.Exists(folderPath))
Directory.CreateDirectory(folderPath);
using (FileStream stream = new FileStream(folderPath + "DataGridViewExport.pdf", FileMode.Create))
Document pdfDoc = new Document(PageSize.A2, 10f, 10f, 10f, 0f);
PdfWriter.GetInstance(pdfDoc, stream);
pdfDoc.Open();
pdfDoc.Add(pdfTable);
pdfDoc.Close();
stream.Close();
Thanks & Regards RAJENDRAN MHi Rajendran,
The second question is about the usage of iTextSharp library, which is not a MS product, please post in their forum for help:
http://support.itextpdf.com/forum
Thanks for your understanding.
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. -
BEx Analyzer Error while generate pdf sap
In BI 7.0 NW2004s I am getting an error while I am tyring to print and it convert PDF file... Report opend in Excel fine, very strange becuase some time it open in PDF and mostally time not...
Is anyone please tell me where may found out ADS Adboe Documents Services software, and where may I installed in BI server... ?
Thanks in Advanced
Angeline PurnamaHi,
I think you have BI system on which the usage type portal is also installed. Just go through the note 944221.
Make sure you assign the default printer in SU01 for the users. Some times this works, it generally takes the default printer options from the SU01 settings for printing.
No need to deploy the BI_BASES and other component, if you have installed usage type portal and BI-java then this components
will be deployed by default. I think your systems has this things. Because in your above post you are saying you are running as webpage.
Regards,
Vamshi.
Maybe you are looking for
-
BAPI -for Creating EXCISE INVOICE AT DEPOT tcode 'J1IG
Hi All, Is there any BAPI for Excise Invoice Creation at depot Tcode is J1IG Thanks, Satishreddy
-
Audigy 4 - Vista drivers and software urgently nee
you know... i have this sound card (Audigy 4 - non pro) for over one year now, AND i don`t have a good driver and software for windows vista home premium x64. last driver for this sound card is: . Creative Sound Blaster Audigy series Vista Driver 2.2
-
MacBook Pro won't sync with other devices
My MacBook pro won't sync with other devices in the house. My iPad and iPhone sync OK but MacBook won't for some reason. Can you help?
-
Query on folder using cfdirectory
HI i have a problem on my email page. i have to get the data on a remote pc. my cf server is running on linux, is there any ways i can access my files. i need to attach the files on my email. but before it will be attached i need to get the latest fi
-
Is there any to restrict the no of display fields in alv grid using oops?
hi, i have 100 field in an internal table , and i passed that internal table to set_table_for_first_display, Now my aim is to display only 20 fields among that 100, these twenty may vary based on selection but count of fields should be always 20. Is