on 2019 Dec 11 4:22 PM
I installed the new Crystal Report SP26 today and I get the following error when I run a report impression :
Could not load file or assembly 'CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
It worked with SP25 (but the editor is bugged in Visual Studio 2019).
Please let me know how to fix this.
Request clarification before answering.
Hi Stéphane Mathis,
It looks like in earlier versions also our friends faced similar issues as is mentioned in below,
https://answers.sap.com/questions/319000/sp21-could-not-load-file-or-assembly-crystaldecisi.html
https://answers.sap.com/questions/303438/could-not-load-file-or-assembly-%27crystaldecisionsr.html
I would agree with proposal from Dell, in case its not working out, then you can try with downloading new version of VisualStudio after checking the details mentioned in below,
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
Thanks,
Kaushik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The version numbers for SP26 are 13.0.4000.. Because it no longer requires .NET version 3.5 (which is what "3500" refers to). You'll need to update your application to use the new version numbers by re-importing the references.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've already removed old references to CrystalReports and added the NuGet CrystalReports.Web v13.0.3501 (the latest version) (https://www.nuget.org/packages/CrystalReports.Web/)
Should I replace it with something else ?
I've got installed the 64bit runtime and version for Microsoft Visual Studio v13.0.26.3348.
The latest version in nuget is NOT the latest version that's available. Also, there's a difference between the install/SP version and the assembly versions which may not change from SP to SP unless the minimum version of .NET that it works with changes. It looks like nuget is showing the assembly versions for pre-SP26 and hasn't been updated with the latest, which has only been out a couple of weeks.
-Dell
Go here: https://origin.softwaredownloads.sap.com/public/site/index.html. Product is SAP Crystal Reports, version for Visual Studio, leave the default version and download type and click on "Go". After the list appears, click on the "File Title" column header and select "Sort Descending". You need the "install package" for integration into VS. The various "merge modules" and "runtime" downloads are for use when deploying your application ONLY - do not install any of them on your development computer.
-Dell
That will get me the installation .exe that I already run to install the SP26.
Now in Visual Studio, what nuget (or something else) should I use in my project to be able to use Crystal Reports classes in my code (like ReportClass which is in the CrystalDecisions.CrystalReports.Engine.dll) and get it printing correctly ?
User | Count |
---|---|
24 | |
22 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.