Crystal 11 in VB6 - Distributing runtimes....

Post Author: Tonst
CA Forum: Deployment
Using Crystal Developer Edition 11.0 SP4 (I think, about screen shows 11.0.0.2495)Using VB6, have crviewer.dll and craxdrt.dll referenced in my project. Using the CrystalActiveXReportViewer control on one of my forms. And am defineing objects of types:CRAXDRT.ApplicationCRAXDRT.ReportCRAXDRT.SectionsCRAXDRT.SectionCRAXDRT.ReportI can create a redistributable msi with the merge modules provided on the website (Licence/Runtime/Engine) but this totals 50mb!!!!!! When I was working with Crystal 6.5 (doing the same thing though the 6.5 OCX) that was a fraction of the size.I tried manually registering:atl.dllcraxdrt.dllcrviewer.dllcslubu-2-0-0.dllusp.dllBut got as far as getting an "Invalid TLV Record" error when trying to run my app.Whats the slimline solution, my apps setup program is currently 40mb, I don't want to double it for Crystal which is a very minor part of the app!!!!!!

Post Author: ejthunder
CA Forum: Deployment
Hello,
Crystal no longer support building deployment packages manually with the package and deployment wizard. The package and deployment wizard does not support using merge modules.  In order to deploy the RDC runtime files you will need to use the RDC merge modules that you can download from the Crystal website.  We have a kbase article discussing our runtime deployment support.  You can find it at this link:
<http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017252&sliceId=&dialogID=360384&stateId=1%200%20356275>  This link may break if it word wraps.
These documents were written for CR XI (v11.0), but apply to CR XI R2 (v11.5) as well.
In order to use the merge modules you will have to use a packaging software that supports merge modules - like the Visual Studios Installer, InstallShield, or Wise Installer.  Licensed owners of VB6 are entitled to download the Visual Studios Installer from Microsoft for free.
There are documents that will help you walk through how to build a simple setup package using the VS Installer.  You can find it at this link on their website:
http://support.businessobjects.com/communityCS/TechnicalPapers/rdcXI_deployment.pdf.asp
You can download the merge modules from these links:
For CR XI - http://support.businessobjects.com/downloads/runtime.asp#05
For CR XI R2 - http://support.businessobjects.com/downloads/runtime.asp#06.
if you use the free VS Installer please note that this tool does not support adding the CR XI/XI R2 keycode to the license.msm.  In order to add the keycode to the license.msm file you will need to download the ORCA tool in order "open" the merge module and enter the keycode.  This is discussed in the RDC XI Deployment PDF.
The merge modules are a "one size fits all" solution, but they work.
I hope this helps.
EJ

Similar Messages

  • CREATE a crystal report (rpt) at RUNTIME programmatically

    Hi,
    I want to CREATE a crystal report (rpt) at RUNTIME programmatically, using only the code C#. 
    1- Is this possible?
    2- What's the best way to do this?
    Can some one help me please?

    1- Is this possible?
    Yes.
    2- What's the best way to do this?
    Using Crystal Reports InProc RAS .NET SDK.
    Here is the complete sample code.
    http://search.sap.com/notes?id=0001300982&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031333030393832
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Is Crystal Report for VS2010 runtime redistributable package required?

    Is Crystal Report for VS2010 runtime redistributable package required when develop reports using WPF window/XBAP technology?
    Is it required to install this runtime package (.MSI/.MSM) into the client machine?
    If .msm is to be used, then how to setup and deploye msm package into VS2010?
    Environment:
    VS 2010
    CR for VS2010
    Please reply friendz.
    Thanks & Regards,
    Mani G.S.

    Hello Mani
    Yes, the runtime is required on all computers that the app will run on. See the wiki [Deploying Crystal Reports for Visual Studio 2010 runtime|http://wiki.sdn.sap.com/wiki/x/ZwdeDw]. Also, consult your CRVS2010 developer help file:
    http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Correct procedure Crystal Reports for VS & runtime setup?

    Hi,
    I'm using Visual Studio 2012 on a Win 7 64bit and installed the install executable Support Pack 9 (v13.0.9.1312).  The reporting in Visual Studio works fine (although I have to use the Visual Studio Development Server instead of the Local IIS Web server).
    I'v created a setup package of the web application (using Installshield Lite in Visual Studio) and installed the project on a Windows Server 2008 64bit.  The msi 64bit runtime files are installed on this server, however I keep getting the "typical" (missing references) errors on crystal reports.
    Example: Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc'.
    But, this file in the bin folder of my project.  The web.config has an entry referencing it.  I can see this one under c:\windows\assemblies too, ...
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" /></assemblies>
    I deleted the "SAP Crystal Reports runtime engine for .NET framework" from the add/remove programs section in Windows (several times) and reinstalled it, without succes.
    I even deleted it from the development machine, installed the exe (for visual studio) again.  Created a new web application (with reports).  Installed the distributables on the server, installed the project again,.... same problem.
    Any help would be appreciated.  Maybe there are still references to old files, but really can't seem to find them.

    Hi Marco,
    What is the target platform of the app on dev box? ie X86 or X64?
    If its X86 install 32 bit CR MSI else 64 bit. Do not keep it ANYCPU.
    Also, as its a web app, you could use VS Publish option to deploy it.
    Make sure that IIS is enabled for 32 or 64 bit mode as per your app.
    If your app runs on 32 bit, set the IIS App pool property 'Enable 32 bit apps' to true. Set it false for 64 bit.
    Do not keep the DLLs in the bin folder. Remove all the DLls from bin folder and let the app pick them from GAC.
    For more info take a look at the 'Deployment' Section in CR for VS .NET SDK developer guide
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Crystal Report CRViewer and runtime installation

    Post Author: maurizio
    CA Forum: Crystal Reports
    Hello everybody,
    We  use Crystal Report 9 Developer English. 
    We developed a Visual Basic 6 application under a Windows 2003 server computer using the crviewer object integrated into visual basic code.
    We need to install the run time version of the application in Windows NT 4 sp6a  computers.
    We created an installation kit by the InstallShield of Visual Studio 6.
    We can install the kit in the Windows Nt computers, but when we run the application it crashs when we try to produce a report. It looks like the runtime dll of Crystal Report 9 have not been correctly installed by the installation kit or are missing.
    What dll we need to install more? How to install them? How to include them into the kit?  Do u have a general  installer of the runtime dll for Crystal Report 9?
    It is possible to install all the Crystal Report 9 dll manually and where to copy ?
    Please give us an help because our work it is stopped now since a week. We didnu2019t find any solution.
    The best solution for us should be to have a dedicated installation kit for crystal report runtime dll.
    Thanks a lot
    Maurizio Carnesecchi

    Post Author: AndersG
    CA Forum: Crystal Reports
    FWIW, we use InstallShield12 to build an installer for our app built in C++ and with CR9. That method has worked fairly well. I must admit that I have not tested on NT4 in a long time though and I doubt that anyone from BO will help you since there is no help to be had from MS in this case.

  • Crystal reports 8.5 runtime directories search order

    Hi,
    We are deploying an application based on run-time crystal reports 8.5 SP3.
    We connect to SqlServer via ODBC, using C++ API CRPE.H.
    The runtime includes CRPE32. DLL + P2SODBC.DLL + Microsoft MDAC last version
    Everything works fine, but we isolated a problem on a specific CITRIX server:
    WINDOWS\CRYSTAL contains an old version of P2SODBC.DLL (version 4.6.1.106).
    In our application directory the DLL version is 8.6.2.227.
    We noticed that whatever system registery settings, CRPE32. DLL loads WINDOWS\CRYSTAL\P2SODBC.DLL instead of ours. (and before WINDOWS\SYSTEM32)
    The best practice would be to remove that old DLL in WINDOWS\CRYSTAL  but numerous applications on this server -could ?- be impacted.
    Is there a workaround to force the runtime to load its DLLs from a specific place (best would be the directory from which the application loaded)?
    Or, can we safely replace that old DLL with the new one without impact to other applications ?
    It has taken weeks to isolate the source of our problem.
    So, Thank you for your help !

    That's right, crpe32 did have \windows\crystal hard coded in it's source to look for specific dependencies, it's been a while since I've support crpe32 applications. No way to get around that.
    If there are other versions of crpe32 on the PC, I know some developers just copied all of our runtime into the \system32 folder which made their stuff work but became a nightmare for anyone else trying to deploy. They just got lazy and took the easy way out. If that' s the case you won't be able to get your app working no matter what. You can get the specific version of crpe32 being loaded and if it doesn't match your runtime the throw up a message box indicating some other application needs to be closed that uses Crystal before proceding.
    One possible way may be to test if crpe32 is loaded into memory, since Windows will share it, but if not you may be able to alter the PC's PATH statement and/or rename \windows\crystal folder while your app is running, just make sure to name it back when your app closes. And incase of a crash before it can be renamed back always check if it's exists. Kind of a hack but if you have no choice then it's one way.
    This was always an issue for our OEM Partners also, Various users would install multiple CR runtime applications on the same PC only to find the same problem you ran into. As long as everyone follows the rule 99% of the time they'll play to gether.
    Only other solution is to install your app on a VM-ware image or a separate PC.
    Thanks again
    Don

  • Crystal Reports 2008 (v12) Runtime on X64

    I have been having some serious problems trying to view reports on my Vista x64 machine with CR2008 SP0. I have done an insane amount of testing with no good results.
    The error is the typical one that says you either have the wrong key code or the wrong runtime.
    At the request of an engineer on CR2008, I am posting my test procedure with results each step of the way.
    This is a new computer that had no previous versions of anything on it. Vista x64 Ultimate with SP1, VS2008 SP1. That's it.
    Uninstall CRBasic SP1
    Uninstall CRBasic
    Uninstall CRBasic x64 runtime
    Install CR2008 SP0 (options: English only, typical installation)  (remember DEP is permanently off)
    Results
      - As before, designer is now working inside VS2008
    - Cannot view reports in debug mode or at runtime. Same error as always  - reg key permissions or incorrect runtime
    Install Runtime (CRRuntime_12_0_mlb)
    (Note, I never know what to put into the product id prompt. I just stick the keycode in there. But I donu2019t want to give my keycode out to my clients. I need to have them install the runtime so they can run this new version of my reports. What do I do?)
    *Results
    - I still cannot view reports. This is really aggravating. This is on the development machine where CR2008 is installed. I shouldnu2019t even need an additional runtime should I? Is this an x64 problem? I thought SP0 made that go away.  Is it really the keycode? I used my keycode to install CR2008. Is there something in the registry I should be checking?
    Install Fix Pack 1
    *Results
    -no change in debug or from the compiled app
    Install Fix Pack 2 (there is no info anywhere about this FP. Is it cumulative (including FP1)?
    *Results
    -no change in debug or from the compiled app
    Reinstall runtime just in case
    I see the whole thing is going into program files (x86).
    Looked on website and saw a NEW runtime was uploaded 3 days ago.
    Uninstalled prev. runtime.
    Installed latest runtime
    *Results
    -no change
    Rebooted (there are no prompts suggesting this)
    *results
    -No change

    I would like to know if, in fact a 64 bit .NET  app can or cannot use the Crystal 2008 runtime (developer) to view reports.
    No. You can not use CR 2008 runtime in 64 bit apps. CR 2008 only has 32 bit runtime...
    CRRuntime_12_3_mlb.msi is what I use under 32bit. (works great) Is there something compatible if I compile as 64bit?
    See the document SAP Crystal Reports, developer version for Microsoft Visual Studio Updates & Runtime Downloads. Note that version 13 is only for VS2010 / 2012...
    BTW.; you are on Service Pack 3. I'd recommend updating to SP 5 (see above link).
    BTW 2; re. spending 1/2 a day on the phone with SAP... did you get a case number?
    BTW #3; the best place to post queries re. CR in .NET apps is the SAP Crystal Reports, version for Visual Studio SCN Space.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Crystal Reports 2008 - CR Runtime 12 issue

    We are developing our applications using VS 2008 and I also install the Crystal Reports 2008 developer edition. My project references all DLL's from Crystal Reports 2008 runtime (BusinessObjects\Common\4.0\Managed\dotnet2) to display CR reports in our GUI.
    However, I run into following problems when we walk through the assembly dependencies (our code traverse the dependency tree):
    - The dependency on BusinessObjects.Enterprise.Sdk, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 cannot be found, which is referenced by CrystalDecisions.Enterprise.Framework
    - Some dll are reported to be using .NET 1.1 runtime (e.g. "BusinessObjects.Licensing.KeycodeDecoder.dll v1.1.4322").
    Where could I find the missing dependencies?
    We are targeting customer installing on .NET 2.0 framework. How could we get around those v1.1.4322 dependencies (through I believe that the Crystal Reports Runtime 12 might install those into our clients)
    Thanks
    Sai-Kit

    First, I never DIRECTLY reference those .NET 1.1 DLL's in my project.
    - understood and expected
    The CrystalDecisions.CrystalReports.Engine.dll however will try to load them as dependencies when my application is run. There is no way not to referencing CrystalDecisions.CrystalReports.Engine.dll.
    - no the CrystalDecisions.CrystalReports.Engine.dll ; will not try to load those assemblies. You can remove those assemblies from GAC. Your app will work just fine. I recommend you try this once you have removed the assemblies from your project..
    We need to deploy the application to our customer. If they only install .NET 2.0, they will ask why .NET 1.1 dll are installed into their computer (of course, as part of CR 12 runtime instead of our application). Also, why CR 10.5 is .NET 1.1 clean and CR 12 goes back to .NET 1.1??? My customer will have that concern after their upgrade.
    - As I mentioned twice now. The CR runtime (msm and / or msi files) do not install those assemblies. So your customer will not even get them installed. I recommend you try the install on a clean computer to see what actually gets installed.
    Ludek

  • Distributing runtime client/server forms?

    I know C/S forms is not supported any more, but C/S forms runtime doesn't require a client license and that is still an advantage.
    I want to know if there is some way to create an installation package, that could be distributed to customers and included the forms/reports runtime along the application forms/reports executables, so the customers don't have to buy a forms license.
    Thanks in advance.

    Thanks Damisetty,
    How have you handled when installing in different versions of Windows, i.e. if you prepare the installation on Windows 2000 does it work for installing on Windows XP or the other way around?
    Besides the technical issue, there is the licensing issue, have you used this method for customers that just buy the DB, without forms?
    Could any of the Oracle folks throw some light on the subject?
    Regards.

  • Crystal Reports 2008 x64 Runtime

    When running a Crystal Reports 2008 and Visual Studio .NET 2008 windows application on a 64 bit Windows Server 2008 the following error message appears : "An error has occoured while attempting to load the Crystal Reports Runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containg the correct version of the Crystal Repors Runtime (x86, x64, or itanium) required."
    I read in the forum that this error message appears because there are no 64 bit dlls for Crystal Reports 2008.
    Well, I've installed either CR2008RedistSetup and CRRedist2008_x64.
    When compiling the application in Visual Studio .NET 2008 I need to use the 32 bit mode or the 64 bit mode.
    How can I do to solve it?

    Only the .NET 2005 (CR 10.2) and .NET 2008 (CR 10.5) bundles are 64 bit. You must compile the app as 32 bit and use the 32 bit CR runtime. Runtime file links are here;
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
    More information re. 32 bit and 64 bit versions of Crystal Reports is in [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek

  • Using Win2000 Group Policies to distribute runtime engine

    I have a Win2000 domain and would like to distribute the 7.1 runtime engine using Group Policies for a group of computers in the domain. I created the policy called LVRuntime and tried to add the 7.1 runtime MSI file to the policy under ComputerConfiguration\SoftwareSettings\SoftwareIns​tallation however I get the error message:
    "Add Operation Failed. Unable to extract the deployment information from the package. Run validation on the package to ensure the package is correct."
    MS has an article on this if the package is already installed on the system or if you are using a GPO of a different version, but neither are the case. I am creating the policy right on the Domain Controller just as I have many other policies like it.

    Hi Jordan,
    The MSI deployment through group policies is not supported for LabVIEW RTE. Although MSI is used as the outer layer, we use our own technology inside.
    Regards,
    Ankita A.
    National Instruments

  • How can I get the View Tab name on the Crystal Report Viewer at runtime?

    When a report is displayed in the Windows Forms Crystal Report Viewer and the user drills into the report, the drill down view is displayed in a seperate view and is identified via a View tab at the top of the report.  I can determine the index of the view tab that is currently selected, but I need to access the text that is on the View tab.  The only properties that I've found that pertain to the "view" on the Crystal Report viewer are the ActiveViewIndex and the ViewCount.  Unfortunately, neither of these items help me because they are not specific to a certain section of the report.  Has anyone had any luck accessing the View Tab properties ?  Thanks.

    The tabs at the top of the page are nested within some of the viewers controls. Through trial and error you just have to find the right one. In this case the main part of the report is in the first control. This happens to be a TabControl. From there you can loop through the TabPages on the TabControl to grab the names of the tabs.
    Here is a quick example of what I did to get the tab text. All this code was in a button click event.
    Control oControl = crystalReportViewer1.Controls[0];
    TabControl oTabControl = (TabControl)oControl.Controls[0];
    foreach (TabPage oTabPage in oTabControl.TabPages)
         MessageBox.Show(oTabPage.Text);

  • How to store the value of sum of group in Crystal Report at the runtime!

    Hello all,
    I creates a Formula Field that hold the value of Sum of Group in Crystal Report. I would like to know how to store it in a variable and pass it to store procedure. Is it an option in Crystal report to do it. I knew that Crystal Report can cache the report for sharing. My detailed issue as following:
    - Created a Formula Field named TOTAL AMOUNT that calculated the complex expression. This TOTAL AMOUNT is dynamic based on group and variables.
    - I would like to store that value from TOTAL AMOUNT and pass it to the stored procedure parameter IN.
    Any helps are much appreciated. Thanks.

    I doubt that this is possible since it would only calculate this value once the report has data.  This sounds more like a report design question that should be asked over [here|SAP Crystal Reports;

  • How to use CRAXDDRT.DLL in crystal report 2008?

    Hello All,
    We have purchased Crystal report 2008 Full software.
    We need to insert BLOB field into Crystal report 2008 at runtime using *CRAXDDRT.DLL*.
    How can I insert OLE object and bind it at Runtime using crystal report 2008?
    Is it possible to insert Ole Object runtime using crystal report 2008? If yes how and if not is there alternative to perform this job.
    Please let me know your feedback.
    Thanks

    CrxDDrt.dll is only provided in order for the Crystal Reports designer in the .NET IDE.
    1) You are not licensed to use this CraxDDrt.dll
    2) Even if you were, in previous versions of CR, there were licensing implications to using the craxDDrt.dll (read $$)
    3) Once your project would be done, using CR 2008, you would not be able to distribute the runtime as there is no CR MSM or MSI that contains the craxDDrt.dll and it's supporting runtime.
    In your original post you say:
    "I need to show Word and Pdf file in to Crystal report 2008 using CRAXDDRT.DLL";
    I do not understand why you'd need to do this using the craxddrt.dll? You should be able to insert a BLOB field using the RAS SDK for .NET and CR 2008. Now, one hting you will have to keep in mind. If you insert a multipage .doc or .pdf file into the report, you will only get the first page of that document. I suggest you try this in the CR designer first. Always remember that if you can not do a certain thing in the designer, you will not be able to do it at runtime either. Giving all the limitations above, if you are still interested in doing this using RAS, let me know and I'll set you up with some resources to get you going.
    Ludek

  • Crystal XI viewer does not install on XP desktop

    We are upgrading from Crystal 8.5 to Crystal XI (not enterprise server). We need to provide the XI Crystal Viewer to the agency's desktop image lab to push it out to all desktops when our application is rolled out. Following the instructions in SAP Note 1218519, I tried to install the CRViewer on an XP SP2 desktop to test it, but it did not load and it appeared that nothing at all happened. I checked the system32 folder and the old crviewer was still there. I was an admin on the machine, logged in workstation only. The Crystal 8.5 viewer is already loaded on the machine. Is an installation log created somewhere I can look at to diagnose the problem? Is there any potential issue with installing the XI viewer on top of the 8.5 viewer? I tried to uninstall the 8.5 viewer, but that wasn't very successful, as the files still remained in the folders and in the registry. Do you have another suggestion for troubleshooting this problem?
    Thanks

    Hi Rebecca,
    If you are locking the systems down then merge modules won't work either. You need permission to install and register activex controls etc. Right clicking on the inf and choosing install should work also. If the option is not available then it's because the user you are logged in under does not have permission.
    Only option is to check with your build team and IT department and see if Microsoft has a way to distribute runtime files without user interaction. Check MS's site and search on deployment packages. I believe there is an option the IT department can do that when the user logs in it will run install packages, all you need is the cab file, or extract them to build your own. Using the standard MSM files has all the runtime included which is way more than you need.
    Everything you need is in the CAB file.

Maybe you are looking for

  • ALV Page Break when Catagory Changes (ie SO # change)

    I will have an ALV report with a Sale Order # on a header section and line items associated for the header SO#, and when a different SO# occurs it will go to next page and display the next SO# on header section and the item info on the main body.  Is

  • My macbook keeps on crashing. Mac OS X 10.6.8 can someone help?

    This is what pops up after it crashes: Process:         Safari [145] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.1.1 (6534.51.22) Build Info:      WebBrowser-75345122~2 Code Typ

  • ReCAPTCHA works in IE8 but not in Firefox - Graphics missing

    reCAPTCHA works in IE8 but not in Firefox All graphics, the challenge, option boxes, and logo do not appear.

  • Point to Anchor in another tab?

    I can create a link with Point-to-File from the Properties panel, pointing to a local file in the Files list or pointing to an anchor in the current page. But I can't find a way to point to a named anchor in another page (already open in another edit

  • Help! Unable to update Adobe CC applications

    I am an active CC member but I am unable to update certain CC applications through the Creative Cloud desktop application or by using the *Updates* button under *Help* under each application. For some reason, the *Updates* button is always greyed out