Apr 052008
 

Microsoft / business objects have changed the way Crystal Reports based applications can be deployed. It used to be complicated enough, now things have changed and apparently the documentation is scarce on the subject. I was sitting in a cafe a couple days ago trying to upgrade the source of one of my apps to visual studio 2008, I realized the crystal reports merge modules were not found anymore and wasn’t able to find any info about this in the documentation… god I hate that, everything should be findable in the docs (either the search function or the content have something to do with it, but somehow msdn docs can be unsettling sometimes). I found the solution to the problem as soon as I got connected to the internet.

It used to be be that you could deploy a Crystal Reports based project using merge modules, the new way to deploy crystal reports under visual studio 2008 is to use a redistributable msi package located under “C:Program FilesMicrosoft SDKsWindowsv6.0ABootstrapperPackagesCrystalReports10_5CRRedist2008_x86.msi”. I haven’t figured out a visual studio UI supported way to deploy this package at the same time as my application, and it looks as if, for now, one needs to deploy crystal reports separately. I will post my solution to this problem when I find out how to do this.
[ad#postsad]

  42 Responses to “Crystal reports in visual studio 2008 – no more merge modules”

  1. Ugh! This explains why I can’t find the merge modules, even though the single merge module is still listed on the features page on the Business Objects web site.

    Anyone have a workaround/solution?

    –David

  2. David,
    As I said you can deploy the package “C:Program FilesMicrosoft SDKsWindowsv6.0ABootstrapperPackagesCrystalReports10_5CRRedist2008_x86.msi” together with your app, I still haven’t found a cleaner way to do this, I haven’t looked much though, keep me posted if you do…

    Gery

  3. So do I need to just install the CRRedist2008_x86.msi on the user PC or do I need to include it as a Merge module on the setup project?
    Thanks

  4. Mose,
    yes, that’s how you would do it if you can’t package it together with your setup project. Installing it will let you view your reports on the target machine.

  5. So what it the purpose of the merge module for CR2008/CR12 available from the now very SAP branded web site – cr120_mm_zip ?

    I’ve downloaded this, included it in my deployment project but when I run it the installer does not install the Crystal .NET assemblies! It creates the following directory on the deployment machine but it’s empty:

    D:Program FilesBusiness ObjectsCommon4.0manageddotnet2

    Using previous merge module this would have contained something.

    Why?????

  6. Hi, just thought I would come back and post an update based on my earlier post.

    There is indeed a Crystal 2008 .NET merge module available from here:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

    If you add this merge module to your installer it will install the necessary Crystal files on the target machine. We have tried this here, deploying onto a completely clean machine and the reports will run.

    So essentially this is no different to the way Crystal merge modules have always worked (except it is now much more difficult to find them on SAP’s website).

    The one difference I did notice is that the following location is empty after running an installer that uses the merge module (before it would have contained the .NET DLLs):
    D:Program FilesBusiness ObjectsCommon4.0manageddotnet2

    This however is of no significance as the files are installed into the GAC which is where your app will look for them at runtime.

    Paul.

  7. Paul

    I visited the web page you mentioned ( https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm)
    and did not find any merge module for Crystal Report Basic 2008. What is the name of the file?

  8. then how to install it…( CR merge module for VS 2008)

    i have biuld apllication with crystal report in VS 2008, and i got an error when i installed in client machine,

    how i solve this problem, i use VS 2008

    the error came from microsoft said, sorry for the bla…bla…
    when i build without CR, its worked, but i have problem now with crystal report….

    can you explain more detail….please heeelp me….

    regard
    illank

  9. Don’t confuse the Crystal Reports 2008 product with the Crystal Reports for Visual Studio 2008 product. They are different.

  10. Hi Gery,

    many thanks,

    It resolved my problem. On my server .Net framework 2.0 is there and on my development server visual studio 2008 is installed so i face the same problem when i deploy my web application on server but after binding with “C:Program FilesMicrosoft SDKsWindowsv6.0ABootstrapperPackagesCrystalReports10_5CRRedist2008_x86.msi” file, my application is working fine for Crystal reports.

    Thanks & Regards
    Amit Pandey

  11. Hi All,

    Here the link to the Merged Module needed in the Visual Studio Setup Package.

    https://smpdl.sap-ag.de/~sapidp/012002523100005986132008E/cr10_net_mm.zip

    Bye

  12. Hello guys, I have found this but I’ve not probed yet:

    I have the professional edition of Visual Studio 2008. After poking around in VS 2008 Setup and Deployment project I found the following:

    1) Right Click on setup project in the solution explorer
    2) Click Properties
    3) There is a button called “Prerequisites” click it
    4) in the list you will find “Crystal Reports Basic for Visual Studio 2008(x86, x64)
    5) Check it off

    After doing that your project will now include the CRRedist Files.

    Please let me know if it worked for you

    When you run the install it will install them and everything works fine.

  13. The only problem with this is it distributes the CR 10.5 engine – not the 11.5 engine 🙁

  14. The link for the 12 engine (CR 2008) merge module is

  15. sorry the link was blocked hope that will be better:
    https://smpdl.sap-ag.de/~sapidp/012002523100009351532008E/cr120_mm.zip

  16. I tryed to include “Crystal Reports Basic for Visual Studio 2008(x86, x64)” in my “Prerequisites” but any time I try to run the setup.exe I get “The following package could not be found: “C:CrystalReports10_5CRRedist2008_x86.msi” grrr . Any ideas ?

  17. Hi,

    So this means we can use the 12.0 engine (cr120_mm.zip) for VS2008 Crystal Report project? I would of thought it would only be compatible with the 10.5 engine.

  18. Oh yeah… and what about the new mm that is available? cr121_mm.zip?

    Should we take that instead?

  19. Yes it works, Thanks,, Couldn’t find any info on this, even got the SP1 for crystal.

  20. Hi,

    The discussion in this blog regarding the deployment of the CR 2008 (Not CR 2008 Basic) with VS 2008 seems to be easy to mange or at least can be deployed successfully.

    I have been struggling for three weeks now to deploy my project with CR 2008 and VS 2008 and no lock. I have installed all the latest service packs and downloaded the latest merge module but unfortunately every time my setup fails with the following error message (“Module C:Program FilesBusiness ObjectsBusinessObjects Enterprise12.0win32_x86CEReportSource.dll failed to register. HRESULT – 2147010895. Contact your support personnel.”).

    Even during my web setup project I’m getting the following warning messages

    WARNING: Unable to find module dependency with signature ‘MFCLOC.74FD3CE6_2A8D_0E9C_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘ATL.Policy.66332652_9C28_58B1_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘OpenMP.Policy.04B9F3B6_9645_7658_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘MFCLOC.Policy.D2730D3F_3C41_5884_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘ATL.97F81AF1_0E47_DC99_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘CRT.Policy.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘MFC.Policy.68B7C6D9_1DF2_54C1_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘MFC.9BAE13A2_E7AF_D6C3_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘CRT.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E’
    WARNING: Unable to find module dependency with signature ‘OpenMP.1E507087_0819_45E0_FF1F_C8B3B9A1E18E’

    Which I couldn’t resolve.

    Please anyone can help.

    Thanks.

  21. My application works fine if i set CR2008 as a prerequisite.
    However since i need the CR to be in spanish and i don’t see how to do it using the prerequisite thing, i had to use merge modules.
    The problem is that they will fail at installation. It says something like
    “error when registering module … CEReportsource.dll HRESULT -2147010895 and then happens the same with many other dll files. Of course the reports won´t work.
    There is a solution and it is to use prerequisite combined with the merge mdodule (and the language merge module), but there has to be other way than including the CR twice in the installation.
    Any ideas?

  22. Solucion puntual, muy buena.
    lo instale y me funciono a la primera.

    gracias,
    GPM

    • I have same problem , load report failed error occured when i create setup and run it.
      I create setup with Crystal Reports Basic for Visual Studio 2008(x86, x64)” in my “Prerequisites”
      Please help me
      tell procedure anyone

  23. Visual Studio 2008 Professional, Crystal Reports Basic 2008

    I have a windows client server application for which I need to deploy the Crystal Reports Basic 2008 (CRRedist2008_x86.msi) runtime.
    Currently have 2 setup projects (Windows Installer) that creates the following msi’s.

    setupClient.msi
    setupServer.msi

    Tried the following to get the existing setup projects to include the CR BASIC 2008 runtime.
    – Prequisites selected ‘Crystal Reports Basic for Visual Studio 2008’
    – included the runtime to the setup projects by right mouse click setup project-> Add -> File

    Still not working. any suggestions

  24. Sami, you need to include the VC++ 9 prerequisites as well.

  25. Yeah, just installing CRRedist2008_x86.msi in the server solved my problem.
    Now i can see the reports.

    Thanks

  26. hi

    I’m trying to deploy an app I designed in VS 2008 with crystal reports. I downloaded and added CRRuntime_12_0.msm to my setup files but after installation I still get an error when I try to generate reports. Anyone know what could be wrong?

  27. Hi, Amit Kumar Pandey
    many thanks,

    It resolved my problem.
    i just browse to following location and copy the msi file and install it on my client pc, its working.
    “C:Program FilesMicrosoft SDKsWindowsv6.0ABootstrapperPackagesCrystalReports10_5CRRedist2008_x86.msi”

    Thanks & Regards
    Asif Hossain Shantu

  28. Visual Studio 2008 Professional, Crystal Reports Basic 2008

    I have a windows client server application for which I need to deploy the Crystal Reports Basic 2008 (CRRedist2008_x86.msi) runtime.

    Tried the following to get the existing setup projects to include the CR BASIC 2008 runtime.

    – Prequisites selected ‘Crystal Reports Basic for Visual Studio 2008′
    – included the runtime to the setup projects by right mouse click setup project-> Add -> File

    Still not working. any suggestions

    Regards
    Jitu

  29. After the SAP purchase of Cystal, I think Microsoft needs to find a new reporting solution to embed in Visual Studio. It needs to be at least as robust as Crystal.

  30. Can anyone tell me the size of the CR 2008 Merge Module once installed in the GAC and what features you have included when installing it (I understand size may vary based on features installed?).

    Our CR 11.2 merge modules are a whopping 81Mb; I’m hoping we get some size relief with the new version.

    Thanks,
    mark

  31. Hi All

    Is there any requirement of Licence to install and use “Crystal Reports Basic for Visual Studio 2008”.

    Regards
    Jitu

  32. Help please!

    I’m a college student.We are developing Payroll System as our feasibility study and as a requirement to graduate on my programming course. I ran visual basic 2008 express edition which crystal report is not included on the packages.

    I have already downloaded the crystal report for visual basic 2008 on the SAP website and successfully installed it on my system my problem is how can i embed it on visual basic 2008.

    Help please!

  33. I agree with Phil… Microsoft should recognize the deficiency of the product being supplied by, and the support being delivered by, SAP for the Crystal product embedded in Visual Studio. I had such good experiences with Crystal tech support for the VS03-embedded version (before BO), and fairly decent (continuing) web support for Crystal under BO ownership. It’s like SAP is penalizing (or even punishing) users of Crystal in VS by having absolutely none of the older links work on their website, and no way to easily search for the same KB stuff that used to be there for us.

    One really does have to wonder what they are thinking (MS and SAP).

  34. i have same issue.
    Usually i can add an item for reporting using Crystal Report template.
    but few weeks back I’m trying to install CR2008 trial and since then I never check my VS.
    But yesterday when I create new application for reporting I found that I cannot add for Crystal Report template.

    i’m trying everything by re-install VS/add-repair it but no luck.

    then I found some information from other forum that I need to run CRRedist2008_x86.msi.
    till here i’m still cannot see CR template when I add new item.

    But after I add new Tab in Toolbox and ‘Choose item…’ i’m able to add CR things. and it work fine.

    hope it help for others.

  35. Hi friends, I have developed a desktop application using VS2008 professional edition with built in CRYSTAL Report. The report works fine with Visual studio IDE. But after i create a setup of my application using Setup and Deployment of Visual Studio and install in the clients computer, when i open the report, the report viewer opens but the actual report doesn’t show up. I have gone through different blogs and read about the CRRedist2008_x86.msi file. So i have also tried

    1) installing it in the server then create the setup of my application-> IT DOESNOT WORK.

    2) installed CRRedist2008_x86.msi file on the client computer and the install my application -> STILL IT DOESNT WORK.

    3) added CRRedist2008_x86.msi file during setup and deployment and installed it in the client computer -> STILL IT DOESNOT WORK.

    In all of these 3 cases, my application only shows the empty Report Viewer whose all the tools are disabled. I doesn’t show the page number, doesn’t show the Total Page No. but shows Zoom factor : 100% in the status bar of the report viewer.

    CAN ANYBODY PLEASE HELP ME OUT. I have been stuck with this for a long time now.

    Thanks in Advance.

  36. amigo tu problema, lo mas probable sea las conexiones de tu reporte, si muestra el crystalreportviewer es que tienes las librerías necesarias para correr crystalreport, en lo personal utilizo DNS del sistema en la pc cliente y me evito muchos problemas, si tu reporte sale en blanco es problemita de tu conexion o consultas

    saludos!!

  37. Thanks very much for posting this – I couldn’t remember where the installer was so this has saved me hours trawling the net 🙂

  38. I have a problem on crystailreport, when i create a report on .net 2008 it’s work properly as i want. But when i create a setup of my project it didnt work properly. I cheeked their is no error in my coading .. so i want to know why it happens..

  39. Somebody knows how i can run CR2011 into VStudio 2008 , I can’t find the references.. maybe cannot run?

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)