on 06-22-2016 10:55 AM
Hello, all,
I have installed Crystal Reports CRforVS_13_0_17.exe to support Visual Studio 2015.
Application that uses CR tries to do the following
CrystalDecisions.CrystalReports.Engine.ReportDocument document = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
...which produces
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Inner Exception is:
{"An error has occurred while attempting to load the Crystal Reports runtime.\n\nEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.\n\nPlease install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information."}
We have had installations of CR run on Windows 8 and not produce any errors, also the same application succeeds on machine operating Windows 10 that is installed as upgrade of Windows 8.
This situation happens only on 'clean' installations of Windows 10.
Could you, please, help with solving this issue? Any help highly appreciated!
The SDK still has a dependency on the Microsoft C++ 2005 Redistributable, which is no longer installed by default in a "clean" Windows 10 install. You'll need to do a search on MSDN to find this. Then you'll need to do the following:
1. Uninstall the Crystal for .NET runtime.
2. Install the C++2005 files,
3. Reinstall the Crystal for .NET runtime.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Dell,
just to give an update. I have managed to find the possible cause of problems.
My solution was actually loading CR 11.5 dlls, which in fact kept producing the error, even after the steps you gave me regarding missing reproducibles.
I have corrected them to point to CR 13 versions, and now everything is working correctly.
So, thank you for that.
Still, I know have a different question ( if I need to post a new one in discussion space, please, let me know, I will)
Can you explain to me, how that other colleagues, who have been longer in this project, than myself, can manage to work on Windows 10 machines, have CR 13 installed on them, but load CR 11.5 dlls in solution, and manage to produce reports without gettting that error?
The only thing we all concluded as different in setting up our environment is the fact that they started off with Windoes 8 machines, and then later upgraded them to Windows 10.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.