Export To PDF in CRYSTAL REPORT XI Release 2

I am using Crystal report XI release 2.
Font Size is decreasing when I am exporting Crystal Report to PDF.
It was working fine previously but i don't know what messed it up. Please help.

Hi,
   Looks like you already read the steps needed to resolve this from other places. Here it is again incase you miss any part, make sure you follow it exactly.
Set the resolution of the default printer of the local computer experiencing the issue to 1200 DPI. Most printers have a default setting of 600 DPI.
Create two registry keys to prevent the crxf_pdf.dll from decreasing in font size.
Click Start > Run. Type "regedit". The Registry Editor appears.
Create the following keys for Crystal Reports XI Release 2 with the defined values:
HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Export\PDF\ForceLargerFonts
Type: DWORD
Recognized Values: 0,1
Default Value: 1
Creation Method: manual
HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Crystal Reports\Export\PDF\ForceLargerFonts
Type: DWORD
Recognized Values: 0,1
Default Value: 1
Creation Method: manual
Set both registry key values to 1 to turn them on.
Restart the Crystal Reports Page, Job and Cache Servers
    Also help if you upgrade your Adobe Reder to version 8 or higher. Let me know if it helps.
Regards,
Ken

Similar Messages

  • Report with Summary & Detail - Exporting to PDF in Crystal Report

    Hi,
    I am using Crystal Reports XI (release 2). I am trying out a report with Summary and Detail sections.
    Requirement:
    1.     Report should display both Summary and Detail Sections
    2.     Summary section should be displayed first followed by Detail Section
    3.     A field in summary section should have a hyperlink to Detail Section
    4.     On clicking the hyperlink the user should be navigated to the corresponding detail record
    5.     User should be able to download the whole report as a single PDF (i.e., both summary and detail together)
    Implementation in Crystal Report:
    This feature could be implemented using
    a.     Linked On Demand Sub report
    b.     Using Hide (Drill down ok) option
    c.     Hyperlinks
    Issue Faced:
    I used the on demand sub report option. When i clicked on the sub report (hyperlink), the details get displayed. But the details get displayed in separate viewer and hence when we export to PDF both summary and detail are not getting exported together. User has to select each detail report and export to PDF. Is this a limitation in CR XI? - proprietary Crystal Report features, such as drill-down and on-demand subreports, are supported only in the native Crystal Report format. These special features are ignored when exporting a report to a non-Crystal format like pdf.
    Is there any workaround for exporting both the summary and detail (in subreport) as a single PDF file?
    Any help will be greatly appreciated.
    Thanks,
    Viji.

    Hi
    Hyperlink would not be a solution to what you are asking for.
    If you want to see the records related to a particular employee id by clicking on emp id, you can try the below:
    - Apply a group on employee id on the main report.
    - Insert a subreport with the required fields and place it on the Employee id Group header. You can put a name of the subreport as "Check Employee details" or something else as per requirement and make it a on demand subreport.
    - Link the subreport on Employee id.
    Hope this helps!!!
    Regards
    Sourashree

  • Error  while exporting in pdf in crystal report XI

    Post Author: Siddheswar
    CA Forum: General
    hi
    I am getting the following error in crystal report XI while exporting to pdf.
    The Error:
    Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
    Please Help.
    Thanking in advance.
    Regards
    Siddheswar

    The stack trace is caused by whitespace in your CrystalReportViewer.jsp file.  Look up SAP Note 1199025 for the resolution.
    It's not related to the PDF formatting issue.  There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
    Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF.  But the latest version helps greatly.
    Sincerely,
    Ted Ueda

  • Error exporting to PDF from Crystal Reports 2008

    Hi,
    We are getting following error while exporting Crystal report to the PDF and preview in IE:
    Description: Failed to export to a pdf file -- Selected exporter does not support one of the features used in this report. MyReport {DCA37817-1414-45A7-8DF9-75503B8CD0FE}.rpt
    This report having chart object as subreport, however export to Excel works fine and we could see chart fine in Excel. Any other reports without charts are exporting fine to the PDF format only this one having issue.
    Report developed with Crystal Reports 2008/SP2, server we are running this report having CRRuntime_12_0.msm merge file installed successfully. We can't install 12_2 or 12_3 downloaded from your site because of errors we are getting while setup with these merge files somehow.
    Server configuration: Windows 2008 RC2 64bit, .NET framework 3.5, project executing report compiled as x86 ASP.NET project.
    Thanks for help!
    Leonid Shprekher
    Bessemer Trust

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Error in Export to PDF for crystal reports

    Hi All,
                I have created one Crystal Report & on other side i have created a windows form & kept crystal report viewer on it.so through my coding i'm setting the crystal report to get loaded into viewer on runtime.so in runtime i can connect to Printer (or) i can export it to PDF,but while exporting it to PDF gives me an error like this
    System.Threading.ThreadStateException:current thread must be set to single state apartment(STA) mode before OLE calls may be made.Ensure that your main function has STAthreadAttribute marked on it.
    System.Windows.Forms.Form.ShowDialog()
    can anybody suggest me some ideas to solve this problem.
    thanks,
    shangai.

    hello,
    in details,
    1. to make sure that ur .rpt file is working run in (Preview ) using crystal reports ... this should return the expected result.
    2.try to run ur report in an Administrator account. (if i am correct w/ authorization issue) this should fix the problem.
    best regards
    fidel

  • Background Colour Incorrect when exporting to PDF from Crystal Reports 2008

    Hello All
    When exporting to PDF from CR2008 the background colour of the crosstab is incorrectly displayed. The problem is as follows to create a crosstab with a grey header row and column details in white we have used the following trick.
    Format Cross Tab Border Background is set to Silver.
    Crosstab Expert Grand Total Background colour is set to white.
    The result is a crosstab with header in grey and details in white.
    This report displays correctly in CR2008, and exports as seen on screen to everything but PDF. When exporting to PDF the Crosstab is completely grey taking on only the Background colour of silver, and ignoring the Grand Total Background colour being set to white.
    What is strange that when I print to PDF the format is also displayed exactly as required,
    Any help on this matter would be greatly appreciated.
    Some additional details.
    CR2008 version 12.3.1.683
    Adobe Reader version 9.3.3
    Windows XP Professional
    Thanks
    Phillip
    Edited by: Phillip L on Nov 23, 2010 1:51 PM

    If this is a big issue for you then please purchase a case and a Rep can duplicate and escalate to R&D.
    As a work around export to Editable RTF and in Word 2007 you can get a PDF export plug-in and then export to PDF.
    Thank you
    Don

  • Issue while exporting report in PDF using crystal report XI

    Hello,
    I am facing issue while exporting a report to PDF through crystal report XI. Reports are generating properly in the crystal report browser but when I am exporting the reports in PDF or trying to get print by clicking on print button, reports not generating properly.
    Allignment in the exported PDF reports getting changed and reports margin is also changes. Due to this some part of report is chopped and printed on the next page.
    I have deployed my application on IBM WebSphere 6.1 server and I am getting following error which might help to identify this issue.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The response has already been commited.---- Error code:0 Error code name:succeeded
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.report.web.component.o.a(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.ibm._jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
    Caused by: com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:80)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.writeOut(BufferedServletOutputStream.java:438)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBytes(BufferedServletOutputStream.java:344)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flush(BufferedServletOutputStream.java:323)
         at com.ibm.wsspi.webcontainer.util.BufferedServletOutputStream.flushBuffer(BufferedServletOutputStream.java:478)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:452)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.flushBuffer(SRTServletResponse.java:436)
         at com.crystaldecisions.report.web.viewer.JSPViewerResponse.flushBuffer(Unknown Source)
         ... 33 more
    Caused by: java.io.IOException: Async IO operation failed, reason: RC: 64  The specified network name is no longer available.
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:203)
         ... 3 more
    Thanks in advance
    Alok P.

    The stack trace is caused by whitespace in your CrystalReportViewer.jsp file.  Look up SAP Note 1199025 for the resolution.
    It's not related to the PDF formatting issue.  There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
    Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF.  But the latest version helps greatly.
    Sincerely,
    Ted Ueda

  • How to use Crystal Reports XI release 2 Preview with Lotus Notes  Scripts ?

    <br />Hi all,<br /><br /> How to use Crystal Reports XI release 2 Preview with Lotus Notes 7 Scripts ?<br /><br /> <br /><br />Thank&#39;s  <br />

    Hi,
    we are using Lotus Notes and Crystal Reports for preview and printing reports from our Lotus Notes Applications. We use the RDC object model. For previewing the reports we export them in an pdf-file and then start the PDF Reader to show the Preview. This works fine.
    But with Crystal Reports > 11 the RDC Object Model is no longer supportet, so we look for another way to preview and print our reports.
    I try to preview a report build with crystal report XI release 2 in my thick client (Lotus Notes) using java reporting component JRC, this report uses an native xml file as datasource. If the datasource is saved with the report everything works fine, but otherwise I have the following error:
    JRCAgent1 detected an exception: javax.xml.namespace.QName: method getPrefix()Ljava/lang/String; not found
    I also tried the .jars from Crystal4Eclipse. Doesn't work. When I use Eclipse to view the report everything works fine. The class QName exitsts in the jaxrpc.jar and in the xbean.jar, but only in the xbean.jar a Methode getPrefix exists.
    This is what we tried:
    Works fine with RDC. Doesn't work with JRC until now.
    Did this help you ?
    Perhaps you con help me with the JRC, because I'm a java newbee so any ideas could be helpful.
    Oliver
    <p><a href="http://www.cominform.de">www.cominform.de</a></p>

  • How to change default Export Format Type in Crystal Report Viewer

    We are coding in VB.NET 2005 using the CR2008 SP1 .NET objects.
    The Crystal Report Viewer, when displayed, defaults the export type as .rpt (Crystal Reports).
    We distribute our .NET application to our customers.  99% of the time, this .rpt format is useless to our customers as they do not have crystal reports developer.  They usually export to a .pdf or .xls format.  Is there a way to default this export option to something other than .rpt?
    Thank you.

    Yes, that's as much as I figured.
    With the Crystal for .NET methods, the CrystalDecisions.CrystalReports.Engine's reportdocument object has an ExportToDisk method.  We wanted to use this (as we used something similar with the RDC) to prompt the user to export.  However, the reportdocument's exporttodisk method does not have an argument that allows for Prompting the user (true/false) like the RDC's export did.  You have to actually know ahead of time the type of export the user wants as well as the filename.  Well, we do not, and therefore, want the user to be able to select the type of export they want as well as enter their own filename.  We want the Crystal methods to prompt for this.  Since we are unable to, we've had to resort to declaring a reportviewer object and setting the viewer's reportsource = to the reportdocument.  We then use the ExportReport() method which defaults to .rpt (which none of our end users have Crystal Developer).  This is why we want to know if there is a way to reset the default export method to something more common (such as .pdf or .xls).  Is there a way to change the reportdocument's file type in order to default the export type?  Just trying to come up with some sort of workaround...
    Thanks

  • Create PDF from Crystal Reports

    Hi,
    We are using Crystal Reports XI with Adobe Acrobat Professional 8. When we create a pdf from crystal reports its giving crw32.exe encountered problem. Reinstall both the softwares are not useful. Adobe support professional says problem could be in crystal reports.
    We are doing the following steps to create a pdf.
    Crystal Reports->File->Print->Select Adobe PDF....
    So please let me know the solutions for this.
    Shivkumar.
    Edited by: Shiv Kumar on Oct 4, 2008 11:53 AM

    Hi Shiv
    As I said, only TTF fonts are supported with the PDF format otherwise it will give an error message as "Failed to export". Enhancement request for the same has been raised.It might get fixed in the coming service pack.
    Try exporting the report which is using only ttf.
    Regards
    Asha

  • Crystal Report Xi Release 2 upgrade

    I have been tryig to upgrade my Crystal reports XI Release 2 with the latest service paks, but when i try to apply any they say that i need at least service pak 2.  I try to install service pak 2 and it tells me that there.  Another version of this product is already installed.  To configure or remove the existing version of this product, use add/remove on the control panel. 
    In the Addd/remove on the control panel there is a Crystal Reports XI Release 2.  Im confused.. this is waht i want to upgrade why woudl i remove it?  The version that is installed is 11.5.0.31327
    This all started when i wanted to make a webapp displaya crstyal report and the follwoing error happend.  The most popular fix seemed to be to upgarded to service pak 4 for crystal, but to get there i need service pak 2,3 but i cant install.  The error i was receiving is listed below.
    Not enough memory for operation.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Not enough memory for operation.
    Source Error:
    Line 64:             //load the rpt file to document
    Line 65:             //return;
    Line 66:             doc.Load(fileName);
    Line 67:             //pass the user inputs to crystal report parameters those will sit in the output pdf file
    Line 68:             //doc.SetParameterValue("@CompanyName", txtCompany.Text.Trim());
    Source File: C:\projects\Web Invoice\Web Invoice\Default.aspx.cs    Line: 66
    Stack Trace:
    [COMException (0x80041004): Not enough memory for operation.]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +271
    [Exception: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +988
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
       Web_Invoice._Default.Button2_Click(Object sender, EventArgs e) in C:\projects\Web Invoice\Web Invoice\Default.aspx.cs:66
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

    I believe [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note will help.
    Notes search page is here:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Ludek

  • Need help with Updating Crystal Reports XI Release 2.

    I had to reload my Crystal Reports XI Release 2 and I am trying to get the software up to date.  I looked for Service Pack 1 Incremental on the Downloads and it is not available.  I tried downloading Service Pack 2 Incremental and it said I need Service Pack 1.  Is there another alternative step that I need to take?  When I tried doing the Service Pack 2 Full Build, I had to uninstall and reinstall.  Then I was not able to get to the ODBC drivers that I needed to export files.  Please advise to fix my issue.
    Thanks,
    Julie

    Hi Julie,
    Download Cr SP 4 full build and then download the [DataDirect ODBC|https://smpdl.sap-ag.de/~sapidp/012002523100008666562008E/cr_datadirect53_win32.zip] drivers.
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Full builds require an uninstall first much much easier than updating incrementally.
    Thank you
    Don

  • Upgrading Crystal Reports XI Release 2 to CR 2008: Where is ReportDocument

    I am attempting to upgrade our .NET Crystal Reports code from Crystal Reports XI Release 2 on Visual Studio 2005 SP1 to Crystal Reports 2008 on the same compiler.  We use the ReportDocument interface and I can't seem to find it in the new Crystal Reports 4.0 managed directory.  Here's the top of the .header file that worked in the old environment:
    #using <CrystalDecisions.Shared.dll>
    #using <CrystalDecisions.CrystalReports.Engine.dll>
    #using <CrystalDecisions.Enterprise.InfoStore.dll>
    using namespace CrystalDecisions::Shared;
    using namespace CrystalDecisions::CrystalReports::Engine;
    With that code in place, I get compiler errors indicating that the packages can't be found:
    c:\dev\sources\videoview_6_6\video\nextlink\reportfaxservice\NReportFaxServiceImpl.h(13) : fatal error C1107: could not find assembly 'CrystalDecisions.Shared.dll': please specify the assembly search path using /AI or by setting the LIBPATH
    environment variable
    If I comment out the lines as follows and add in the ReportDefModel (the only dll that appears to have a ReportDocument symbol):
    // #using <CrystalDecisions.Shared.dll>
    // #using <CrystalDecisions.CrystalReports.Engine.dll>
    #using <CrystalDecisions.Enterprise.InfoStore.dll>
    #using <CrystalDecisions.ReportAppServer.ReportDefModel.dll>
    // using namespace CrystalDecisions::Shared;
    // using namespace CrystalDecisions::CrystalReports::Engine;
    using namespace CrystalDecisions::ReportAppServer::ReportDefModel;
    Then, I get compiler errors like this:
    NReportFaxServiceImpl.cpp(306) : error C2039: 'Close' : is not a member of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
            c:\dev\businessobjects\common\4.0\managed\crystaldecisions.reportappserver.reportdefmodel.dll : see declaration of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
    NReportFaxServiceImpl.cpp(941) : error C2039: 'Load' : is not a member of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
            c:\dev\businessobjects\common\4.0\managed\crystaldecisions.reportappserver.reportdefmodel.dll : see declaration of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
    NReportFaxServiceImpl.cpp(950) : error C2039: 'SetParameterValue' : is not a member of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
            c:\dev\businessobjects\common\4.0\managed\crystaldecisions.reportappserver.reportdefmodel.dll : see declaration of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
    NReportFaxServiceImpl.cpp(974) : error C2039: 'ExportToDisk' : is not a member of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
            c:\dev\businessobjects\common\4.0\managed\crystaldecisions.reportappserver.reportdefmodel.dll : see declaration of 'CrystalDecisions::ReportAppServer::ReportDefModel::ReportDocument'
    Here's line 306 of that source file, for example:
    NReportFaxServiceImpl::~NReportFaxServiceImpl()
         DESTLOG( LOG_NREPORTSERVER, "NReportFaxServiceImpl::~NReportFaxServiceImpl", "[[[]]]" );
         RFaxCloseServerHandle( _hRightFaxServer );
         //  close all the report documents
            IDictionaryEnumerator^ enumReportDocuments = _mapReportDocuments->GetEnumerator();
            while( enumReportDocuments->MoveNext() )
             Object^ reportName = enumReportDocuments->Key;
             ReportDocument^ crReportDocument = dynamic_cast<ReportDocument^>(enumReportDocuments->Value);
    /* line 306 */         crReportDocument->Close();
    Can anyone advise me of the correct #using directive to specify to pull in the ReportDocument object?
    Thanks.

    Okay, we seem to be getting somewhere.  I switched the /AI directive to point to the managed/dotnet2 directory, but then I get the following warning:
    c:\dev\sources\videoview_6_6\video\nextlink\reportfaxservice\NReportFaxServiceImpl.h(15) : fatal error C1107: could not find assembly 'CrystalDecisions.Enterprise.InfoStore.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable
    NMAKE : fatal error U1077: 'c:\dev\VisualStudio\VC\bin\cl.EXE' : return code '0x2'
    So, I commented out the following line in the header:
    #using <CrystalDecisions.Enterprise.InfoStore.dll>
    Then, I get the following error when I try to make the project:
    NReportFaxServiceImpl.cpp(982) : error C3624: 'System::Drawing::Printing::PrinterSettings': use of this type requires a reference to assembly 'System.Drawing'
    NMAKE : fatal error U1077: 'c:\dev\VisualStudio\VC\bin\cl.EXE' : return code '0x2'
    Here is line 982:
                        crReportDocument->PrintToPrinter(1, false, 0, 0);  
    So, I'm assuming that maybe I need to provide an assembly search path to both the managed and the managed/dotnet2 directories.  Is that correct?  If so, is order dependent between those two /AI directives.
    Thanks.

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Crystal Reports XI to Crystal Reports XI Release 2

    Is there an SR update to go from Crystal Reports XI to Release 2?  Or is it essentially a whole other version of the software and must be purchased seperately?
    Can Crystal Reports XI Release 2, save files back to Crystal Reports XI version?
    I'm supporting two applications that utilize Crystal Reports as its reporting engine.  Problem is that one uses Crystal Reports XI and the other Release 2.

    Hi Wenin,
    We can upgrade from Crystal XI to Crystal XI R2.
    We need to have the set up  or download of  Cr Xi R2 enter the key and run the Cr Xi r2 application.
    If we have requirement to run multiple applications one single machine then we can install.
    Else it is recommended to have one version of crystal on client machine.
    Bcoz both versions  will have same registry keys and .dll files .
    So, be aware and can run the 2 crystal applications easily.
    Thanks,
    Naveen.

Maybe you are looking for

  • How can I get a list of available shared variables from my device?

    I have to develop a program to connect to many OPC ready devices.  I don't have these devices yet but I have setup two PCs.  One is simulating a device.  Does anyone know how to read a list of the available shared variables on a device or on another

  • Camera raw doesn't work on my new CS 6 ( offline computer )!

    I have two weeks new, original Photoshop CS6 and today my Camera Raw has stopped working. I have a computer offline and it showed me a message to install a new plugin for Camera Raw. How do I get it? I paid about 3000 PLN and my program does not work

  • Problems with Bluetooth and Mac OS X 10.4.4

    Hello all, I recently installed the the X.4.4 update on my PowerBook, and now it is having problems connecting to my RAZR. When I try to "Rebond" to it, it says an unexpected error has occurred (on the PB), and shows no bluetooth devices. Also, I am

  • WLS 7.0 sp2 for HP/UX?

    Why is sp2 missing för HP/UX? Is this no longer a supported platform? //Björn

  • FTP Task not working properly on Azure VM

    I am able to get connection when i press "Test Connection" inside the connetion manager. However - when trying to browse the remote FTP server's directory inside the FTP task editor, I get the following error message: "An error occured in the request