VS2013 with Crystal for VS (v. 13.0.10.1385) Deployment issue

Hi,
I have been trying to publish asp.net 4.5 website with Crystal Report for VS (v. 13.0.10.1385) on Windows 2008 R2 64bit server. My development environment is...
- OS - Windows 7 64 bit
- have installed exe for Crystal Report for VS (v. 13.0.10.1385)
Reports are correctly displayed on local machine while when run from web server (windows 2008 R2 64 bit) I get the following error...
[COMException (0x8004100f): Logon failed.
Error in File dfvr2 {1047BFCF-008C-4FBB-B48E-2269F4AA40BE}.rpt:
Unable to connect: incorrect log on parameters.]
I have following references defined in my web.config...
         <add assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
        <add assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
        <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
        <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>      
        <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
        <add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
        <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
On deployment sever I have installed...
SAP Crystal Reports runtime engine for .Net Framework (32 bit) version - 13.0.10.1385
SAP Crystal Reports runtime engine for .Net Framework (64 bit) version - 13.0.10.1385
What is wrong with this setup?
Edit:
I have noticed that the reports which are using stored procedure have this error. The command to change database is as follows...
    Private Function ChangeDBServer(repDoc As ReportDocument) As ReportDocument
        Dim SubReportDocument As ReportDocument = New ReportDocument()
        Dim crDatabase As Database
        Dim crTables As Tables       
        Dim crTableLogOnInfo As TableLogOnInfo
        Dim crConnectionInfo As ConnectionInfo = New ConnectionInfo()
        crConnectionInfo.ServerName = ConfigurationManager.AppSettings("ServerName")
        crConnectionInfo.DatabaseName = ConfigurationManager.AppSettings("DatabaseName")
        crConnectionInfo.UserID = ConfigurationManager.AppSettings("DBUserID")
        crConnectionInfo.Password = ConfigurationManager.AppSettings("DBPassword")
        crDatabase = repDoc.Database
        crTables = crDatabase.Tables
        For Each tbl As Table In crTables           
            crTableLogOnInfo = tbl.LogOnInfo
            crTableLogOnInfo.ConnectionInfo = crConnectionInfo
            tbl.ApplyLogOnInfo(crTableLogOnInfo)
            tbl.Location = ConfigurationManager.AppSettings("DatabaseName") + ".dbo." + tbl.Location.Substring(tbl.Location.LastIndexOf(".") + 1)
        Next
        For Each obj As ReportObject In repDoc.ReportDefinition.ReportObjects
            If obj.Kind = ReportObjectKind.SubreportObject Then
                Dim subObj As SubreportObject = DirectCast(obj, SubreportObject)
                SubReportDocument = repDoc.OpenSubreport(subObj.SubreportName)
                'SubReportDocument.RecordSelectionFormula = RecordSelectionFormulae
                crDatabase = SubReportDocument.Database
                crTables = crDatabase.Tables
                For Each tbl As Table In crTables
                    crTableLogOnInfo = tbl.LogOnInfo
                    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
                    tbl.ApplyLogOnInfo(crTableLogOnInfo)
                    tbl.Location = ConfigurationManager.AppSettings("DatabaseName") + ".dbo." + tbl.Location.Substring(tbl.Location.LastIndexOf(".") + 1)
                Next
            End If
        Next
        Return repDoc
    End Function

Hi,
I found the reason, the middle tier where IIS was running did not have SQLNCLI11 installed which was needed to make OLE DB calls.
Thanks,

Similar Messages

  • Been with Verizon for a week and already have major billing issues.

    I signed up for a new share everything plan 7 days ago.  Prior to switching to Verizon from Sprint, I stopped by a Verizon store and spoke with an employee about the employee discount we would be applying.  The employee told me that we would be given a discount off of both the monthly access fee as well as the $40 smartphone fee for the "primary" line.
    I received a letter today confirming that the employee discount had been applied and I am not getting a discount on the $40 dollar smartphone fee.  I called CS earlier and was basically told tough luck.  Sorry you were given misinformation that affected your decision to switch carriers, but there is nothing we can do to help you out.
    Additionally, because we apparently signed up for Verizon service on the last day of the billing cycle, and didn't sign up for the employee discount until our 3rd day of service, the employee discount is not being applied to our first bill.  I was told that if we would've signed up for the discount on the first day of service that it would have shown on our first bill.  How was I supposed to know that the day we signed up for service was the final day of the billing cycle??
    I've been a customer for 7 days and am wondering what I've gotten myself into.  Is this really what I have to look forward to for the next 2 years?  I've been lied to, which will result in my spending of hundreds of additional dollars over the next 2 years, and have been offered no help to resolve the issue.  I am strongly considering leaving while I'm still able to.  Sprint made a VERY strong offer to retain my business and I am seriously considering taking them up on their offer.  They obviously value my business more than Verizon.

    >Comment removed<
    12/16 was the  first day I had service and the last day of my billing cycle.  It can happen and did.  Would've been nice to know so we could get our employee discount setup before the first bill was generated (2 days later).
    By not having my my 22% discount applied the $40 smartphone fee, it will literally cost me "hundreds of dollars", over the next 2 years.  Let me break it down for you: 
    $40 x 22% = $8.80
    $8.80 x 24 months = $211.20
    (This of course doesn't include the additional taxes ill be paying as well, >Refrain from comments that attack other members<
    I'm not trying to get anything different from everyone else.  For some silly reason though, I just believe that store employees should give accurate information to potential customers, especially when it influences the customer's decision to switch service providers.  The only reason they can continue to mislead customers is because there are no repercussions and because people like you seem to justify their actions.
    Message was edited by: Verizon Moderator

  • Sub-reports DO NOT WORK in Crystal for Eclipse v2

    Hi,<br />
    <br />
    We have recently upgraded from Crystal JRC to CR4E 12.2.202. Our application updates the JDBC connections at runtime to supply credentials.<br />
    <br />
    Everything seems to be working except sub reports.  When using sub reports we get the error shown below.<br />
    <br />
    On reading other forum posts, the top error about PropertyResourceBundle just seems to be about trying <br/>
    to print an error message from the real exception, which is in the third stack trace below: <br/>
    <i>Error code:-2147217394 Error code name:missingParameterValueError</i><br />
    <br/>
    Any idea what has changed and how we can resolve this issue?<br />
    <br />
    Thanks for your help.<br />
    <br />
    <br />
    06-25@16:48:52 39545 [http-8280-3] ERROR com.crystaldecisions.reports.common  - Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@66afc4.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException<br />
         at java.util.ResourceBundle.getObject(Unknown Source)
         at java.util.ResourceBundle.getString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.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.if(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.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)<br /><br />
    06-25@16:48:52 39545 [http-8280-3] ERROR com.crystaldecisions.reports.common  - Failed to load the resource 'InternalFormatterException' from the bundle java.util.PropertyResourceBundle@66afc4.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key InternalFormatterException<br />
         at java.util.ResourceBundle.getObject(Unknown Source)
         at java.util.ResourceBundle.getString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResourcesFactory.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.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.if(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.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)<br /><br />
    06-25@16:48:52 39545 [http-8280-3] ERROR au.com.esriau.dekho.crystal.CrystalService  - InternalFormatterException
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: InternalFormatterException---- Error code:-2147217394 Error code name:missingParameterValueError<br />
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(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.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
         at au.com.esriau.dekho.crystal.Report.export(Report.java:135)
         at au.com.esriau.dekho.crystal.CrystalService.exportReport(CrystalService.java:37)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    Edited by: pjoyce on Jul 7, 2009 6:00 AM
    Edited by: pjoyce on Jul 7, 2009 8:36 AM

    We raised a support issue on this and was given a work around.
    With Crystal for Eclipse, you can no longer use "dynamically" generated sub report parameters, you must manually add the parameter to the sub report and apply a record level selection formula.
    Steps for the work around:
    1. Open the sub report and manually add a parameter field in the field explorer.  You can call it whatever you want, but make sure the data type is correct.  It should match the datatype that will be passed in by the main report.
    2. Click Report -> Selection formula -> Record
    3. Enter in a formula like this: {MYTABLE.ID} = {?subreportparam}
    4. Save and close
    5. Go back to the main report
    6. Right click the sub report -> Change sub report links
    7. Drag a report field into the fields to link list
    7. In sub report parameter field to use, select you're newly created parameter and click OK

  • Problem with Crystal reports for Eclipse and Postgres-databases

    Hi,
    Is there a known problem when using a PostgreSQL-database to create a report with Crystal reports Plugin? When I drag a table, then occurs a error-windows, that the object can't  created.
    I have found a workaround for solving the problem. After new installing Eclipse Platform Version: 3.4.1 Build id: M20080911-1700 and Crystal reports Plugin 11.8.6.v1371 with JRE 1.6.0_01 the error message allways occurs, when I select a table from a PostgreSQL database (Version 8.2). After restarting eclipse you see the last selected tables in the field explorer and you can drag the table fields in the report. A repeated choice of the same table causes aliases for the table in the field explorer after restarting eclipse.
    Error.log:
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Tue Dec 16 14:03:53 CET 2008
    Verursacht durch: java.lang.IllegalArgumentException
    com.businessobjects.crystalreports.designer.core.ReportException: java.lang.IllegalArgumentException
    at com.businessobjects.crystalreports.designer.core.ExceptionFactory.B(Unknown Source) at com.businessobjects.crystalreports.designer.core.ExceptionFactory.create(Unknown Source) at com.businessobjects.crystalreports.designer.core.elements.data.TableElement.add(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.AddCommand.doCommand(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.C(Unknown Source) at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.CoreCommand.execute(Unknown Source) at com.businessobjects.crystalreports.designer.dseintegration.DSEDropHandler.drop(Unknown Source) at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:455)
    at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:257)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:362)
    at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:288)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:171)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.IllegalArgumentException---- Error code:-2147467259 Error code name:failed 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.ag.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.if(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.bu.void(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.a6.for(Unknown Source) at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)
    Best Regards
    Arnold

    Your issue appears to be a Crystal Reports for Eclipse report designer thing, and not a JRC runtime thing.  The JRC runtime does support Type 4 JDBC drivers, but all modern PostgreSQL drivers are Type 4.
    The current report designer is more restrictive than the JRC runtime - and PostgreSQL, being not on the supported platforms list, has never been tested with the embedded designer.
    Unless there's anybody out there with experience with PostgreSQL and CR4E designer, who would be willing to share their experiences.
    Sincerely,
    Ted Ueda

  • Crystal for Eclipse using legacy crystal 9 .rpt's with .ttx file defintions

    Experts,
    I recently downloaded the Crystal for Eclipse plug in for my eclipse.  In going through you web project tutorial i created the project and everything works fine.  Now my situation is i have legacy reports that were created with Crytal 9 and these reports all have .ttx file defintions attached to them for the Datasource object.  The plug in recognizes that the .ttx is there i can see the field names in the Field Explorer pane.  At runtime or when testing the datasource connection i get an error stating that the .ttx isnt recognized and i need to choose a new JNDI.
    What suggestions do you experts have that i may resolve this error.

    Without seeing your code i can only guess that the viewer isnt finding your .rpt file in the path you are providing. If the report is being read from you local drive then an absolute path will find the .rpt (ie. C:\Path\To\Report).  If your trying to read the report from within the project then you will need to use something like this to find the path of the file then pass it to the viewer.
    String classpathstringname = Nameofyourclass.class.getResource(" foldername/" + filepath).toString().trim().replace("%20", "").replace("vfsfile:/", "");
    filepath in this example is the name of your .rpt.  The replace part of the example was because im running a JBOSS server and it didnt like the %20 and VFSFile:/ that is returned when you retrieve the resource name/path.
    If that is not the case make sure you are using the corect alias for the .ttx and it is spelled exactly the same way as in the report.  You can find this name in the eclipse Crystal REport addon by opening your Crytal Reports perspective and on the right side there will be a Field Explorer pane, click connection and then highlight the .ttx and under that pane is a properties pane where it will say ALias and Qualified, Make sure you are using the Alias value when you declare you "String tableAlias" in the viewer.

  • Connecting SAP Crystal Report with EHP6 FOR SAP ERP 6.0

    Hello Everyone!
    I have downloaded SAP Crystal Report demo 30 days and we have an IDES for "EHP6 FOR SAP ERP 6.0", how can I make some reports and train myself with crystal report?
    I don't understand how to make the connection to our SAP DB, can you help me?
    Thank  you!
    Denis

    Ok solved.
    - I assure where is the  saplogon.ini (in my case: %appdata%\SAP\Common\saplogon.ini)
    - I open the saplogon.ini with notepad and set the UTF format and than save it replacing the original one if it was not in UTF format
    - I go to : control panel>system>advanced>environment variables>system variables and I create a new one with name "SAPLOGON_INI_FILE" and path "C:\Users\....\AppData\Roaming\SAP\Common\saplogon.ini";
    - Open SAP Crystal Reports 2013 (in my case) > VIEW > Preferred Viewing Locale > (here I set the language of the SAP System I am going to log on with crystal report, in my case was in english so I set English)
    - (within SAP Crystal Reports 2013) > FILE > Log On or Off Server... > Create New Connection > SAP Table, Cluster, or Function > (now it shows me all the different SAP Systems that are also in the SAP GUI Logon, choose one, set the client-username-password and then finish)
    Thank you,
    Closed.

  • App coded in Crystal XI need to be compatiable with Crystal 2008. Options?

    Dear All,
    The product I am working on, works fine with Crystal XI. But now task is to make it work for clients that have just Crystal 2008 (not Crystal XI). (Even assuming there is no new feature that Crystal 2008 offer is planned in this existing application.)
    I was wondering what would be the best bet to make that application compatiable? Certainly we do not want to have two seperate application coded separatly for Crystal XI and Crystal 2008.
    I will appreciate any information, feedback, guidance that you can provide on this.
    Thanks

    am actually using Visual Studio .NET 2008 only with Crystal Reports XI R2. I was not aware of the fact that Crystal Reports XI R2 does not work with Visual Studio 2008. It could be that since I have both Visual Studio 2005 and 2008 in my machine, and this could be referring to old one.
    I believe Visual Studio 2008 came with .NET framework 3.5 and in theory 3.5 does all that 2.0 used to do. So I am not sure what would be the reason of .NET 2008 not supporting it. May be I am missing something, please help me clarify?
    - See the supported platforms doc here:
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202
    (choose Business Objects XI release2 / crystal reports -> crystal reports -> crystal reports XI r2 -sp2 - supported platforms.
    .NET 2008 is not listed. That is as far as this discussion should need to go. E.g.; do not use CR XI r2 with .NET 2008, or .NET 2010 when it comes out - if you do, you're on your own.
    Option-1) Now my worry is can same application; when installed on a client who has just crystal report 2008 (not upgrade from XI-R2) run-time installed, will work OK?
    As long as you run CR XI r2 with the supported version of .NET (e.g.; in your case .NET 2005) there will be no issues after installing CR 2008 as CR 2008 and CR XI r2 are side by side compatible. One thing I would highly discourage is running reports created in CR 2008 with CR XI r2.
    Option-2) Is there any change in existing code, I need to do so that irrespective of what run-time environment client has (XI R2 or, Crystal 2008), my application runs fine without any issue?
    If you install CR 2008 SP0 after installing .NET 2008, you should not need any code modification to an already working app. All that will happen is that the CR assemblies will get upgraded to version 12.x. Of course, you then need to distribute the CR 2008 runtime to your client / server computers.
    Any other option...
    Not sure where the confusion is, but I am not sure why we'd want to look for other options(?).
    Ludek

  • Error in Command PrintToPrinter with Crystal version 13.0.1

    We have founded the following error while the command PrintToPrinter with Crystal Report. This kind of error doesn´t happen every time that crystal is called, when this error appears, service fall down and an error is logged on event viewer.Below the error description and source code to call crystal reports.
    ExecutaImpressao method prepare data and load RPT file, while chamarThreadImpressao method start to press and calls EfetivarImpressao.
    Event Type: Error
    Event Source: .NET Runtime
    Event Category: None
    Event ID: 1026
    Date: 18/11/2011
    Time: 10:07:43
    User: N/A
    Computer: SNEPNF02V
    Description:
    Application: Procwork.Software.NFE.WindowsService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
    Stack: at System.Drawing.Internal.IntUnsafeNativeMethods.IntCreateDC(System.String, System.String, System.String, System.Runtime.InteropServices.HandleRef)
    at System.Drawing.Printing.PrinterSettings.CreateDeviceContext(IntPtr)
    at System.Drawing.Printing.StandardPrintController.OnStartPrint(System.Drawing.Printing.PrintDocument, System.Drawing.Printing.PrintEventArgs)
    at System.Drawing.Printing.PrintController.Print(System.Drawing.Printing.PrintDocument)
    at System.Drawing.Printing.PrintDocument.Print()
    at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32, Boolean, Int32, Int32)
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32, Boolean, Int32, Int32) at Procwork.Software.NFE.Impressoes.EfetivarImpressao.ImprimirDanfe()
    at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart()
    private bool ExecutaImpressao(dsNFE_NF_TRANSFERENCIA_REL dsDANFE, DanfeType tipoDanfe, PrinterType tipoImpressao, Impressora impressora, PrintMedia media, out byte[] pdf)
                int qtdNotas;
                iParametro.Connection = _cnn;
                string tempoVidaThreadImpressao = iParametro.getParameterValue("tempo_vida_thread_executa_impressao");
                if (tempoVidaThreadImpressao == string.Empty)
                    tempoVidaThreadImpressao = "10";
                qtdNotas = dsDANFE.NFE_NF_CAPA.Rows.Count;
                AssemblyLoader assemblyLoader = new AssemblyLoader();
                // Variáveis utilizadas para chamar o Assembly desenvolvido para desenvolvimento adicional da GM
                const string assemblyName = "RePrinter";
                const string className = assemblyName + "." + "Reimprimir";
                const string assemblyNameImp = "Procwork.Software.NFE.API.ImpAutomatica_GM";
                const string classNameImp = assemblyNameImp + "." + "ImpAutomatica_GM";
                pdf = null;
                bool result = false;
                ReportDocument rptDANFE = new ReportDocument();
                try
    cnn = DBConnection.RestoreConnection(cnn);
                    regEvento.connection = _cnn;
                    if (tipoImpressao == PrinterType.Retrato)
                        reportName = reportPath + "DANFE.rpt";
                    else
                        reportName = reportPath + "DANFE_PAISAGEM.rpt";
                    // Log que so faz sentido para nao-wave, pois pega apenas a primeira nota
                    Utils.WriteWindowsLog(String.Format("Impressora null? {0}. Filial: . Docnum: - GerarDANFE.ExecutaImpressao", impressora == null, dsDANFE.NFE_NF_CAPA[0].COD_FILIAL, dsDANFE.NFE_NF_CAPA[0].DOCNUM), LogLevel.INFORMATION);
                    if (impressora != null || media.Equals(PrintMedia.PDF))
                        updateDsNF(dsDANFE, (Int32)DanfeType.Oficial);
                        try
                            FileStream f = File.OpenRead(reportName);
                            f.ReadByte();
                            f.Close();
                        catch (Exception ex)
                            Utils.WriteWindowsLog(ex.Message, LogLevel.ERROR);
                        IBeforePrintDANFE iBeforePrintDanfe = (IBeforePrintDANFE)assemblyLoader.Load(assemblyName, className);
                        if (iBeforePrintDanfe != null)
                            DataSet dsTransferencia = new dsNFE_NF_TRANSFERENCIA_REL();
                            dsTransferencia.Merge(dsDANFE);
                            iBeforePrintDanfe.DoBeforePrintDANFE(ref dsTransferencia, ref reportName, _cnn.Cnn.ConnectionString);
                            rptDANFE.Load(reportPath + reportName);
                            rptDANFE.Refresh();
                            rptDANFE.SetDataSource(dsTransferencia);
                            foreach (ReportDocument r in rptDANFE.Subreports)
                                r.SetDataSource(dsTransferencia);
                        else
                            rptDANFE.Load(reportName);
                            rptDANFE.Refresh();
                            rptDANFE.SetDataSource(dsDANFE);
                            foreach (ReportDocument r in rptDANFE.Subreports)
                                r.SetDataSource(dsDANFE);
                        rptDANFE.DataDefinition.FormulaFields["EH_MINUTA"].Text = (tipoDanfe == DanfeType.NaoOficial ? "true" : "false");
                        if (media.Equals(PrintMedia.Papel))
                            PrintDocument pd = new PrintDocument();
                            PrinterSettings.PaperSourceCollection psc;
                            if (impressora == null) throw new ArgumentNullException("impressora", "O parâmetro não pode ser nulo quando o MediaType for Papel.");
                            if (impressora.bandeja != -1)
                                PaperSource ps;
                                pd.PrinterSettings.PrinterName = impressora.getNomeImpressora();
                                psc = pd.PrinterSettings.PaperSources;
                                if (psc.Count >= impressora.bandeja)
                                    ps = psc[impressora.bandeja];
                                else
                                    throw new Exception("A impressora: " + impressora.nome + " não suporta a bandeja: " + impressora.bandeja + " !");
                                string printer = "";
                                try
                                    printer = impressora.getNomeImpressora();
                                    rptDANFE.PrintOptions.PrinterName = printer;
                                    rptDANFE.PrintOptions.CustomPaperSource = ps;
                                    rptDANFE.PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Manual;
                                catch (Exception ex)
                                    if (ex.Message.ToUpper().Contains("INVALID PRINTER"))
                                        ex.Source = printer;
                                        throw ex;
                                if (!chamarThreadImpressao(rptDANFE, impressora.vias, qtdNotas, tempoVidaThreadImpressao))
                                    gerarErro(dsDANFE, rptDANFE);
                            else
                                string printer = "";
                                try
                                    printer = impressora.getNomeImpressora();
                                    rptDANFE.PrintOptions.PrinterName = printer;
                                catch (Exception ex)
                                    if (ex.Message.ToUpper().Contains("INVALID PRINTER"))
                                        ex.Source = printer;
                                        throw ex;
                                if (!chamarThreadImpressao(rptDANFE, impressora.vias, qtdNotas, tempoVidaThreadImpressao))
                                    gerarErro(dsDANFE, rptDANFE);
                            IAfterPrintDANFE iAfterPrintDanfe = (IAfterPrintDANFE)assemblyLoader.Load(assemblyNameImp, classNameImp);
                            if (iAfterPrintDanfe != null)
                                DataSet dsTransferencia = new dsNFE_NF_TRANSFERENCIA_REL();
                                dsTransferencia.Merge(dsDANFE);
                                iAfterPrintDanfe.DoAfterPrintDANFE(dsTransferencia, _cnn.Cnn.ConnectionString, pd);
                        else if (media.Equals(PrintMedia.PDF))
    #if !DEBUG
                            using (Stream pdfStream = rptDANFE.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat))
                                pdf = new byte[pdfStream.Length];
                                pdfStream.Read(pdf, 0, pdf.Length);
    #else
                            rptDANFE.ExportToDisk(
                                CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
                                , @"C:NFEpdfTemp" + Guid.NewGuid() + ".pdf"
                            pdf = new byte[1];
    #endif
                        result = true;
                        //RegistraEvento(dsDANFE, "513");
                finally
                    //Força sempre fechar o objeto Report (Para não estourar a quantidade máxima de jobs)
                    try
                        rptDANFE.Close();
                    catch { }
                    rptDANFE.Dispose();
                return result;
    #region chamarThreadImpressao
    private static bool chamarThreadImpressao(ReportDocument rpt, int vias, int qtdNotas, string tempo)
    bool retorno = false;
    int tempoCalculado = ((Convert.ToInt32(tempo)) * 1000) * qtdNotas;
    EfetivarImpressao ei = new EfetivarImpressao();
    ei.Rpt = rpt;
    ei.Vias = vias;
    ThreadStart threadStart = ei.ImprimirDanfe;
    Thread thread = new Thread(threadStart);
    try
    thread.Start();
    //Se entrar no if é por que a execução demorou menos que o tempo estipulado no Join
    if (thread.Join(tempoCalculado))
    if (ei.LastError != null)
    throw ei.LastError;
    retorno = true;
    catch (Exception ex)
    Utils.WriteWindowsLog(ex.Message, LogLevel.WARNING);
    finally
    if (thread.IsAlive)
    thread.Abort();
    return retorno;
    #endregion
    }public class EfetivarImpressao
    #region Declarações
    private ReportDocument rpt;
    private Exception lastError;
    private int vias;
    #endregion
    #region ImprimirDanfe
    public void ImprimirDanfe()
    bool retryImpressao = true;
    int numeroTentativaimpressao = 0;
    while (retryImpressao && numeroTentativaimpressao <= 5)
    try
    numeroTentativaimpressao++;
    if (vias > 0)
    rpt.PrintToPrinter(vias, false, 0, 0);
    retryImpressao = false;
    else
    rpt.PrintToPrinter(1, false, 0, 0);
    retryImpressao = false;
    catch (Exception ex)
    // Só sobe a exception a partir da quinta tentativa
    if (numeroTentativaimpressao > 5)
    lastError = ex;
    #endregion
    #region Propriedades
    public int Vias
    set { vias = value; }
    public ReportDocument Rpt
    set { rpt = value; }
    public Exception LastError
    get { return lastError; }
    #endregion

    Hello,
    First thing to do is upgrade to Service Pack 2 and runtime.
    then search this forum for PrintOutputController to handle the printing. P2P is limited in it's abilities and functionality and will not be fixed or updated.
    Update your Printer Drivers and if it's a web app search MSDN for info on how to expose the WEB server to your printers.
    Don

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • VS2013 and Crystal Report Layout printing

    <p>Hi,</p><p></p><p>I use VS2013 and Crystal reports.&nbsp; In my program i also use direct print from the form (not by crystal reports).</p><p></p><p>When I first print a documten from a form,
    and then I take a printpreview from a crystal report, the lay-out is not correct.</p><p></p><p>As example I put 2 screenshots:</p><p>first correct - second after printing from form</p><p></p><p>I
    hope somebody can help me.</p><p></p><p>Thx</p><p><img alt="right" src="https://social.msdn.microsoft.com/Forums/getfile/564644" /></p><p><img alt="wrong" src="https://social.msdn.microsoft.com/Forums/getfile/564645"
    /></p>

    Hi Detleff,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio
    Editor. Based on your Crystal Reports printing issue, I’m afraid that it is not the correct forum for this issue. Therefore,
    I suggest you can ask your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
    for better solution and support.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Invalid export DLL or export format" with Crystal Reports 2008 to Excel xls

    We are experiencing the same issue as reported in the sticky thread. I answered in that thread, but thought that I woudl open a new thread to keep track of this issue.  I can give you the responses to your questions you have requested in that thread:
    Server Operating System - MS Windows Server 2003 R2 Enterprise Edition SP2
    Version of the .NET Framework - MS .NET Framework 3.5 SP1
    How did you deploy? - Installed CR 2008 SP1 runtime with msi package
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? CRRuntime_12_1_mlb.msi dated Sept. 16, 2008 12:55:00 PM, size: 56,717,824 bytes
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory - File was created 9/13/08 11:21AM, 9451KB File Version: 12.1.0.882
    How many libpng10.dll files are on your system? List all instances. - 1 instance is on the system located in C;\Program Files\Business Objects\Business Objects Enterprise 12.0\win32_x86 directory. It is dated 9/13/08 8:52:26AM 132KB version 1.0.30.1
    Any additional comments - We have tried to export to PDF and this works successfully. However, we can not export to xls or rft formats.
    CRXF_XLS.dll is 905KB 9/13/08 9:38AM Version 12.1.0.882
    CRXF_RTF.dll is 509KB 9/13/08 9:35AM Version 12.1.0.882
    We also have the CR XIR2 server runtime installed side by side on the server as we migrate from CR 2008 to CR XIR2 SP4 ( where this function does work currently).
    Please let me know if you need anything additional.
    Phil
    "Invalid export DLL or export format" with Crystal Reports 2008
    Posted: Sep 27, 2008 12:36 AM       E-mail this message      Reply 
    I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
    Issue
    Exporting a Crystal Report to Excel or RTF format
    .NET application using the Crystal Reports 2008 runtime (version 12.0)
    error Invalid export DLL or export format
    We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
    Server Operating System
    Version of the .NET Framework
    How did you deploy?
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
    How many libpng10.dll files are on your system? List all instances.
    Any additional comments
    What We Know
    The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
    Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
    Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables
    This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.

    Hi,
    I am also having the same problem, except that I am not using Crystal Report 2008 runtime but the actual Crystal Report 2008 installation on Windows XP SP2 with VS Studio 2005 (VC++). MS .NET Framework 2.0.
    Cyrstal Report XIR2 was installed on the same machine but uninstalled before installing Crystal Report 2008.
    So only one instance of libpng10.dll and found in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    Crpe32.dll        3/1/2008 version 12.0.0.683
    Crxf_xls.dll       3/1/2008 version 12.0.0.683
    Crxf_rtf.dll         3/1/2008 version 12.0.0.683
    crdb_oracle.dll  3/1/2008 version 12.0.0.683
    libpng10.dll       3/1/2008 version 1.0.30.0             122880 bytes
    There is no problem for exporting to pdf, html, word, csv, Crystal Report. If I create a testing report without any data from database, the testing report can then be exported also to rtf and xls.
    Oracle 11.1.0.6 is the DB for the reports.
    Adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to the path did not resolve my problem.
    Any idea to fix this issue?
    Thanks
    Kin H Chan

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • Problem with Crystal XI and Pervasive (Btrieve)

    Post Author: mdcampbell85
    CA Forum: Data Connectivity and SQL
    Hi!
    I am experiencing a problem with Crystal XI.  Crystal XI Reports will fail, if more than two tables are joined in the query.  If only 2 tables are joined, the reports will not fail.  These same reports work correctly in crystal 10.  And the reports work on sql server.  The software I am working with uses a DSN to connect when executing crystal reports.  I am using crystal 11 with service pack 3.  I might try to see if there are any updates for the ODBC, but I have not tried that yet.  I also might try to install a more up to date version of Pervasive.  I am currently using 9.10.020.000 of Pervasive.SQL.  
    Does anyone know how to resolve this problem? 
    If you are not experiencing this problem, do you have a value stored in registry key \HKEY_CURRENT_USER\Software\Crystal Decisions\Suite 11.5\Crystal Reports\Database\QueryBuilder\JoinBuilder\StarEqualJoinBuilder?  If you do, what is the value?
    Thank You!
    Mark

    Post Author: mdcampbell85
    CA Forum: Data Connectivity and SQL
    In case anyone is interested, below is how I solved the problem:
    I added a new string value named StarEqualJoinBuilder to the registry.  I added StarEqualJoinBuilder to the key &#91;HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Database\QueryBuilder\JoinBuilder
    I set the value of StarEqualJoinBuilder equal to evbtr13

  • Error with Crystal Reports/VS2010

    I've got a user that is getting the following error when trying to view a report from a .NET desktop application...the type initializer for 'crystaldecisions.crystalreports.engine.reportdocument' threw an exception
    I've installed the runtime engine from here Link: [http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp] and also tried adding the merge module into the setup package for the application.  I'm still seeing the same error.  What else needs to be installed for the reports to work with VS2010?
    Thanks

    Yes I used an MSI to install the application and merge module.
    This is on a 32bit Windows 7 machine.
    Tried compiling/installing the app as x86, .Net 3.5 and also 4.0
    The error shows when trying to view the report
    The app only uses 2 reports, but errors on both
    I cannot reproduce on my dev box, it works fine for me...typical
    I haven't been able to track down another 32 bit Win7 box to test with
    A little more history...
    This same msi was used to install the app on XP boxes and the app worked fine.  At the time, Beta 2 of the runtime files was all that was available so that's what I used. 
    One user has recently switched to Win7 and after installing the app, the initial error was that crpe32.dll could not be found, even though it was in the exact directory listed in the error message.  Using Add/Remove Programs would not uninstall the runtime, so we followed the steps listed in the last post here Link: [Uninstalling Crystal for vs2010 beta;.  That uninstalled the runtime so we could install the latest version of the runtime.  Now we get the error listed in my initial post.
    thanks!

  • Problems deploying VS 2005 Web Site with Crystal Reports

    If it's not one assembly reported missing, it's another. Runs fine on my local machine, but can't deploy to a test environment on my company's server. How can I force crystal to install everything on the server that is needed so that my clients (end users) can run this report?
    We are not running Crystal RAS.
    When I set up my msi, I made sure to set it to take assemblies from my local machine. Yet, my local machine does not seem to contain all of the assemblies that it needs. They're not showing up in the bin anyway.
    I am using non-embedded report files (as you can see from my code below) so that I can change reports on the fly, if necessary without recompiling the entire app.
    I am using the ReportDocument object.
    Error as follows (when run from any desktop) in IE.
    Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    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.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 21:         'Server.MapPath(strPath)
    Line 22:
    Line 23:         crMissing218 = New ReportDocument
    Line 24:
    Line 25:         Dim file As String = Server.MapPath("\reports\CrystalReports\crmissing218.rpt")
    Source File: C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb    Line: 23
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    === Pre-bind state information ===
    LOG: User = NT AUTHORITY\NETWORK SERVICE
    LOG: DisplayName = CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/Inetpub/wwwroot/MicsaReports/
    LOG: Initial PrivatePath = C:\Inetpub\wwwroot\MicsaReports\bin
    Calling assembly : CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Inetpub\wwwroot\MicsaReports\web.config
    LOG: Using host configuration file:
    ?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Post-policy reference: CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +0
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       Missing218s.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb:23
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
    Any help with this would be most appreciated. Is there a KB that deals with deploying a VS 2005 WEB SITE with Crystal?
    Thank you,
    Bob

    Okay. So I installed the correct MSMs, opened the deployment document that came with it entitled, "Crystal Reports for .net Framework 2.0 - Deployment using Merge Modules" and got to page 4. At the bottom of page 4. It had me create a new Web Setup Project. The MSMs are included in the project, as they should be.
    On page 4, #7, it says "Build the project."
    #8 says Run your development setup.
    There are 3 panes on my VS interface (4 including the Solution Explorer). To me, they look like they need the information regarding what Web Site this is to deploy.
    I don't see any instructions on how to do this. I just blew away my old MSIs that I created because the previous document said not to use them.
    So, how do I add my Web Site to these panes?
    Thank you for your help with this.
    Bob

Maybe you are looking for

  • No FI Document During GR of Production

    Hi, I am working in MTO environment. When I post confirmation of Production Order with Auto GR option then No FI document is creating for Goods Receipt. But when I do confirmation of Order without Sales Order reference then the FI document for GR is

  • Images not opening after 10.2.1.537 OS update

    Ever since I updated my z10 to 10.2.1.537 I am not able to open any images which are sent as attachments in messages,whatsapp and not even through device manager. When I click on the image the screen becomes a little dim and then restores back but th

  • Scary black screen with smoke in iTunes

    Does anyone know what this is?! It's moving and the smoke keeps eminating. Has my iTunes become possessed?

  • Why Would Crystal Reports read more than it prints

    Hi everyone, In my case My record selection is based on the following: {FACILITY}=1 And {payment_code} In ["110","111","112","115","116","117"] And {service_code} = "COPAY" And {date_of_receipt} in [{?From Date} to {?To Date}] And yet for any paramet

  • Runtime error on Oracle Designer

    Hello I have Oracle Designer 10g installed on windows server 2003 sp2 its suddenly give me error when i try to run the Oracle Designer as follows : Microsoft Visual C++ Runtime Library Runtime Error! Program: This application has requested the Runtim