I am trying to convert one of my report developed in Crystal Report into the Telerik Report. I am getting the error "Could not load file or assembly CrystalDecisions.CrystalReports.Engine Version = 10.2.3600.0" although I have it installed in the GAC.
Any ideas why the Reporting conversion tool is not able to load the abbembly present in the GAC.
9 Answers, 1 is accepted
Can you provide the exact version of Crystal you have installed on your machine? Generally 10.2.3600.0 version of Crystal Reports does not require any additional steps but any other version will require binding redirections. For more information check out Converting reports from various versions of CrystalReports KB article.Regards,
the Telerik team
We are trying to convert rpt files on 11.5 version. I have already done the menrioned settings for the assembly binding redirect.
I have attached the screenshot of the error and I would like to once again mention that I have installed the assembly in the GAC for which it is throwing error.
You should have Crystal Reports installed on that machine which takes care of adding necessary assemblies in GAC. If those assemblies were not already in GAC, this means that Crystal is not installed or is corrupted. Run the Telerik Reporting converter on a machine where Crystal is installed instead of copying assemblies and manually adding them to GAC.
All the best,
the Telerik team
To elaborate more on the issue, Crystal Report XI is installed on my machine. It has dlls with version 11.5.x.x. When I was trying to convert one of my crystal report into the Telerik it was giving me the error for not able to load dll with version 10.2.3600.0. I had already done the mentioned assembly binding redirect setting before that. For the converter able to load that dll with version 10.2.3600.0 I manually installed the four dlls mentioned in the conversion article into GAC with the versions 10.2.
Let me know if I am missing anything.
Also, the basic requirement is to convert the Crystal Report XI into the Telerik. It would be great if you could provide me the steps to do that.
All of the required steps are elaborated in the Converting reports from various versions of CrystalReports KB article. If you do not have exactly 10.2.3600.0 version installed you need the binding redirection rules in the configuration file of the Visual Studio you are using. In order to further investigate the problematic behavior we need the devenv.exe.config binding redirects you have specified.
Check out the attached video that shows the required bindings and a test of a Crystal Report conversion.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
The binding redirect will be required in case the version of CrystalReports is different than 10.2.3600.0 as Telerik converter is built against this specific version. For more details check Converting reports from various versions of CrystalReports.
The error message points that the Import Wizard and Visual Studio search for CrystalReports.Engine assembly v10.2.36000.0. Double-check the binding redirects added in the corresponding devenv.exe.config file and the version of the installed on the machine Crystal Reports assemblies.
The assemblies you need are the one listed in the binding redirects in Converting reports from various versions of CrystalReports:
These assemblies must be copied next to the devenv.exe of Visual Studio or they must be available in the machine's GAC. Then you can add binding redirects in the devenv.exe.config targeting the exact assembly version of Crystal Reports assemblies.
After restarting Visual Studio, assemblies will be loaded and recognizable by wizards in Visual Studio.