ReportDocument is the built-in class of package CrystalDecision.CrystalReports.Engine, Please see affixed image
I want to bring parameter from Crystal Report and also set those parameters, but i can not done this work due to "ReportDocument" crash at run time in .Net 5 and also check in .Net Standard but it does not work on both. FYI, it is working same code on .Net FrameWork 4.7. can any one suggest me what can i do?
This code is break on line # 02 (at the time of create object of Report) with this exception Message.
Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'. The system cannot find the file specified.
In .Net 5 or .Net standard have not available this package version 10.5.3700.0. but it has updated version 13.... FYI, it is not compatible with .Net 5 or .Net Standard.
I want to bring parameter from Crystal Report and also set those parameters, but i can not done this work due to "ReportDocument" crash at run time in .Net 5 and also check in .Net Standard but it does not work on both. FYI, it is working same code on .Net FrameWork 4.7. can any one suggest me what can i do?
Create object of ReportDocument:
string filepath="...\\A_Report.rpt";//please keep file address where is in your local Drive.
ReportDocument Report = new ReportDocument();
Report.Load(filepath);
This code is break on line # 02 (at the time of create object of Report) with this exception Message.
Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'. The system cannot find the file specified.
In .Net 5 or .Net standard have not available this package version 10.5.3700.0. but it has updated version 13.... FYI, it is not compatible with .Net 5 or .Net Standard.
Last edited: