CrystalDecisions.CrystalReports.Engine.ReportDocument threw an exception

pixelview

New member
Joined
Nov 15, 2022
Messages
1
Programming Experience
Beginner
Hi guys, help me fix this please.
This program file was created using Visual Studio 2015, then upgraded my system to windows 11 as well as the Visual Studio to 2019.
When I tried to open this program to VS2019 it throws some errors.

- I already tried to uninstall crystal report and install latest version for VS2019 including runtimes
- Remove old references dll and add the new versions of dll's using NUget

What I'm missing here guys?

Here's the exceptions

System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Source=CrystalDecisions.CrystalReports.Engine
StackTrace:
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at MainUI.ManageStudent..ctor() in D:\PROGRAMMING\BACKUP\VBNET\COMPUTERIZED TEST\MainUI\MainUI\ManageStudent.vb:line 14

Inner Exception 1:
FileLoadException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
 

Latest posts

Back
Top