Error exporting Crystal Report with VB Script

I am working with Crystal Reports and attempting to export a .RPT file to a .PDF file using a VBScript called from InSQL. I can get the script to work properly if I require a user entry for file destination and name (.export true) but get the error message "Missing or out-of-date export dll" when I attempt to export the .RPT silently (.export false). The report also exports correctly when I manually initiate the export from within Crystal Report. Do you have any examples or solutions for this procedure? Thank you in advance.
Here is my code for the VBScript export:
dim rptfile, exportfile
dim strDate
dim objCRRpt
dim objCRApp
strDate = "_" & right("0" & month(now()),2) & "_" & right("0" & day(now()),2) & "_" & year(now())
rptfile = UCase("C:\CompCriticalAlarmReport_Test\Report1.rpt")
exportfile = "C:\CompCriticalAlarmReport_Test\criticalalarmreport" & strDate & ".PDF"
Set objCRApp = CreateObject("CrystalRuntime.Application")
set objCRRpt = objCRApp.openreport(rptfile)
With objCRRpt
     With .exportoptions
     .formattype = CrEFTCrystalReport
     .diskfilename = exportfile
     .destinationtype = CrEDTDiskFile
     .usereportdateformat = true
     .usereportnumberformat = true
     End With
.export (false)
End With
Set objCRApp = Nothing
set objCRRpt = Nothing

Ludek, I downloaded the VBA Sample application using the Microsoft Access Database and it is coming up with the same error as my VBScript for the PDF export. The error message for this application is "Run-time error '-2147190908 (80047784)': Failed to export the report."
Private Sub Image47_Click() 'Exporting to PDF
'Defines report's format type
Me.crxReport.ExportOptions.FormatType = crEFTPortableDocFormat
'Defines report's destination type
Me.crxReport.ExportOptions.DestinationType = crEDTDiskFile
'Defines report's file name
Me.crxReport.ExportOptions.DiskFileName = "C:\MyPDFfile.pdf"
'exports without calling the exporting dialog window
Me.crxReport.Export False        <----ERROR OCCURS ON THIS LINE
When I Run the application with Me.crxReport.Export True, the application executes without error and a popup appears prompting me to select the destination and format type. I need this to run automatically though without a user prompt.
I have seen numerous topics regarding the exportmodeller.dll, crtslv.dll, and atl.dll files improperly registering or the incorrect versions causing export problems. Could this be causing problems with my export functions? Again, the reports export fine when I manually export them, I am just having a problem when I try to export automatically in any format (excel, text, pdf, rpt, etc...)
atrain10

Similar Messages

  • Exporting Crystal Reports with embedded Xcelsius content to PDF

    Hi,
    I have a crystal report with an embedded xcelsius chart. I would like to schedule this report using Crystal Server 2008, sending it monthly as a PDF file attached to an email. But after exporting the report through Crystal Server, the xceslsius content is just blank. Shouldn't this be working?

    What is the version of Adobe Reader? Adobe Reader 9 should be there.Also check whether you have Flash Palyer/ flash Active X control installed.
    If you can view the dashboard after exporting it to PPT,it means you have Flash Player installed. You need to try with Adobe Reader 9.

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • Hyperlink error : on Exporting crystal report to Editable RTF format

    Hi , In my crystal report I have hyperlink which works normally. Now when I export this report to Editable RTF format; the hyperlink gives error "Error! Hyperlink reference not valid. "
    It works for other formats.
    Please help

    This issue was patched for Crystal Reports XI R1
    Hot Fix Name: commonXIwin_chf.zip
    Adapt Number-ADAPT00408450
    Description:
    When exporting a report with email hyperlink to editable RTF format,
    the links do not work.
    New Behavior:
    This is now resolved.
    Here is a link to the hotfix:
    ftp://ftp1.businessobjects.com/outgoing/CHF/commonXIwin_chf.zip
    If you are using XI R2 and are still encountering this, then please check that you have installed the latest service pack (SP3) - and if the issue still occurs, then this may need to be tracked as a bug again.  However my understanding is that this was fixed for R2
    a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite

  • Error While Exporting Crystal Report in XLS

    Hi
    when i am exporting crystal report in PDF or MS-Word its working fine
    When i am going to export crystal report to Microsoft-Excel 97-2000 (XLS) i am encountering ....
    Error in File C:\WINNT\TEMP\{6A5FE727-7FDE-479F-A7D0-96EE33EF5A4F}.rpt: The request could not be submitted for background processing.  this error...
    Can anybudy plz have its solution??
    Edited by: vishal patil on Sep 29, 2008 3:21 PM

    Hi Visahal,
    Try to re-install the export excell dll files.  Go in Controll pannel Add and Remove ProgaramsClick on Crystal Reports Click on ChangeSelect Add/RemoveThen expend ExportSelect Excel export and click on ok to reinstall the excel export dlls.
    After re-installation try to export to excel.
    Thanks,
    Sastry

  • Getting Error while integrating Crystal reports with Java

    Hi All,
    I am getting below error while integrating crystal report with java
    [java] os.arch = x86
    [java] java.lang.NoSuchMethodError: com.crystaldecisions.Utilities.d.<init>
    (Ljava/awt/Image;I)V
    [java] at com.crystaldecisions.Utilities.af.try(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.a(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.<init>(Unknown Source)
    [java] at com.businessobjects.crystalreports.viewer.applet.g.a(Unknown
    Source)
    [java] at com.crystaldecisions.ReportViewer.ReportViewer.start(Unknown
    Source)
    [java] at ReportViewerFrame.<init>(ReportViewerFrame.java:51)
    [java] at JRCViewReport.launchApplication(JRCViewReport.java:29)
    [java] at JRCViewReport$1.run(JRCViewReport.java:50)
    [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
    178)
    [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
    spatchThread.java:190)
    [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
    atchThread.java:144)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:138)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:130)
    [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Any help can be appreciated
    Kalyan

    Hi All,
    For got to mention i am using crystal reports XI release 2 with JDK1.4.
    Kalyan

  • Error Message while connecting Crystal reports with SAP CRM

    Hello Friends,
    I am able to establish a connection with Crystal Reports with SAP CRM but after that i get a error Function module "Crystal/Get_ODS_field_Info "not found & Database connection error RFC/invalid/ handle".
    Please advice how to solve this.
    Regards
    Swati

    Hi,
    You need to have the BusinessObjects Integration Kit for SAP. Integration Kit provides the database drivers and other features for reporting off SAP,to access sap objects into BO or Crystal Reports
    Link to download the useru2019s Guide:
    Please go to Http://help.sap.com
    Click on BusinessObjects tab
    Select the product as Integration Kit for SAP
    User guide: BusinessObjects Integration Kit for SAP Useru2019s Guide.
    It will list all the documents for Integration Kit for SAP which will be helpful to you.
    Also if you have any other questions around the SAP Integration Kit for Crystal Reports I recommend to post this query to the Integration Kits - SAP forumThis forum is dedicated to topics related to the BusinessObjects Integration Kit for SAP.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all SAP Kit queries remain in one place and thus can be easily searched in one place.
    you can download the complete documentation from the following link :
    http://support.businessobjects.com/documentation/product_guides/
    Choose "BusinessObjects XI Release 2" for the version and "Integration Kit for SAP" for the Product
    http://www.businessobjects.com/solutions/sap/default.asp
    Also Search ->Expert Forums->Business Objects-->Crystal Reports design
    Regards
    CSM Reddy

  • JRC bug: apostrophe in string parameter passed to Crystal Report with Command datasource to SQL Server

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    Post Author: nl11087
    CA Forum: JAVA
    A single quote/apostrophe in string parameter passed to a Crystal Report with Command datasource connecting to a SQL Server database, using sqljdbc driver does not escape the special character correctly. When doing a preview in the Crystal Reports IDE it allows you to escape the input parameter as expected and work correctly, but through the JRC component it fails. For string parameters without special sql server characters I experience no problems at all. When replacing the Command with a direct table there is also no problem.
    Reproduction:
    1. create a database db1, create a table table1 with a String type column col1.
    2. Create new report Report1.rpt, create a connection to above, Add Command using 'SELECT col1, col2, col3 FROM table1 WHERE col1 = '{?Par1}' . Add a parameter field Par1 : String
    3. In your java stand alone application using JRC add the parameter Par1 with a value "Jon Doe's Value" containing a single apostrophe. Export to PDF. (I also tried MSWord and this failed too, similar behavior). Additionally, in another test try to replaceAll("'","''") to escape it, preventing the code to break, but now it does not retrieve the expected row anymore and you end up with an empty report.
    Exception StackTrace:
    com.crystaldecisions.reports.exportinterface.exceptions.ExportException: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
    Caused by: com.crystaldecisions.reports.formatter.formatter.c: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.if(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.l.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.e.p.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
    ... 17 more
    Caused by: com.crystaldecisions.reports.dataengine.be: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.nr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.aa(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
    ... 23 more
    Caused by: com.crystaldecisions.reports.reportdefinition.datainterface.n: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.reportdefinition.datainterface.p.a(Unknown Source)
    ... 35 more
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: Incorrect syntax near 's'.
    at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.ea(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.h(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ap.dV(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.if(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.bc.do(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cy(Unknown Source)
    at com.crystaldecisions.reports.queryengine.ae.cz(Unknown Source)
    at com.crystaldecisions.reports.queryengine.b1.bc(Unknown Source)
    ... 36 more
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near 's'.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatement(Unknown Source)
    at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
    ... 48 more
    - JRCAgent3 detected an exception: An error occured while exporting the report
    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

  • Logon Failed when exporting crystal report to PDF

    Hi, I am Teguh
    i want to ask about error when export crystal report to pdf
    error message
    CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed
    [LogOnException: Logon failed.]
       .I(String , EngineExceptionErrorID ) +506
       .D(Int16 , Int32 ) +537
       .C(Int16 ) +10
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +577
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) +141
       Falcon.CRTransferSlip.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Falcon\CRTransferSlip.aspx.vb:77
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    environment:
    OS : Windows server 2008 standard SP1
    IIS: Version 7.0
    SQL: Sql server 2000
    VS : Visual studio 2003
    i really confused with this error,
    please help me for this problem
    many thank's

    Hi Ludek
    Thank you for your response. I have installed SP3 and ProcMon and still the same result.
    I applied a filter on ProcMon to filter out items where the path contains 'export'.
    There are a few items where the result is 'NAME NOT FOUND' but I don't think it necessarly had anything to do with the barcode. These include items such as 'EXPORT\MailDestType','EXPORT\DisableExportLiveOfficeSupport'','EXPORT\ExportDirectory' to name a few.
    What drew my attention was the ACCESS DENIED result on specifically the EXPORT\PDF folders. The detail for these are  Desired Access : All access, however the very same entry appears a little futher on as a SUCCESS but this is detailed as Desired Access: Query Value.
    So in summary it looks something like this:
    User : Server\XXX
    Operation : RegOpenKey
    Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
    Result : ACCESS DENIED
    Desired Access : All Access
    User : Server\XXX
    Operation : RegOpenKey
    Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
    Result : SUCCESS
    Desired Access : Query Value
    There are a few other entries that follow this pattern that exists in other locations such as HKLM\Software...
    Could this 'ACCESS DENIED' be the problem? and If so how do I, and should I give user XXX this ALL Access its looking for.
    Regards
    Elroy

  • "The process cannot access the file ..." occurs when export crystal report

    We are using a web application developed in VS 2005, .NET 2.0 with the bundled Crystal Reports version 10.2.3600.0 running on a Windows 2003 Standard server with 4GB Ram and Dual CPU's. Periodically we are still receiving the following error in our production environment:
    InnerException:
    The process cannot access the file because it is being used by another process.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
    This is occuring at the point on the code where the report is being exported to a PDF. Exporting the report to Excel does not appear to cause the error.
                    Stream outStream = report.ExportToStream(ExportFormatType.PortableDocFormat);
                    byte[] charStream = new byte[outStream.Length];
                    outStream.Read(charStream, 0, (int)outStream.Length);
                    if ((charStream != null) && (charStream.Length > 0))
                        HttpContext.Current.Response.ContentType = "application/pdf";
                        HttpContext.Current.Response.OutputStream.Write(charStream, 0, charStream.Length);
                        HttpContext.Current.Response.End();
                report.Close();
                report.Dispose();
                ds.Dispose();
                GC.Collect();
    Closing and disposing of the report and dataset (xsd) are followed by a call for garbage collection. We are unable to produce the error in our development environmennt and have not at this point been unable to pinpoint a problematic report. The development team members do have SP1 installed. The report limit has not been changed from the standard of 75 jobs.  Reviewed the following document, Re: "The process cannot access the file ..." occurs when export crystal report However this applies to VS 2008. Any suggestions to resolve the issue would be greatly appreciated.
    Thanks,
    Joe

    Good morning Joe
    For more details re. loading please see the following resources:
    [Crystal Reports 2008 Component Engine Scalability|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412?quicklink=index&overridelayout=true]
    [How Can I Optimize Scalability?|http://msdn.microsoft.com/en-us/library/ms225519.aspx]
    [Choosing the Right Business Objects SDK for Your Needs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7]
    To answer your questions:
    Is it correct to presume that the physical number of CPU's is not factored into the CPL? So that a Server with 2 or more processors does not increase the 3 concurrent requests? Therefore 2 CPU's would not increase the CPL limit to 6 processes?
    - Server with 2 or more processors does not increase the 3 concurrent requests.
    What would be an alternate solution to this limit be, considering the report requests could increase significantly?
    - Only way around this would be to web farm the solution
    If only only 3 reports can be processed at the same time. If one or more of the reports currently processing is taking longer due to receiving large amounts of data, how does that affect the queue? And what is stored in the queue, data and/or the report? Is this something that could consume memory?
    - The report can take as much time as it needs. The result is that one license will not be released until the report is done. There is no data stored, just a pointer to the report. However queued apps will chew up memory, some times to the point of the server becoming unresponsive
    I have read in the documentation on this site, that the dataset sent to the engine is copied in memory during report construction. So if a large amount of data is requested for a report (as an example 10+ MB) Could enough users requesting reports drive the memory up because memory usage doubled due to the dataset?
    - Absolutely. See [Crystal Reports Guide to ADO.NET|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20].
    Understanding the the CR DLL's are loaded on the first report request, do they get released at some point time due to inactivity or garbage collection? How much memory usage could be consumed when they load and stay resident?
    - No they do not. Not as long as the application is running.
    Ludek

  • Exporting a report with a chart.

    Post Author: Coleen
    CA Forum: Other
    Hello, I am using Delphi7 with CR XI. When I export a report
    with a chart to a pdf in my development environment it works fine. But
    when I distribute my application, the export works correctly except the
    chart does not display.  I am using Installshield to distribute
    the following merge modules: CR11_rdc_license, CR11_rdc_reportengine,
    and CR11_rdc_runtime. What am I missing? Thanks,Coleen

    Hello Russell,
    The Joint Time Frequency and Order Analysis Tool comes with example data. If you use the sample data, do you see the same behavior? Here are the steps I took:
    Run the VBS script Time Frequency and Order Analysis 111.VBS to launch the tool.
    Select New Data File
    Select Noise data.tdms and Open. This is in the Sample Data folder in the tool's folder Time Frequency and Order Analysis 111
    Set the Time Channel to "1 Time" and set the Signal Channel to "3 Noise_2"
    Select Spectrum 3D CharDiag.TDR as the Report Templace.
    Select Joint Time Frequency Spectrum as the Analysis Type.
    Select Run Analysis. This will load the analysis data into a report
    Double-click on the graph to open the 3D Axis Definition window
    Select ... next to the Characteristic diagram to open the Curve Parameters window
    Under the Interpolation tab, uncheck Interpolation. Click OK and close both dialogs. The graph will re-draw.
    Go to File > Clipboard or press the Copy Graphic to Clipboard button.
    Paste the image in Paint or Microsoft Word
    With these steps, I do not get an error with the clipboard. Are you able to export to clipboard if using the sample data Noise data.tdms? Does copying to clipboard work with any data? I'm trying to determine if maybe a certain large or small set of data could be causing the issue, or if you always have this issue.
    Taylor B.
    National Instruments

  • Error deploying Crystal Report XI R2 to Enterprise - Failed to read paramet

    Error deploying Crystal Report XI R2 to Enterprise - Failed to read parameter object.
    I know this issue has been addressed several times and the solution recommended was to install Service Pack 2. I have done that. It started working for me too; however recently I got some error saying some UDF***.DLL is missing. I re-installed Crystal Reports XI R2 and Service Pack 2. Unfortunately though, this error is back. I have restarted the machine n number of times but keep on getting this error.
    My report file has dynamic parameters defined through command object (SQL Query). My understanding is that once I publish the report to BoE Enterprise, BO will create LOVs and BV's in the repository. Now that is not happening.
    has any one else had this issue before and resolved it?
    Thanks

    Hi,
    do you export your CR report in your BOBJ repository using an account with administrator rights?
    Regards,
    Stratos

  • Failed to Load database information - Crystal report with XML as datasource

    Hello Friends:
    I am getting the attached error when i try to load the Crystal Report with XML as data source.
    I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
    Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
    CrystalDecisions.CrystalReports.Design.dll
    CrystalDecisions.CrystalReports.Engine.dll
    Please let me know what should be done in order to resolve this.
    Thank you!

    All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
    So. make sure you are on SP 9:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
    Remove your reference to CrystalDecisions.CrystalReports.Design.dll
    Add the following references:
    CrystalDecisions.Shared
    CrystalDecisions.ReportSource
    CrystalDecisions.Web (if web app)
    CrystalDecisions.Windows (if win app)
    I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Temporary error "A Crystal Reports job failed because a free license ..."

    Hi all,
    We coded with VS 2003 a .NET 1.1 application which using the Crystal Report 9 Redistribution package .NET ready to display reports from measured data from our device. The data is stored in a SQL Server 2000 MSDE. Crystal Report has his own DB connection to the SQL server to read the data to display the report.
    Our application runs well on approx. 100 distributed installations. But on six customers installation we get this error. Actual on two customers PCs using the same DB we get the error "A Crystal Reports job failed because a free license could not be obtained in the time allocated.". This error pop up every time, when the report is shown. Although the report get shown completely.
    I observed in the 'Windows Event Viewer => "System" log after the above-mentioned error following entry "Crystal Report job was delayed 2 (sec)." once for every time when the user requested a report.
    I restored an empty DB on customers PC and the error don't pop up anymore.
    All CR .NET assemblies have the version 9.2.3300.0. I tested also the "CrystalReportNET_keycodefix.zip", but it doesn't help. I had checked for hours all the issues about this error message on the internet. I tested the most fitting solutions, but not one fix the problem.
    I tested customers full DB on my Virtual Machine with same installation, but I don't get the error.
    Cheers
    Ronny

    Hi Ludek<br>
    <br>
    Thanks for your answer. I checked all the things you asked me to do on both system.<br>
    <br>
    Here are the results from my investigations:<br>
    <br>
    <b>1) The keycode.dll was not on the not working PC.</b><br>
    I copied it to the root of C: as on the working PC. I registered it with regsvr32.exe and tested the issue.<br>
    => The problem still exist.<br>
    <br>
    <br>
    <br>
    <b>2) I compared the keycode on both system:</b><br>
    HKLM\SOFTWARE\Crystal Decisions\9.0\Crystal Reports\Keycodes\CR Ent<br>
    <br>
    non working PC:<br>
    1 AAP50-GS00000-U7000RN 131203342 3979604006<br>
    The code is different in comparison to the working PC, because I carried out the 'CrystalReportNET_keycodefix.zip'. Before this I made an export of the above registry key. Afterwards I wasn't able to merge this export (backup) again with the registry. I assume due to the included carriage returns in the keycode.<br>
    <br>
    working PC<br>
    1 XXXXX <br>
    <br>
    <br>
    <br>
    <b>3) I used the Process Monitor and got following error during the error sequence:</b><br>
    <br>
    I list only some key entries from the hundreds of error entries. Please inform me, how I can provide you the full logger files.<br>
    <br>
    non working PC:<br>
    WriteFile         C:\...\Administrator.QCNIR002\Local Settings\temp\~cpe{AD83....}    Fast IO Disallowed<br>
    RegEnumKey HKCR\Drive\shellex\FolderExtensions                                                 NO MORE ENTRIES<br>
    RegOpenKey HKLM\Software\Crystal Decisions\9.0\Crystal Reports\Database      NAME NOT FOUND<br>
    RegOpenKey HKCU\Software\Crystal Decisions\9.0\Crystal Reports\Database      NAME NOT FOUND<br>
    RegOpenKey HKLM\Software\Policies\Microsoft\Windows NT\DnsClient                 NAME NOT FOUND<br>
    <br>
    But I observed beside the results: No more entries, Name not found, Fast IO Disallowed, Buffer overflow (RegQueryKey) and Range not locked (UnlockFileSingle of printer driver) no other errors.<br>
    <br>
    <br>
    working PC<br>
    Operation:      Path:                                                                                Result:<br>
    WriteFile         C:\...\Administrator\Local Settings\temp\~cpe{AD83....}                 Fast IO Disallowed<br>
    RegEnumKey HKCR\Drive\shellex\FolderExtensions                                            NO MORE ENTRIES<br>
    RegOpenKey HKLM\Software\Crystal Decisions\9.0\Crystal Reports\Database NAME NOT FOUND<br>
    RegOpenKey HKCU\Software\Crystal Decisions\9.0\Crystal Reports\Database NAME NOT FOUND<br>
    <br>
    <br>
    <br>
    <b>4) Service Packs</b><br>
    We could only compare the file size of the Merge Module we used with the one you provided me in the above link.<br>
    <br>
    <table border=0 cellpadding=0 cellspacing=0>
    <tr>
    <td>file name</td>
    <td>file size of used Merge Module</td>
    <td>file size of SP1 Merge Module</td>
    </tr>
    <tr>
    <td width=150>crnetruntime.msm</td>
    <td width=100>4'764'672 Byte</td>
    <td width=100>4'770'304 Byte</td>
    </tr>
    <tr>
    <td>license.msm</td>
    <td>578'048 Byte</td>
    <td>578'048 Byte</td>
    </tr>
    <tr>
    <td>reportengine.msm</td>
    <td>10'701'824 Byte</td>
    <td>10'905'088 Byte</td>
    </tr>
    </table>
    <br>
    But I tried to install SP7 on my PC and on customers PC, but I got following error after I accepted the license agreement in the setup.exe: titlebar of window 'Information', Msg: 'Failed to create Backup folder -110' and just a button 'OK'. I got into an infinit loop and I could only end the process: 'IKernel.exe'.<br>
    Remark: I get the same error with SP5 and SP6.<br>
    <br>
    <br>
    <br>
    <b>5) Modules - comparison of DLL's</b><br>
    <br>
    I cross checked all the DLL in Modules, which begin with CR and some other, because there were over 100 DLL's.<br>
    <br>
    <table x:str border=0 cellpadding=0 cellspacing=0 width=834 style='border-collapse:
    collapse;table-layout:fixed;width:626pt'>
    <col width=385 style='mso-width-source:userset;mso-width-alt:14080;width:289pt'>
    <col width=179 style='mso-width-source:userset;mso-width-alt:6546;width:134pt'>
    <col width=110 style='mso-width-source:userset;mso-width-alt:4022;width:83pt'>
    <col width=80 span=2 style='width:60pt'>
    <tr height=17 style='height:12.75pt'>
      <td height=17 width=385 style='height:12.75pt;width:289pt'>CRHEAPALLOC.DLL</td>
      <td width=179 style='width:134pt'>9.2.0.2</td>
      <td width=110 style='width:83pt'>9.2.0.2</td>
      <td width=80 style='width:60pt'></td>
      <td width=80 style='width:60pt'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRPE32.DLL</td>
      <td>9.2.3.1183</td>
      <td>9.2.3.1183</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRQE.DLL</td>
      <td>9.2.1.625</td>
      <td>9.2.1.625</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRTOWORDS_EN.DLL</td>
      <td>9.2.0.14</td>
      <td>9.2.0.14</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.CRYSTALREPORTS.ENGINE.DLL</td>
      <td>9.3.9500.10</td>
      <td>9.3.9500.10</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.REPORTAPPSERVER.CLIENTDOC.DLL</td>
      <td>9.2.3300.0</td>
      <td>9.2.3300.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.REPORTSOURCE.DLL</td>
      <td>9.3.9500.7</td>
      <td>9.3.9500.7</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.SHARED.DLL</td>
      <td>9.3.9500.10</td>
      <td>9.3.9500.10</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALDECISIONS.WINDOWS.FORMS.DLL</td>
      <td>9.3.9500.12</td>
      <td>9.3.9500.12</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>CRYSTALKEYCODELIB.DLL</td>
      <td>9.2.3300.0</td>
      <td>9.2.3300.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>keycode.dll</td>
      <td>9.0.0.281</td>
      <td>9.0.0.281</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADCE.DLL</td>
      <td>2.81.1135.0</td>
      <td>2.81.1135.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADCER.DLL</td>
      <td>2.81.1117.0</td>
      <td>2.81.1117.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADO15.DLL</td>
      <td>2.81.1128.0</td>
      <td>2.81.1128.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSADRH15.DLL</td>
      <td>2.81.1117.0</td>
      <td>2.81.1117.0</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>MSCORLIB.DLL</td>
      <td class=xl26>01/15/09 22:31:34</td>
      <td class=xl26>7/7/08 13:39</td>
      <td class=xl24></td>
      <td class=xl25></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>sqlresld.dll</td>
      <td>2000.80.382.0</td>
      <td>2000.080.0382.00</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    <tr height=17 style='height:12.75pt'>
      <td height=17 style='height:12.75pt'>crdb_ado.dll</td>
      <td>9.2.1.542</td>
      <td>9.2.1.542</td>
      <td colspan=2 style='mso-ignore:colspan'></td>
    </tr>
    </table>
    <br>
    Please specify the more detailed, if you mean the Crystal framework files or the .NET files. Could you give me please the location of the framework dlls and database client dlls like a folder name, so that I can check also all of them.<br>
    <br>
    I can provide you also the Module logger files, if you require them.<br>
    <br>
    <br>
    I would appreciate your further help very much.<br>
    <br>
    Cheers<br>
    <br>
    Ronny
    Edited by: Ronny S. on Jul 6, 2009 4:57 PM
    Edited by: Ronny S. on Jul 6, 2009 5:02 PM
    Edited by: Ronny S. on Jul 6, 2009 5:17 PM
    Edited by: Ronny S. on Jul 8, 2009 11:44 AM
    Edited by: David Hilton on Jul 15, 2009 11:04 AM
    Removed private keycode.

  • Exporting Crystal Report to HTML is not working in Windows 7

    Hi Sir,
    I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
    Below is the code to Exporting Crystal Report to HTML in VB.NET.
    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
    Dim CrFormatTypeOptions          As New HTMLFormatOptions
    Dim vFormat As Integer
    Dim CrExportOptions As New ExportOptions
    Dim vRdReport As New ReportDocument
    Dim sfd As SaveFileDialog
    Dim vFileName As String = Nothing
    vRdReport = vRptSource
    sfd = New SaveFileDialog
    If Not (vRptPath = "") Then
        sfd.InitialDirectory = vRptPath
    End If
    sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
    If sfd.ShowDialog = DialogResult.OK Then
        ' Set the disk file options.
         CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
    Else
         Return
    End If
    CrExportOptions = vRdReport.ExportOptions
    CrFormatTypeOptions.HTMLFileName = vFileName
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLHasPageNavigator = True
    CrFormatTypeOptions.UsePageRange = True
    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.HTML32
                        .DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
                        .FormatOptions = CrFormatTypeOptions
    End With
    vRdReport.Export()
    Catch ex As Exception
            MsgBox(ex.ToString)
    End Try
    Code working fine at Windows XP, But it is not woking in Windows 7 environment.
    Please can anyone share your valuable thoughts or ideas reg. this.
    Thanks in Advance
    Deivanayaga Perumal D.

    user13509659 wrote:
    Run this code to reproduce the issue.Which issue?
    It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
    EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
    Edited by: jduprez on Feb 10, 2011 1:01 PM

Maybe you are looking for

  • New podcast episode downloads in subscription but not shown in episode list

    We are uploading podcasts under the name Rivendell Fellowship. (link is http://itunes.apple.com/us/podcast/rivendell-fellowship/id392550297) I subscribe and the most recent episode downloaded automatically and plays in I-tunes. But when I search thro

  • Which is the best structure for start/stop data logging?

    Hi everybody, hope I can explain my problem good enough that anyone can help me: I have a VI which continuely shows on a graph the voltage of a Analog Input of a DAQ device. Now I want to allow the user to start/stop with a click on a button data log

  • Focus for JCombobox in the JTable

    Hi GentleMen, I have one combobox in the JTable and when i change the item in the combobox two messages poped up and item is set to the same previous item.Here my problem is that when i get to the first item the focus not being on the same ombobox .

  • Just learning iMovie & after much research in help & online still issues...

    I've tried to find my answers in help & search here as well with little luck. Can anyone point me in the right direction? I'm making a photo montage (a 1/2 hour slide show w/ music in the background) for my Grandmother's 90th birthday. I'm really str

  • Reinstall of Acrobat 8

    I generally use Acrobat only to convert MS Word files to .pdf. I have recently had to reinstall Acrobat 8 on a new computer running Windows 7.  After completing the install and trying to convert a file I am being told that a .dll is missing.  Adobe p