Deploying an application with crystal reports

Hi, we have a license for Crystal reports (please contact me for key information, if needed), and have been developing them in a VB.Net application.
Now, we are trying to install on the application on the client side.
We have followed this guide for setup:
http://vb.net-informations.com/crystal-report/vb.net_crystal_report_deployment_setup.htm
And it worked for a while.
In our recent setup for the customer, this stopped working and we get the following error:
Could not load file or assembly 'CrystalDecisions.Windows.Forms,Version:12.0.2000.0,Culture=neutral,PublicKeyToken=692fbea5521e1304' or one of it's dependencies.
What are we doing wrong??
The developers have Crystal Reports 2008 12.1.0.892 installed.

Check the GAC (windows\assembly) and make sure that the CrystalDecisions.Windows.Forms dll  version 12.2 is there.
If it is not then you did not deploy correctly and will need to make sure to deploy the Crystal Reports 2008 runtimes to the machine.
Also is the machine running a 32 or 64 bit OS?

Similar Messages

  • Error deploying the application with Crystal Report

    Hello,
    I'm using Visual Studio 2010 and I installed the required version of crystal report for it. I'm developing a windows Application with C# and Crystal Reports. The program runs correctly in the visual studio but when I tried to deploy it by adding the setup it gives me the following warnings:
    - Unable to find dependency 'MICROSOFT.VISUALSTUDIO' (Signature='B03F5F7F11D50A3A' Version='1.0.5000.0') of assembly 'crdb_adoplus.dll'
    +- The 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' item selected requires 'Microsoft.Net.Framework.2.0'. Select the missing prerequisite in the Prerequisites Dialog Box or create a bootstrapper package for the missing prerequisite.     +
    - No 'HomeSite' attribute has been provided for '.NET Framework 2.0 SP2', so the package will be published to the same location as the bootstrapper.
    I tried to ignore the warnings and deploy it but when I try to open the crystal report and in the program it gives me an error message then an empty report.
    I also tried in the Prerequisites to choose the option : Download prerequisites from the same location as my application. but when I do that I receive the following errors:
    - The install location for prerequisites has not been set to 'component vendor's web site' and the file 'MDAC28\mdac_typ.exe' in item 'Microsoft Data Access Components 2.8' can not be located on disk. See Help for more information.
    - General failure building bootstrapper.
    - Unrecoverable building error.
    of course In addition to the previous error.
    I'm not using the click-once deployment.
    Can you please help and advice me with that? I tried to search through the net for these warnings but with no luck of the solution.
    Thank you,

    No, .Net Framework 2 is not installed. I'm using windows 7 so I installed .Net framework 4. I tried to Install .Net 2 but it doesn't install because of windows 7. I also tried to add it in the prerequisites but again with no luck in solving the issue.
    If I try to deploy the App and install it. When I try to open the crystal report the app crushes and gives me the following error:
    Report load failed.
    exceptions:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at DataViewer2.Form5.crystalReportViewer1_Load(Object sender, EventArgs e)
       at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       at CrystalDecisions.Windows.Forms.CrystalReportViewer.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: starrysky88 on Sep 13, 2011 11:35 AM

  • Error when startup WPF Application with Crystal Report !

    Hi!
    I have an error when build & run a WPF Application with Crystal Report. Can anyone help me ?
    First, I created 2 project, one is the WPF Application & one is Shell Start Up project (to show loading screen, then show main window when loaded, is WPF Application too)
    WPF Application:
    /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window {
            public MainWindow() {
                InitializeComponent();
               // crViewer is SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer
                crViewer.ViewerCore.ReportSource = new CrystalReport1(); // Assign report to viewer
    Shell Startup:
    [STAThread]
            public static void Main(string[] args) {
                AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
                Application app = new Application();
                ShowLoadingWindow(); // Show loading screen
                MainWindow mw = new MainWindow();
                mw.Show();
                app.Run();   
            static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) {
                // Exception was throw here
    And here is the exception & it's stack trace
    Message:  Object reference not set to an instance of an object.
    Stacktrace:
    at SAPBusinessObjects.WPF.Viewer.ViewerCore.<>c__DisplayClass1.<set_ReportSource>b__0()
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass29.<QueueOnThreadPoolThread>b__28(Object )
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    As far as I know the error is typically due to the fact that I'm trying to address an object that has not been set. E.g.; this could be due to  bad scoping, bad inits/constructs, trying to access a member of a class without instance object and so on. I suspect this is a design \ code issue. You might be able to confirm this using [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx].
    Other than that, I'd recommend creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    - Ludek

  • Deploying VS 2005 Applications with Crystal Reports

    Using VS 2005 with Crystal Reports bundled, I created a web site that uses Crystal Reports. On my own web server (which I have total control over), I can deploy it using CR merged modules and everything is fine. Ultimately, however, my website is going to be hosted by another company and I am not sure if they are going to be willing to run the setup file that loads the Crystal Report dependencies (like I was able to do on my own web sever). So my question is this, is it possible to upload a website to a host provider and have CR reports work without having the host provider run a CR setup program? If this is not possible, do you know of any host providers that support CR?
    Thanks in advance!

    Hello,
    The Crystal Report .NET runtime files will need to be deployed to the eventual web host.  If your web host won't run the CR.NET deployment package then your Crystal application won't run.
    I know there are web hosts that support deploying Crystal Reports runtime packages, but I don't have any specific names to give you.  You can probably Google for some options.
    Sincerely,
    Dan Kelleher

  • VB Application with crystal report

    Post Author: chriscasaje
    CA Forum: Data Connectivity and SQL
    I have an application created in VB with a report that used a crystal report. When I deploy the application in the other pc, the application was functioning except for the report. It has an error "Physical database not found". I did not install the crystal report to the pc where I install the application. Do I need to install the crystal report to that pc? Is that necessary? Or I have done an error when I make the application package? Please help me..

    Moved to Legacy SDK forum.
    Are you still using the RDC and VB 6 or have you moved to .NET and Visual Studio .NET?
    Typically those error usually are caused by IIS permissions on the CrystalReportsViewer folder.
    Thanks
    Don

  • Installing windows application with crystal reports runtime on 64 bit

    I have a windows application created on 32 bit windows xp platform using visual studio 2005 with oracle 10g as database and crystal reports XI as reporting tool. The platform on which the application was created has Oracle 10g 32 bit Client, Crystal Reports Developer XI R2 and Crystal Reports XI Server Client. The application has to be installed on 64 bit Windows 7 machine. The application fails with following error
    An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing correct version of Crystal Reports runtime (x86, x64, or Itanium) is required. Please go to http://www.businessobjects.com/support for more information.*

    We have an Windows Forms apps developed in VB.NET 2005 using Reports Documents from Crystal Reports XI R2 Server. The application is running fine on 32 bit Windows XP machine. We are trying to install the application on 64 bit Win 7 machine. We are getting following error while doing so
    An error has occured while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist.msi) containing correct version of Crystal Reports runtime (x86, x64, or Itanium) is required. Please go to http://www.businessobjects.com/support for more information.*
    We have installed "Crystal reports XI R2 SP4 full build" and "SP6 incremental". We have also installed "CrystalReports11_5_NET.MSI from CR XI R2 FP 6.4 .NET Server Install" as well as "CRRedist2005_X64.msi".
    We are still getting the same error.

  • VS2010 Error creating an application with Crystal Reports

    Hi
    I've loaded the RTM version for Crystal reports, but when I try to add a crystal reports  application as a new project I get an exception error as below.
    Error     1     Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {C0D87D96-8D57-4274-AA18-D465E31F901E} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
       at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"     C:\Users\Neil\AppData\Local\Temporary Projects\CrystalReportWpfApplication1\CrystalReport1.rpt     1     1     CrystalReportWpfApplication1
    I've tried uninstalling and reinstalling but without any joy. I still get the same error.
    I'm running an Acer 5332 laptop (64bit), with Windows 7 home premium and 4GB of ram.
    I'd appreciate any help you give me as I'm on a tight deadline for a project.
    Rgds

    Hi'
    I tried using Process Monitor, but it hung up the PC, whilst trying to run the install. After about an hour I had to restart the PC by removing the power supply and battery. So no further forward.
    I did notice that there was check box which stated 'create log file'. Would this file give me a clue if I could look at it. Is fo what is it and where would it be created?
    Don, I create the application by going into vs2010 and taking the option to create a Crystal reports application. It is at this point that I get a warning 'The deigner cannot process the code at line 20 Me.CrystalReport1 = NewCrystalReport1, and then follows the  exception error. How do I know which NET 4.0 framework it is using?
    Thanks both for your suggestions, it is appreciated.

  • How to create cross tab reports using RAS SDK api with Crystal Reports XI

    Hi Everybody,
    Iam generating reports in a web-based application with Crystal Reports XI using Report Application Server(RAS) SDK API. The columns in my report exceed that of an A4 sized page. So, when I export that report to pdf, only those columns that fit to a page are showing up. To solve, this problem, I thought of using cross tab. But, I donot know how to generate cross tab report using RAS SDK API. I have tried to get some code from the internet. But, I did not find any java code for that.Can some one give me some sample code.It is very urgent.
    Thanks in advance.

    Hi,
    The easiest way I use is to create the worksheet as regular table and then when i verify the data I get (non aggregate) I duplicate it as a cross tab.
    In the duplication wizard I just need to define the axis (using drag and drop).
    if you want to create a cross tab from the beginning you need to define that in the new workbook wizard (check the "cross tab" rather then "table"), chose your fields and define the place you want them.
    The data point (the center of the cross tab) is aggregated as to your machine definition and will happen automatically.
    for example: to find the amount of receipt by months:
    On the left put the "Buyer Name", on top put the "Months" and in the data point put the amount.
    What you'll get is something like:
    months: jan feb mar apr ......
    buyer_name
    jhon_smith 100 50 30 250 ......
    jhon_doe 80 45 90 453 ........
    and so on.....

  • Trouble with crystal report viewer - don't show swf file

    hi to evrybody,
    i'm developing an  application with Crystal Report and Xcelsius.
    My scenario is:
    Visual Studio 2008
    Crystal Report 12.1.0.892
    ( for the cliente CRRuntime_12_1_mlb.msi)
    I tried to develop only the kernel of the application a form vb that call another form with
    crystalReportViewer (12.0.2000.0)
    My trouble is that i can't see the flash embed in Crystal Report file.
    (In the Crystal Report preview all wors fine)
    Can someone help me with this ?
    Best regards
    Alessandro

    Unfortunately this functionality is not currently available within .NET windows forms applications.  It will work in ASP.NET applications.

  • Deploy Visual Basic 6.0 RDC application using Crystal Reports 9 on Windows Vista

    Post Author: albe
    CA Forum: General
    When attempting to deploy a Visual Basic 6.0 Report Designer Component (RDC) application using Crystal Reports 9 on Windows Vista systems, the application fails after the first print or preview (that show normally) and an error occurred: -2147417848 Method '' of object '' failed.
    The app use the RDC and Active Data; I verify that the problem is encountered when the app calls the 'SetDataSource' method.
    I tried everything that came in my mind: reinstalling it a few times, with administrator priviledges, disabling uac, manually registering dlls, ...
    I hope that this will be fixed, since Crystal Report 9 is the last CR version compatible with windows 98.
    thanks in advance,
    Alberto

    Hello,
    This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
    Try downloading the only patches available from:
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
    Thank you
    Don

  • 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

  • "Invalid export DLL or export format" with Crystal Reports 2008

    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. Note the system must be restarted after editing the path variable.
    - This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    - libpng10.dll has changed versions from SP0 to SP1. In SP0 it was 1.0.30.0 and in SP1 it is 1.0.30.1
    libpng10.dll dependencies
    The dependencies have also been updated for libpng10.dll in service pack 1. This may have something to do with the export issue. If you've deployed your application with the latest merge modules or setup package for service pack 1 you'll want to make sure you have version 1.0.30.1 of libpng10.dll.
    Version 1.0.30.0
    - zlib.dll
    - msvcr71.dll
    - kernel32.dll
    Version 1.0.30.1
    - boezlib.dll
    - msvcr80.dll
    - kernel32.dll
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.
    Edited by: David Hilton on Jan 14, 2009 10:07 AM

    Our company has also been experiencing this issue with deployed versions of our software, and during my examination of the error I have made the following discoveries:
    For us the error has only been reproduced on Windows 2003 running Citrix
    The error does not occur on Windows XP, Windows 2003 or Vista without Citrix
    For installation of our application we use the CRRuntime_12_0.msm merge module (version 12.0.0.683, file size 46790KB)
    As mentioned in the first post this error is related to the files crxf_rtf.dll and cfxf_xls.dll being unable to locate its reference to the file libpng10.dll during load.
    I have run the application with ProcMon (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) attached on both environments that work correctly and that does not work and iIve made these observations:
    During load of dlls Windows searches for references in the following orders (see http://msdn.microsoft.com/en-us/library/ms682586.aspx):
    1. The directory from which the application loaded.
    2. The system directory.
    3. The 16-bit system directory.
    4. The Windows directory.
    5. The current directory.
    6. The directories that are listed in the PATH environment variable.
    Looking at the ProcMon log for the environment where it works correctly (Windows XP, no Citrix) it looks like this . Numbers represent the search order mentioned above:
    Load Image     C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll     SUCCESS     Image Base: 0x3e640000, Image Size: 0x79000
    (1) QueryOpen     C:\Program Files\<our application name>\libpng10.dll     NAME NOT FOUND     
    (2) QueryOpen     C:\WINDOWS\system32\libpng10.dll     NAME NOT FOUND     
    (3) QueryOpen     C:\WINDOWS\system\libpng10.dll     NAME NOT FOUND
    (4) QueryOpen     C:\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (5) QueryOpen     C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\libpng10.dll     SUCCESS      ...
    So you can see it finds the file in the "current directory"
    Now, from the environment where it does not work (Windows 2003 Server / Citrix):
    Load Image     X:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crxf_rtf.dll     SUCCESS     Image Base: 0x3e640000, Image Size: 0x79000
    (1) QueryOpen     X:\Program Files\<our application name>\libpng10.dll     NAME NOT FOUND     
    (2) QueryOpen     X:\WINDOWS\system32\libpng10.dll     NAME NOT FOUND     
    (3) QueryOpen     X:\WINDOWS\system\libpng10.dll     NAME NOT FOUND     
    (4) QueryOpen     X:\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (5) QueryOpen     X:\Documents and Settings\<my user name>\WINDOWS\libpng10.dll     NAME NOT FOUND     
    (6) QueryOpen     ... loops trough all paths in the PATH variable, finding nothing
    As you can see somehow the current directory is %USERPROFILE%\WINDOWS and not the Crystal Reports bin path in this environment at the time of loading the dll.
    I have yet to discover why this is the case, but i tought i could share what I have found =)
    The %USERPROFILE%\WINDOWS folder is not a standard Windows folder, and I think it is used by Citrix for some files (like win.ini)
    This also shows why adding the bin folder to the PATH variable is a valid workaround for some, but for us this is not really a good solution as we need this to work out of our installer. We don't always have consultants do the installations for the customers and we cannot expect them to manually edit the PATH variable, and we don't want to add to the PATH variable in the installer unless this is the only way...
    So, I hope this maybe can bring you closer to being able to reproduce it. I'm still looking into it, will post more if I find something else interesting

  • 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

  • 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

  • Java Plugin Viewer with Crystal Reports 2008

    Hello,
    I am trying to use the Java Plugin Viewer with Crystal Reports, but I have some problems. The ActiveX Viewer works well, but as I want to use the reports in other browsers, I need the Java viewer.
    I have a Visual Basic 6 application, and, instead of including SmartViewerActiveX.asp, I have included JavaPluginViewer.asp. I have taken this file from an older version of Crystal, and I am changing the values on it (I have done the same with the ActiveX Viewer, without problems). This is the main code of the file:
    <OBJECT
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        width="100%"
        height="100%"
        codebase="/crystalreportviewers11/JavaPlugin/Win32/j2re-1_4_2_04-windows-i586-p.exe#Version=1,4,0,0">
        <param name=type value="application/x-java-applet;version=1.4">
        <param name=code value="com.crystaldecisions.ReportViewer.ReportViewer">
        <param name=codebase value="/crystalreportviewers11/JavaViewer/">
        <param name=archive value="ReportViewer.jar">
        <param name=Language value="en_US">
        <param name=ReportName value="RDCrptserver11.asp">
        <param name=CanDrillDown value="true">
        <param name=HasExportButton value="true">
        <param name=HasGroupTree value="true">
        <param name=ShowGroupTree value="true">
        <param name=HasPrintButton value="true">
        <param name=HasRefreshButton value="true">
        <param name=HasTextSearchControls value="true">
        <param name=HasZoomControl value="true">
        <param name=HasSearchExpert value="false">
        <param name=HasSelectExpert value="false">
        <param name=ShowLogo value="false">
    </OBJECT>
    I know how to change all the values of this object so it works with Crystal2008 except one: the codebase.
    I have gone to IIS, and under the virtual folder "crystalreportviewers12" I don't see any JavaPlugin folder, there's only the JavaViewer folder, and there isn't any .exe inside...
    So, where can I find the .exe for the codebase?
    I have tried searching the web for a tutorial or something, but I haven't seen anything for Crystal 2008.
    Can anyone help me?
    Thank you very much!

    This is so wrong, I don't even know which forum this would belong to ( I think I'll move it to the SAP Crystal Reports, version for Eclipse topic Space...
    Let's start with this:
    I have taken this file from an older version of Crystal,
    Don't mix versions. It will not work. Period
    Next re:
    I don't see any JavaPlugin folder,
    If you want a Java solution, I'd recommend using CR for Eclipse which you can download from here:
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    I would then recommend having a peek here:
    CRJ SDK
    Developer Help File is here:
    https://help.sap.com/javadocs/cr/xi/jrc/en/overview-summary.html
    Finally, I'm not sure what references you are making in your VB 6 app, but there is no SDK in CR 2008 that supports VB 6.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

Maybe you are looking for

  • How I copied all my Outlook Express data to my new Black MacBook

    Hi there! I just made the jump to the "Apple side" buying a shiny new Black Macbook, and having already got a lot of usefull information from this forum, I just wanted to give my little contribution... Here follows how I managed to copy ALL my Micros

  • Looking for a awesome wm theme

    I saw a dark blue glossy theme for awesome wm somewhere, but unfortunatly i dont really remember it where !!!! I searched it on arch forum but with no luck. do anybody have any idea or tha theme ?! thank you ..

  • Macbook Pro 2.3GHz Ret. Display - Display calibration assistant always results in very dark display! Has anyone seen this? Don't know what else to do...

    I do a lot of photography and tried calibrating my monitor using the calibration assitant built into Macbook Pro. No matter how many time and how I do this the monitor turns out very dark after calibration - ridiculously so - to a point that I just g

  • ACR and Elements help pls

    moved from photoshop forum jenny waller Jan 27, 2015 8:09 AM , i have been trying for years to install acr 6.7 and no luck.  mac 10.0.4  pse ver 10.   i have downloaded acr 6.7 (says installed successful)  shows up in my download files.   then  click

  • DW 8 Crashes

    When ever I pull down the help menu DW8 just shuts down, disappears and the send crash report pops up. I can not access the help files from with in DW. I get a crash occasionally with out that but I can make it crash EVERYtime. It worked at one time