Deployment Issues - .NET 2005 and Crystal Reports 11 compatability with Crystal_Managed2003.msm

Posted on 2006-03-29
Last Modified: 2012-05-05
I have an application control that I just upgraded to .NET 2005 (from 2003).  The application uses the Crystal Report Viewer control and references the following dlls...:

 * crystaldecisions.crystalreports.engine.dll (version 10.2.3600.0)
 * (version 10.2.3600.0) access reports created in Crystal Reports 11.  

I am using InstallShield 11.5 for distribution (but I've also tried with the msi deployment project tool provided with VS.NET).  To make sure all the referenced dlls get loaded properly, I'm installing with the Crystal_Managed2003.msm merge module.  However, I noticed that the merge module uses versions 9.1.9800.0  for both the aforementioned dlls - a lower version that what .NET 2005 uses.  

When building my install, InstallShield warns me that it cannot find the above dlls for my application.  And sure enough, after running the install on my test machine, I get an exception concerning one of the dlls when I run my application:
System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
(note the version it is looking for)

Everything works fine on my development machine (of course).

Is there another merge module or something else out there that I can use so that the correct version of the dlls (and their dependencies) are successfully installed on the target machine?

This used to work when I was using .NET 2003.  I'm guessing it used to work in VS .NET 2003 because the provided dlls used version 9.1.5000.0 - which is lower than the merge module.

Question by:Cincinnatus
    LVL 21

    Accepted Solution

    you can try some updates on this page:

    I had a similar problem when was conveting my program from VS2002 to VS2003.

    good luck,

    Author Comment

    Thanks Yurich.

    That was exactly what I was looking for.  The merge module I downloaded (CrystalReportsRedist2005_x86.msm) contained the updated dlls for 2005 .NET

    I still seem to be getting the same type error message, however.  But I must be doing something wrong in InstallShield.  I'll post a follow up question if I can't figure it out.

    Thanks again.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now