Crystal Reports ActiveX Design and RT Library

I have developed an application using eDeveloper and the CRACDDRT.DLL using COM Interface.
Hos can I distribute the dll to a customer computer so that when I run my program it will find the registered COM Object

Hello, Motty;
What program and version are you using to create your application?
What version of Crystal Reports Developer are you using?
What references do you have for Crystal Reports in your application? CRAXDRT.dll or CRAXDDRT.dll and the CRViewer.dll?
Does the application run as you expect on your Development system?
Once I am more certain of what you are using, I can direct you to the correct deployent information.
Elaine

Similar Messages

  • Crystal Reports ActiveX Designer Design and Runtime Library 11.0

    Hi to all,
               I want to design the CR at runtime because depending upon the situation the SProcs return 20 or 30 or 40 columns. so am using Crystal Reports ActiveX Designer Design and Runtime Library 11.0 COM component. but i dont know how to write the code for this dll and the same time i want to bind the image also from the SQL database as BLOB. Could any body post sample code.
    Tools am using :
    Asp.Net 2.0, SQL Server 2005, Crystal Report 11.0

    You will likely need them all.
    Here's another [link|https://boc.sdn.sap.com/developer/library] to our Diamond support site which has much more info and sample code.
    Find this section:
    Sample Code
    Download sample code projects to run in your BusinessObjects Enterprise XI 3.0 and Crystal Reports 2008 development environments.
    Title (click to download) Technology Topic
    BusinessObjects Enterprise Java SDK Sample Code  Java Enterprise Administration
    Report Application Server Java SDK Sample Code  Java Crystal Reports
    Viewers Java SDK Sample Code  Java Crystal Reports
    Report Engine Java SDK Sample Code  Java Web Intelligence
    Web Services Java SDK Sample Code  Java Web Services
    Data Access Driver Java Sample Code  Java Data Access
    Crystal Reports .NET SDK Sample Code  .NET Crystal Reports
    Report Application Server .NET SDK Sample Code  .NET Crystal Reports
    Web Services .NET SDK Sample Code .NET Web Services
    Desktop Intelligence COM SDK Sample Code COM Desktop Intelligence
    Thanks again
    Don

  • Crystal Reports ActiveX Designer Design and Runtime Library 11.5

    Hai to all,
                I'm new in crystal report 11.5, my task is desig time i just create a blank report during runtime programaticaly create Fieldobject,Blob object and so on, i came to know this is the right (Crystal Reports ActiveX Designer Design and Runtime Library 11.5) dll but, i dont know how to write the code. Experts please post simple code, i tried this site https://boc.sdn.sap.com/codesamples but there is no code related my task, experts please help me.
    Softwares am using:
    Visual studio 2005, asp.net 2.0, SQL server 2005 and crystal report 11.5
    Edited by: winseelan j on Aug 21, 2008 4:03 PM

    Hello,
    You are using the wrong SDK in this case. You cannot use ADO.NET (crdb_adoplus.dll) with the RDC. It would not recognise it. RDC only supports classic ADO (crdb_oledb.dll). Report Creation APi and the RDC was designed for Visual Basic 6.0.
    To do what you are trying to do you would have to use the Report Application Server (RAS) in .NET to create your reports.
    I recommend starting by creating a simple application with the report created in the Crystal Report designer using ADO.NET(XML) driver and Visual Studio .NET code to pass the dataset at runtime so you are familiar with the code and properties before trying to create the full report in code with RAS.
    You will find more information and samples in the Developer's Library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    The samples are at:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/sampleList.htm
    Look for "VB_Web_Data_DataSets".
    If you create a dataset you want in Visual Studio .NET, you can write it to XML or and XML Schema and use that to create the report.
            'From a dataset, create an XML file to use creating a new report
            'using the full path to the .xml file, include the schema
            dataSet.WriteXml("C:\Temp\myReportData.xml", XmlWriteMode.WriteSchema)
            'Or create a schema to use building a report
            dataSet.WriteXmlSchema("C:\Temp\myReportData.xsd")
    Once you have the report format the way you want it, you can use the Report Application Server Samples from the Developer's Help to give you direction in building your report at runtime:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/sampleList.htm
    Elaine

  • Seagate Crystal Reports ActiveX Designer error '80043ac4'

    Website slows down when users are running reports. Users start getting errors when running any crystal report. After sometime main page itself stops loading and only static html is visible. Following is one of the errors users see:
    Seagate Crystal Reports ActiveX Designer error '80043ac4'
    Invalid directory.
    /opera_mort2/report/AlwaysRequiredSteps.asp, line 54
    Other errors seen on reporting site at that time are
    Active Server pages error 'ASP 0115'
    Unexpected error
    /opera_mort2/report/rpt_level.asp
    A trappable error (C00000005) occurred in an external object. The script cannot continue running.
    authentication and network errors.
    Rebooting the Web Server temporarily fixes the issue however the error recurs again after a day or two. We are seeing this problem in both our PROD and DR server. There was no change done to either of these boxes recently.
    Also at this pint IIS was crashing. Microsoft Support analyzed the crash dumps created from IIS and came up with the following:
    "All the memory dumps captured showed the same DLL that was accessing corrupted memory. This same DLL would also be the one that had originally written to those addresses. The DLL was craxdrt.dll from Crystal Reports 8.0 ActiveX Designer, which was version 8.0.1.0 from 1/28/2000. This DLL should be updated to see if this issue has already been fixed. Other options are to recycle IIS more frequently and move to a new version of Crystal Reports."
    Here is a detailed analysis from Microsoft Support:
    The issue appears to be heap corruption. Normally these are difficult to troubleshoot, however, in this case every memory dump that I looked at had the same component involved.
    start end module name
    42b30000 4307f000 craxdrt (export symbols) craxdrt.dll
    Loaded symbol image file: craxdrt.dll
    Image path: C:\Program Files\Seagate Software\Report Designer Component\craxdrt.dll
    Image name: craxdrt.dll
    Timestamp: Fri Jan 28 15:16:46 2000 (3892235E)
    CheckSum: 0055446A
    ImageSize: 0054F000
    File version: 8.0.0.371
    Product version: 8.0.1.0
    File flags: 22 (Mask 3F) Pre-release Special
    File OS: 40004 NT Win32
    File type: 2.0 Dll
    File date: 00000000.00000000
    Translations: 1009.04b0
    CompanyName: Seagate Software, Inc.
    ProductName: Crystal Reports 8.0 ActiveX Designer.
    InternalName: CRAXDRT
    OriginalFilename: CRAXDRT.DLL
    ProductVersion: 8.0.1.0
    FileVersion: 8.0.0.371
    PrivateBuild: 8.0.0.371
    SpecialBuild: 8.0.0.371
    FileDescription: Crystal Reports ActiveX Designer Runtime Support
    LegalCopyright: Copyright (c) 1991-1999 Seagate Software, Inc. All rights reserved.
    LegalTrademarks: Copyright (c) 1991-1999 Seagate Software, Inc. All rights reserved.
    Comments: Crystal Reports for Visual Basic
    This component is from the year 2000 and needs to be updated. I searched our old cases and found several where old version of this component caused the same heap corruption.
    Please help as this is a production issue. Please let me know if you need any more information.
    thanks and regards
    sudatta soman

    Something must have changed. Were any patches or auto updates done to the OS?
    CR 8.0 has been out of the support cycle for some time now.
    As Microsoft suggested please log in and download the patches for CR 8.0 from:
    https://www.sdn.sap.com/irj/sdn/businessobjects-support
    If that does not resolve the issue the only option will be to schedule sn IIS restart each night.

  • Crystal Reports ActiveX Designer Failed to open document

    Yesterday I created a report in Visual Studio 2008 with about 20 subreports, each subreport containing a single aggregate query (i.e count or sum). I then saved the report file. Hours later when I attempted to reopen the report in Visual Studio I recived the message box "Crystal Reports ActiveX Designer Failed to open document". The report file was completely unusable - it could not be opened for editting.
    Today I repeated the process twice (once ith multiple subreports and once with all aggregate queries combined in a single subreport), only to have the new report files become unusable with the same error message. I am completely shocked at this behaviour from Crystal Reports. I have now spent 10+ hours with no usable report. I realy need a fix for this ASAP!!! Any suggestions would be greatlhy appreciated.

    Hi Jeff,
    Just wanted to confirm you were on SP1.
    I've found that these types of error are usually due to corrupt system files or sometimes even Anti-virus software denying access. If there is no error it's not CR corrupting the file.
    Look in your AV logs to see if it's logging anything.
    Another possibility is with MS pushing out patches they can also cause problems. I've see them change permissions on our dependencies that can cause problems.
    Sorry I can't be specific but without seeing your report or any details you'll have to determine at which step in the report it stops working.
    Can you save any reports now?
    Steps to debug, create a new report with no subreports and save it. Then re-open, if that works then start adding one subreport and then save/open. It may be something related to either the subreports or the number of subreports.
    You could try doing a repair install of VS and SP1.
    Was this working at one time or is this something new, do you have other reports that are similar that have problems?
    You need to debug the report and find out what is causing it to be corrupted. Try adding the 20th subreport and then delete it also.
    Don

  • Error from the seagate Crystal Reports ActiveX Designer

    Hi guys,
    I get the following message when I running a report application based on Web. The Message is as following:
    The Error Message was Error detected by database DLL from Seagate Crystal Reports ActiveX Designer
    Internet Explorer has encountered a problem wiht an add-on and needs to close.
    the following add-on is running when this problem occured
    Add-on Name:   CRview.dll
    Company Name: Crystal Decision, Inc
    Description: Crystal Viewer for ActiveX
    I think the crystal is old version , the IE is version 7
    Thank you very much
    Clara

    OK, an upgrade of Oracle causes Crystal Reports to throw "Error detected by database DLL". It may very well be that version 8 report will not be able to run that version of Oracle. E.g.; version 8 of CR will not run Oracle 10 g for sure...
    Something to look at; can you run the report in the CR 8 designer when connecting to that updated version of Oracle?
    You'll have to locate the platforms.txt file for CR 8 and see what version of Oracle it supported. I do not have a link or even an idea of where that may be as CR 8 has been out of support for soooo long.
    Ludek

  • Using Crystal Reports in a C# com library

    Hi,
    we use CR (with the old RDC activeX) for one of our native C++ applications. Since RDC is no longer supported we try to migrate to CR XI V4.
    We've created a C# com library that hosts the report viewer control and call library functions via IDispatch methods.
    When trying to load a report we get an C++ MalformedURLException
    Testcode:
    ReportDocument rd = new ReportDocument();
    rd.Load(@"test.rpt"); // Throws exception
    I was able to trace back this to a call into xerces-c_2_1_0.dll:
    void XMLURL::parse(const XMLCh* const urlText)
        // Simplify things by checking for the psycho scenarios first
        if (!*urlText)
            ThrowXML(MalformedURLException, XMLExcepts::URL_NoProtocolPresent);
        //  The first thing we will do is to check for a file name, so that
        //  we don't waste time thinking its a URL. If its in the form x:\
        //  or x:/ and x is an ASCII letter, then assume that's the deal.
        if (((*urlText >= chLatin_A) && (*urlText <= chLatin_Z))
        ||  ((*urlText >= chLatin_a) && (*urlText <= chLatin_z)))
            if (*(urlText + 1) == chColon)
                if ((*(urlText + 2) == chForwardSlash)
                ||  (*(urlText + 2) == chBackSlash))
                    ThrowXML(MalformedURLException, XMLExcepts::URL_NoProtocolPresent);
    urlText points to "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\java\CRConfig.xml". This file doesn't exist and is invalid in above context.
    The above sample works fine when using in a standard C# application.
    Any ideas ?
    Gunnar

    Daniel,
    Thank you so much for your answer. It was very helpful. In the end, it didn't work but it helped me figure out what was happening. I use a different form for the reports and I had it coded in the form which report to use. I created a second form for the second crystal and then I used an if statement to choose the form and it worked like a charm.
    Thanks so much again!

  • Crystal Report ActiveX viewer 11 not installing on windows 7 64 bit

    Hi We have a web application which calls Crystal reports. If the Active doesnot exits on the user machine it tries to download it and intall. This works find on Windows XP, Windows 7 32 bit. But on Windows 7 64 bit the activex is not getting installed.
    Any help will be appreciated.

    Crystal Reports 11 is not supported on WIN 7. Update to CR XI R2 (11.5) using the directions here:
    Where did all the Crystal Reports XI R1 and R2 fixes go?
    Then, see this blog:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2010/03/29/crystal-reports-xi-release-2-support-of-w…
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Performace Issue using Crystal Report For enterprise and BEx Queries

    Hi all;
        We are generating the following error stack when trying to build a report on top of a BEX query using Crystal Report for Enterprise :
        |7C4F8ECE44034DB897AD88D6F98B028B3|2011 12 12 17:24:21.277|+0100|>>|E| |crj|20380|  56|ModalContext    | |2|0|0|0|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|-|-|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|Cut2PbOe3UdzgckPBHn8spEab|||||||||com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    java.lang.AssertionError
         at com.businessobjects.foundation.logging.log4j.Log4jLogger.assertTrue(Log4jLogger.java:52)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.newInfoObject(InfoObjects.java:576)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpackHelper(InfoObjects.java:548)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:489)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1484)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.unpackAll(InternalInfoStore.java:910)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:944)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:929)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query_aroundBody24(InternalInfoStore.java:798)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:1)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody20(InfoStore.java:175)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody21$advice(InfoStore.java:42)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:1)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getConnectionObject(OlapCmsSecuredConnectionService.java:125)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getOlapSecuredConnection(OlapCmsSecuredConnectionService.java:191)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getOlapConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:83)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:60)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:193)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:176)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.provideUniverseFromCms(DirectOlapAccessDataProviderBuilder.java:63)
         at com.businessobjects.dsl.services.datasource.impl.AbstractUniverseProvider.provideUniverse(AbstractUniverseProvider.java:41)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateQuerySpecDataProvider(AbstractDataProviderBuilder.java:119)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateDataProvider(AbstractDataProviderBuilder.java:106)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.addDataProvider(AbstractDataProviderBuilder.java:49)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:56)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
         at com.crystaldecisions.reports.dsl.shared.DSLTransientUniverseServiceProvider.createSessionServicesHelper(DSLTransientUniverseServiceProvider.java:72)
         at com.crystaldecisions.reports.dsl.shared.DSLServiceProvider.createSessionServices(DSLServiceProvider.java:428)
         at com.businessobjects.crystalreports.designer.qpintegration.DSLUtilities.getServiceProvider(DSLUtilities.java:279)
         at com.businessobjects.crystalreports.designer.qpintegration.InitializeDSLRunnable.run(InitializeDSLRunnable.java:82)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Here seems to be that a plugin is not loaded : com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    could this affect the performance of Crystal Reports for Enterprise and how could I fix this ?
    Best Regards
    Anis

    Venkat,
    Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
    The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 >  Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
    When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
    K
    Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM

  • Having trouble opening Crystal Report files from a document library

    I am trying to open Crystal Report .rpt files from a document library in either the native, client Crystal Reports software or in Crystal Reports Viewer. When I add the Crystal Report files to a document library and attempt to open them SharePoint displays
    a prompt asking me to save the file locally instead of opening the file. I have done a lot of research online and found several sites discussing similar scenarios, however, I have not been able to get these solutions to work. Here is a short list of sites
    I have referenced for possible solutions:
    http://naadydev.blogspot.com/2013/03/crystal-report-viewer-sharepoint-2010.html?showComment=1383339860122
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/52aabf2d-10dc-424c-bd50-124fc972a9b9/crystal-report-viewer-integration-with-sharepoint-2010?forum=sharepointgeneralprevious
    http://www.codeproject.com/Articles/42731/Crystal-Reports-WebPart-for-SharePoint
    Here are the steps I have done to try to get the .rpt files to open:
    Added the Crystal Report extension .rpt as a MIME type
    Installed the Visual Studio 2012 Crystal Reports Viewer toolbar
    Installed the 64-bit Crystal Reports runtime
    I have also created a solution file based off the Code Project site which partially works, but not quite right. In this project I have created a document library called "Crystal Reports rpt Files" and deployed the solution file to a site. When
    I open the Web Part Maintenance Toolbar I can see the selected .rpt file in the drop-down, but no Crystal Report file is displayed on the page itself.
    I am not sure what I am doing wrong. Does anyone have experience working with Crystal Reports and SharePoint 2013 (or earlier versions) that could lend some advice?
    Thank you,
    Alex

    We are having the exact same issue, has anyone resolved this yet?

  • Crystal Reports Server 2011 and BW 7 as a data source for uploaded reports.

    Hello,
    I am hoping someone can provide me with a clear answer for this.
    Lets assume..
    1. We are running crystal reports server 2011 and BW 7
    2. We want to publish a report in the BI Launch pad so users can view it
    3. Can we create a crystal report in the report designer with the data source as BW 7 then upload it to the reports server and have it run on-demand and Run over night?
    Can anyone shed some light in this area?
    kind regards
    david

    Hi,
    Crystal Reports Server is not supporting the SAP Integration Kit. You will need BusinessObjects Edge or BusinessObjects Enterprise
    regards
    Ingo Hilgefort

  • Crystal Report Activex Viewer Control

    <p>&#160;</p><p>Our users are prompted to download: Crystal Report Activex Viewer Control -- when trying to view reports. Since they do not have Admin rights on their PC, they are unable to install this Activex Control. Is there a setup file available someplace that can deployed to the user&#39;s pc that would intsall the activex control?</p><p>Any help would be appreciated.</p><p> Thanks,</p><p>Anupam</p>

    http://support.businessobjects.com/communitycs/technicalpapers/cr_troubleshooting_activex_viewer.pdf
    says
    bq.
    Manual installation
    To manually install the ActiveX Viewer on the client computer:
    1. Copy the ActiveXViewer.cab file from the server to the client computer, and extract its contents to a temporary folder.
    2. Move the files Crviewer.dll, Crviewer9.dll, Sviewhlp.dll, and Swebrs.dll to the System32 folder. Keep this folder visible.
    3. On the Start menu, click Run. The Run dialog box appears.
    4. In the Open box, type âu20ACu0153regsvr32âu20AC and then drag and drop the Crviewer.dll file icon from the System32 folder onto the Run dialog box.
    5. Click OK.
    6. Repeat steps 3 and 4 for the files Crviewer9.dll, Sviewhlp.dll, and Swebrs.dll.
    But I haven't tried it myself yet. I have so much crystal stuff on my PC. I'm going to set up a virtual PC that has never had crystal and see if it works.

  • I am looking for Crystal reports arleady designed.

    I am looking for Crystal reports already designed.  Does anyone know where I could fine them?

    Navin,
    Thanks for the reply, I have another question you might be able to answer.
    I have a picture field (blob field) on the same line as our Product ID field (regular data field) and i want the report to show the picture that goes with that Product ID. 50% of our products dont have pictures, so when I print the report, it currently prints large empty spaces for the Products that dont have pictures and makes the report quite long and unattractive.
    I have tried to supress the field and also put the field in its own section and use a formula for supressing if the data is blank, but I get the error message that says "Can not use a BLOB field in a formula".
    I need to find a way around this. Can you, or any of your experts help?
    I could send you the report with some data in it if that would help.
    Thanks again!
    JM

  • Crystal Reports XI R2 and Delphi 7.x

    Post Author: Laurent
    CA Forum: Other
    Hi,
    i'm using Delphi 7.x and Crystal Reports XI R2 and VCL for CR XI.The Database is an Oracle 9.x or 10.x acording to our software internal version.
    When i run the application i got an error 100: error loading crpe32.dll.
    I look in the KB and found it is connected to a path issue or missing MFC42.dll.
    I check for the last file, it exist on my machine, i edit the path, setting the CR bin folder first in the list, not helping.
    Any other idea, please?
    BR
    Laurent

    Post Author: Luca Pucci
    CA Forum: Other
    Hi Laurent,
    I've tried the solution you suggest but it seems fix the problem only partially, i still get the 'can't load library' error form time to time, expecially after I've priented many reports from my application (that's strange but that is !).
    Browsing through TCrpe source files I've found that the funcion GetCommonFilesPath in the file UcrpeUtl.pas use a registry key that is not valid if you're using CR11rel2 :
    regKey.OpenKey('SOFTWARE\Business Objects\Suite 11.0\Crystal Reports', False);
    if you change this line in :
    regKey.OpenKey('SOFTWARE\Business Objects\Suite 11.5\Crystal Reports', False);
    recompile and reinstall the package and everything seems to work fine.
    You don't need to have the crpe32.dll in the same folder as your executable anymore, because now your application can retrive the correct common file directory and load the dll from its standard location.
    There are some other registry key that point to version 11.0, they don't seems to be important and I decided not to change them, but eventually you can decide to change them all.
    Best Regards
    Luca.

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

Maybe you are looking for

  • Sharing album artwork with fast user switching and soft links

    We have 4 users, 4 iPods, 4 sets of playlists. Each has their own account. All the music lives on an external drive and each iTunes is set to store its music in the same shared folder. That all works fine. Now we're getting into album artwork, and I

  • Netweaver ABAP 7.01 trial version

    Hi folks, I am new to Netweaver and trying to install Netweaver ABAP 7.01 trail version on my laptop. I have downloaded  SAPNW7.01ABAPTrial.part1.rar AND SAPNW7.01ABAPTrial.part12.rar. As per the instructions trying to extract part1 ra.r file, it is

  • (Solved) Calling a different page using HTML Region as a part of other page

    Hi All, I want to open a page as a part of other page as it is done using frames in HTML. For example : <html> <head> </head> <frameset cols="30%,*"> <frame src="menu.html"> <frame src="content.html"> </frameset> </html> Now I want to use the HTML Re

  • How can I evaluate the count of a query I'd like to execute with a map...

    Hi. I have a problem with a query... I hava created a query which a execute with a Map (I use the executeWithMap(Map) method). The problem is that sometimes this query returns a large resultset. So, I would like to execute an other query (called quer

  • How to update other infotype from source infotype via function module?

    Want in source infotype to call a func.module, which shall update other infotype(s) in background. Have tried out with HR_INFOTYPE_OPERATION, but without success - gives mitchmatch of source it and target it in the internal it buffer tables. How to d