PDF Generation Issues

When Trying to save the Generated Report in PDF ...getting the following issues
1 processor P Family 6 Model 15 Stepping 2
Windows 2000 Workstation  v5.1 build 2600 (S)
Physical Total/Avail: 2.087.140 Kb / 1.146.836 Kb
Temp directory C:\DOCUME1\LAKSHB\LOCALS1\Temp\ (5 Kb available)
'Unknown' video card
   1152 x 864 in true color
Unhandled Exception
  Code: c0000005
  Description: EXCEPTION_ACCESS_VIOLATION
Call stack:
Module  at   0x546c0000: C:\PROGRA1\BUSINE1\BUSINE1.5\WIN32_1\rptdisp.dll  v 11.5.8.998 [E]
    address: 0x546d26dd
Module  at   0x55950000: C:\PROGRA1\BUSINE1\BUSINE1.5\WIN32_1\report.dll  v 11.5.8.998 [E]
    address: 0x55a8602f
    address: 0x55a86a82
    address: 0x55a68b87
    address: 0x55a84c56
    address: 0x55a849d5
    address: 0x559e724d
    address: 0x559eb592
    address: 0x559eb950
    address: 0x55a68b87
    address: 0x559e6b58
    address: 0x559eb1c7
Module  at   0x546c0000: C:\PROGRA1\BUSINE1\BUSINE1.5\WIN32_1\rptdisp.dll  v 11.5.8.998 [E]
    address: 0x546eead3
Please let me know why we are getting this issues
Thanks
Babu

Hi ,
Thanks for your Reply,
The report is designed in Desktop Intelligence and we are developing a .Net application with multithreading ( since the report has to be genertated for more that 100 items , so we prefered to have Threading) which will invoke this .Rep** and Pass all the needed parameters and refreshes and finally saves the generated document in both .rep and .pdf .Please find the attached sample .net  code
objBusinessObject = new busobj.Application();
objBusinessObject.Logon(strUserName, strPassword, strServerName, strConnectionMode, false, false);
objBusinessObject.Visible = false;
objBusinessObject.Documents.Open(@"C:\REP\Document.rep", true, true, null, null);
objBusinessObject.ActiveDocument.Variables["8. DATE1 (DD-MON-YYYY)"].Value = Convert.ToDateTime(strReportDate).ToString("dd-MMM-yyyy").ToUpper();
objBusinessObject.ActiveDocument.DocumentVariables["DATE2"].Formula = Convert.ToDateTime(strReportDate).ToString("dd-MMM-yyyy").ToUpper();
objBusinessObject.ActiveDocument.Variables["2. START DATE3"].Value = strReportStartDate.ToString("dd-MMM-yyyy").ToUpper();
objBusinessObject.ActiveDocument.Variables["3.  End DATE (DD-MON-YYYY)  AND"].Value = strReporrtEndDate.ToString("dd-MMM-yyyy").ToUpper();
objBusinessObject.ActiveDocument.DocumentVariables["SQL"].Formula = GetDocSQL();
objBusinessObject.ActiveDocument.DocumentVariables["Parameters"].Formula = GetPromptValues();
objBusinessObject.Interactive = false;
objBusinessObject.Application.ActiveDocument.Refresh();
objBusinessObject.ActiveDocument.SaveAs(@"c:\" + strDOC1.ToString() + ".rep", false);
objBusinessObject.ActiveDocument.ExportAsPDF(@"c:\" + strDOC1.ToString() + ".pdf");
Please let me know any issues in my code (or) am I missing any ?
Thanks in Advance
Thanks
Babu
Edited by: Babu Lakshmikantham on Nov 5, 2009 8:45 AM

Similar Messages

  • Studio PDF Generation issues

    Hi All,
    Has anyone noticed studio PDF generation to output flawed text. In many cases text will look perfectly fine in studio itself, but upon any sort of PDF generation such as the testtool PDF output and WIPEdit Proofing, we observe overlapping words, or crammed/bunched up text.
    Are there any settings to tweak PDF accuracy or sensitivity perhaps. Perhaps anything that would influence how studio creates PDF output?
    Thank you in advance!

    Hi,
    I have not experienced this and have always found the PDFs to be spot on. I have noticed; however, that many users have the default 'shrink to fit' and other settings on within their PDF Viewer that causes the printed PDF to be skewed. Obviously this doesn't apply if you are seeing this on the screen rendering, but if you are printing a PDF from Adobe Reader you will want to ensure you don't have 'fit' or 'shrink to fit' or other print settings applied.
    -DA

  • More PDF Generation Issues

    This is going to be a long complicated description, so please bare with me...
    I'm using Tech Comm Suite2 on a new Win 7 system. I'm using documents that worked fine with FM 7.2 and Win XP with some minor edits. Like others, on here I've had problems generating a PDF from FM 9. The error occurred when I used "Save as PDF" or "Save as PDF (Send For Review)." It didn't matter whether I was generating it from the book or an individual file (I also tried new documents). I was getting a long, obscure message that I finally figured out but had nothing to do with the problem  (if you're interested, I've attached a screen capture of it). Printing to the Adobe PDF printer worked. It turns out that contrary to advice that I noticed elsewhere on this forum, I needed to unselect the "Convert CMYK to RGB" check box. (I just noticed one more thing while verifying my memory to write this up. The error shown in the attached JPG doesn't occur when the default printer is set to Adobe PDF. It only occurs when I have the printer set to my HP LaserJet 4100 PS).
    OK, so that problem seems fixed. So here's my new stumper...
    When I took a closer look at the generated PDF, I noticed that some of the headers were changed to gibberish, and both those that were and weren't gibberish were changed to italic from regular. For example, "Overview" became "OveriwMaeniv" and "Manual Purpose and Contents" became " AvMAto Mr isloAvwo ivelves" (note: there were some graphic squares that didn't copy and paste into here). Not only that, the FrameMaker file itself had the fonts changed to italic. However, once the fonts were italic, converting the document another time solved the gibberish problem.

    In general, if you're doing PDFs, your system should be set up to use the PDF printer as the default. Period. You can do it at the system level or with a SetPrint script from http://www.sundorne.com/FrameMaker/Freeware/setPrint.htm
    I suspect that when you use the HP, you're either in HP mode (not PostScript) or you use some fonts that are resident only on the printer itself, and aren't installed on your system. Which means that you may be using two different versions of the same font -- one from your /Fonts folder and one on the printer.
    May not make a difference, but I've gotten into the habit of saving files that I've rolled forward from 7.2 to 9 as MIF to clean things up, then saving the MIFs as FM. Also, there seem to have been some problems that resulted from 7.2 books being converte to 9. I don't think your font issue is related, but if a book starts acting wonky, you may want to recreate the book file in 9...
    Art

  • Pdf generation issues in FrameMaker 7.0

    I am having trouble generating a book pdf.
    1. Cross-references lose their blue font, although the hyperlinks work and do go to the chapter being referenced. Page numbering are also color-defined, this is lost in the generated pdf.  Ruling lines that are red are turning black.
    2. The headings have a pink-red background at top of page but this is turing black, obliterating the text of headings.

    What operating system? (Windows, Unix, Mac?).
    If Windows, what default printer is defined while rendering the PDF?
    Having a B&W Ps printer driver configured (say, LaserJet 4M PS) would cause exactly that result.
    You need a color Ps printer driver configured, or more ideally, a pseudo printer using the ADISTIL PPD, PDFwriter or similar.

  • Very slow PDF generation when conditional text is hidden in FM 9.0

    I am working on 96-page chapter of a larger book. A 7-page section of the chapter needs to be hidden until the next release, so I hid it with conditional text. After doing this, the "Save as PDF" printing process goes from taking 6-7 seconds to taking several minutes. If I unhide the conditional text in the same session, printing is very quick again.
    I have no problem generating very PDF files with the PDF printer in other applications (Word, PowerPoint). The issue is specific to FrameMaker and the use of conditional text. What might be causing this?
    I am using FrameMaker 9.0p255 and Distiller 9.0.
    - Chris

    Hi Jeff,
    These were good suggestions to try. Saving the document first has no effect on PDF generation.
    However, I did find that printing to the Adobe PDF printer remains fast when the conditional text is hidden. That's quite an interesting finding! I did also notice that these two methods of PDF generation aren't identical:
    "Save as PDF" opens an Adobe Distiller window, while printing to the Adobe PDF printer opens a different "Creating Adobe PDF" progress box (looks like it's from the printer driver itself).
    "Save as PDF" generates a 1188k PDF file, while printing to the Adobe PDF printer generates a 1049k PDF file.
    "Save as PDF" defaults to placing the PDF in FrameMaker's working directory, while printing to the Adobe PDF printer defaults to saving to the last place to saved a printed PDF file (awkward when working with multiple directories, as I often do).
    When I do a "Save as PDF", FrameMaker does still spool to the PDF printer. It is this spooling that takes a long time. Once spooling is complete, then the Distiller window opens and the PDF is created very quickly.
    I would still like to get "Save as PDF" working since it knows where to place the PDF file. No solution to the runtime yet, but at least there is progress...

  • PDF Generation has problems

    Hi there,
    Our company uses Colffusion to make PDFs for our client.
    Recently, the PDF generation is incredible instable, causing
    corrupt PDF files or performance issues.
    I found out, that the problem lies within the including some
    picture. This slows down almost everything or sometimes the
    generation does not happen at all.
    Is there a solution for this? Is there a hot fix for that?
    Thanks for your reply

    Try <cfreport> instead of <cfdocument> which give
    better results for these type of pdf conversion and image
    issues...

  • CFDOCUMENT PDF generation peformance on Linux running CF server 8 or 9 is horrible

    Can anyone help me understand how I can get the <cfdocument> tag to generate PDFs in reasonable time (and without throwing timeout errors) when running on CF 8 on Linux? Running on CF 9 doesn't make a difference, either. I can run the same code that generates a PDF on a Win 7 system and it completes the 1-2 page PDF in seconds.  Do the same thing in CF8/9 on Linux and it takes so long (minutes) and then throws a timeout error. When we tried using Railo instead of CF8/9 it ran fine as well.

    Our apps guy figured out the problem after googling the error log message. To put this in context, the deployed app is running in a Tomcat container on Linux.
    The root cause is Java's AWT thinking there should be an Xserver available to talk to.  Somehow in the code interactions during the PDF generation,  calls are made to an Xserver that doesn't exist, with an absurdly long  timeout.  Adding the line "-Djava.awt.headless=true" to the catalina.sh  script has solved the issue.
    Hope this helps others!
    Tea man

  • BI 7.0 Web PDF Generation

    Hi folks,
    I do have a severe problem with PDF generation and it looks like a common issue.
    I integrated Button to convert my Management Webreport to PDF, no big issue so far.
    But the generated PDF is not bevaing like expected. We do have a BI report that contains 3 charts horizontally alligned by a table to fit the screen and 1 table below
    those charts.
    This report fits perfectly on one page landscape.
    When generating PDF locally (PDF generator installed on client PC) Internetexplorer ==>PDF works as expected.
    When using the Button in Webtemplate to use the BI functionality to export to PDF the PDF is a mess.
    All template items are displayed in sequence taht means instead of 3 horizontal charts I see 3 charts and 1 table underneath each other.
    It looks like the old fashioned 3.x print function.
    My question:
    Is there a way to influence the PDF generation. Maybe a class ( like former 3.x  Table Interface) to modify to render the PDF like the template appearance?
    We cannot install PDF clients locally nor can we ship management those reports coming from BI. Report designer is no alternative because of missing functionality.
    TIA
    Joerg

    Thanks so far,
    currently when using the container item and referring by command wizard ( export to PDF) the system is not generating any item.
    Error Message 'file has no page and can't be opened...' occurs.
    I think this is a really urgent Development issue because I think printing via PDF is getting more and more important since not everyone is using IE7 ( which is not fully supported by SAP either) to scale pages for printing.
    Best regards
    Joerg

  • Handle WSDL data connection timeout during PDF generation

         I have created in LiveCycle Designer XDP template. In template i defined WSDL Data connection. For data loading i call xfa.connectionSet.WsDataConnection.execute(0).
         For PDF generation i created LiveCylce process and use generatePDFOutput component.
    If WebService works output service generates document with all data - OK.
    If i turn off webservice and run process ouputservice generates PDF document with empty fields. Is where any possibility to raise execption to calling process if WSDL connection timeouts or gives SOAP fault error in response? 
    I want catch web service errors in process and do not generate PDF if some webservice used in PDF template is not accesible during generation.

    Hi Martin,
    We are experiencing the same issue with SAP/Vertex. Can you let me know how you resolve this? Did you change the SAP gateway timeout parameter? If so, which one is it?
    Your help on this is greatly appreciated.
    Thanks much!
    Best regards,
    Cyanna

  • Report generation issue

    what are the diff report generation issues?

    Nvm, solved it just had to set up Reporting studio in order to create an accurate report.

  • Help: PDF Generation Problems in Reports 3.0

    Hi Techies,
    We are generating PDFs from Oracle Reports 3.0
    The PDF generation is fine in some datbases.
    But in some database,when the records are more, during PDF
    generation, Dr.Watson error is encountered, saying access
    violation.
    Can any one please clarify whether the error is due to memory
    constraints on the system or if it has something to do with
    Oracle Reports setting, while generating PDFs.
    Do note that the reports are running fine, when the report has
    less number of records.
    Any suggestion/tip is awaited at the earliest.
    Thanks in advance,
    Geoff
    null

    Hi!
    Remove cache from output dir from time time.
    (i.e. from virtual dir where report server puts output)
    let me know ...
    later
    Geoff (guest) wrote:
    : Hi Techies,
    : We are generating PDFs from Oracle Reports 3.0
    : The PDF generation is fine in some datbases.
    : But in some database,when the records are more, during PDF
    : generation, Dr.Watson error is encountered, saying access
    : violation.
    : Can any one please clarify whether the error is due to memory
    : constraints on the system or if it has something to do with
    : Oracle Reports setting, while generating PDFs.
    : Do note that the reports are running fine, when the report has
    : less number of records.
    : Any suggestion/tip is awaited at the earliest.
    : Thanks in advance,
    : Geoff
    null

  • PDF Generation problems in Reports 3.0

    Hi,
    I am generating PDFs from Oracle Reports 3.0
    The PDF generation is fine in some datbases.
    But in some database,when the records are more, during PDF
    generation, Dr.Watson error is encountered, saying access
    violation.
    Can any one please clarify whether the error is due to memory
    constraints on the system or if it has something to do with
    Oracle Reports setting, while generating PDFs.
    Do note that the reports are running fine, when the report has
    less number of records.
    Any help in this matter is appreciated.
    Regards,
    PRAKASH
    null

    Hi!
    Remove cache from output dir from time time.
    (i.e. from virtual dir where report server puts output)
    let me know ...
    later
    Geoff (guest) wrote:
    : Hi Techies,
    : We are generating PDFs from Oracle Reports 3.0
    : The PDF generation is fine in some datbases.
    : But in some database,when the records are more, during PDF
    : generation, Dr.Watson error is encountered, saying access
    : violation.
    : Can any one please clarify whether the error is due to memory
    : constraints on the system or if it has something to do with
    : Oracle Reports setting, while generating PDFs.
    : Do note that the reports are running fine, when the report has
    : less number of records.
    : Any suggestion/tip is awaited at the earliest.
    : Thanks in advance,
    : Geoff
    null

  • APEX 4.1 - APACHE FOP PDF generation problem.

    Hi all,
    I'm having problem with PDF generation using APACH FOP on OC4J.
    When I test my print server as described here:
    http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
    everything works without problem. But when I upload my Layout to APEX and try to generate PDF from apex I'm getting error:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:549)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1375)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:337)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:714)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:322)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop._jspService(_apex__fop.java:71)
         [SRC:/apex_fop.jsp:21]
    I could see similar post here:
    Handling Special characters in call to apex_util.download_print_document
    But it doesn't explain my case as it's crashing even when I generate empty pdf(no data so no special characters, only empty XML file with no data should be sent to print server)
    Is there any way to see what xml is sent do print server for processing? That could eventually show where is a problem.
    Palo

    My mistake, there was really an "&" character in my template. now when I replaced it with %26 it works.
    However I would be still interested if there is a way to see what data is APEX engine sending to print server cause it will help me to find this kind of errors.
    Palo

  • PDF access issue with OHS WebGate

    Hi all,
    The architecture has OAM, OID, Documentum server. OID is used as user store for OAM. Documentum application is deployed in WebLOgic server. There is a OHS server front ending the WebLOgic server where we installed the webgate. We are protecting the Documentum URL through OHS host name in OAM Policy domain and everything is working fine so far. While downloading a pdf document in Documentum server application, it is processing as 33% and hangs over for 5 mins and finally displays an error given below.
    invokeMethod() failed while calling: onReturnFromProgress
    Operation failed : com.documentum.ucf.common.transport.TransportException: Client failed to handshake with server within 250 seconds.
    After closing this window, press the Refresh or Reload button on your browser to continue
    I have seen couple of metalink notes about this pdf webgate issue and tried several options for webgate params CachePragmaHeader and CacheControlHeader.
    Tried the following combinations:
    CachePragmaHeader           private
    CacheControlHeader private
    CachePragmaHeader           novalue
    CacheControlHeader novalue
    CachePragmaHeader           public
    CacheControlHeader public
    CachePragmaHeader           novalue
    CacheControlHeader private
    CachePragmaHeader           novalue
    CacheControlHeader public
    Like this I have tried almost 9 combinations but no luck. Also tried disabling the IP validation. There are no errors in webgate or access server logs
    Please let me know if you have any clue on this.
    -Mahendra.

    We're seeing an issue that looks almost identical to this but using Windows 2008/IIS7.x and WebGate v10.1.4.3. The PDF will begin download then it looks like a connection resets. We've tried it using PDF's ranging in size from <1mb to over >16mb. The results are consistent. On IIS turning off "http keep alive" allows the downloads to proceed (and probably diminishes performance to some degree).
    While the workaround we found allows PDFs to download I'd really be interested in seeing what's causing this.

  • PDF generation with FOP throws NPE

    Hi,
    Stack trace
    at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
    at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
    I'm using standard Java 1.4 API calls to create a PDF document from a DOM with Apache FOP 0.20.5.
    The servlet is deployed to Oracle 10g Application Server 9.0.4.0.0. With Tomcat 4.1.30 the same code executes without exceptions
    Because I have to port our web application to Oracle for a new customer it is important for me to get this fixed soon.
    Thank you
    Eckard

    Light at the end of the tunnel: It seems to work when FO and PDF generation are separated. Until now the DOM was piped into FOP who internally created the FO from SAX events and then seems to parse it again to create PDF.
    I separated the two steps: There is no problem in FO generation, but due to a namespace problem subsequent parsing fails
    ("org.apache.fop.apps.FOPException: null:2:10 Root element is missing the namespace declaration: http://www.w3.org/1999/XSL/Format")
    Now the correct exception comes up. Whether FOP SAX event listener is buggy or XML parser's error handling has a problem, I don't know
    Thank you anyway
    Eckard

Maybe you are looking for

  • Set the Finder's Search Box default to current folder? How?

    How do I set the the Finder's default Search Box parameters to be the current folder that I'm in, instead of searching the whole flamin' computer? (I have to quickly click on the folder name) And also instead of the default being 'Contents', how can

  • Questions on Flip4Mac and MS Windows Media player for Mac

    If one installs "flip4mac" sofware, the plugin is installed. Will there be a icon or an application file for this software and an uninstaller file in the application folder? Do I have to activate the plugin before I use the web site to play the "wma"

  • Bank charge can be available on Payment wizard??

    Dear Experts, Is there any function to input bank charge on Payment Wizard (outgoing) ?? I know that we can input bank charge on Incoming payment document, but I believe that we can not input bank charge on Outgoing payment. So I asume that Payment w

  • Adobe Premium Suite installation problem....

    Hello, First I am new to this forum. The problem..... Last night I was installing my adobe suite and a problem occured. At 46% installation disk 1 the installation got hung up. It looks like adobe media player was being installed at that point. I wai

  • Frequent freezes. Time Machine related?

    Hello, I ran the Mountain Lion GM build without any troubles. It would run 10 days in a row, without a single problem and smooth as silk. Admittedly, it was a version I found in one of the dark corners of the Internet, as I am not a developer. When M