Open Hitamashi opened 7 years ago
Do you have the correct Crystal Runtimes installed? I think I've seen that error before when the runtimes I had installed were a lower version than what the app was compiled for. I would uninstall the runtime(s) you have installed currently and get then get the latest from SAP.
Thank you. But I have tried both version 13.0.20 and 13.0.21 of the Crystal Runtimes. Nothing works for me. For more info, I have tried the command on Windows 10 and Windows Server 2008 R2.
OK. Pretty sure that's the error I've gotten before when the versions were mismatched.
Try my fork of the project to see if it works for you. https://github.com/mhertzfeld/CrystalReportsNinja
Before you do though make sure to uninstall all crystal reports runtimes you have installed and reinstall 13.0.21.
hi, i encountered exception like this. ninja-20180327160210.log
27-03-2018 16:02:13 Report loaded successfully 27-03-2018 16:02:13 Output Filename : test2.pdf 27-03-2018 16:02:13 Output format : pdf 27-03-2018 16:02:14 Discrete Parameter : PV_FOR_DATE = 2018-03-26 27-03-2018 16:02:16 Exception: Error in File 0151 2244412724{8A3B3C0E-029C-48E8-9949-6EAD2B25DCD9}.rpt: Failed to load database information. 27-03-2018 16:02:16 Inner Exception: System.Runtime.InteropServices.COMException (0x800002CD): Error in File 0151 2244412724{8A3B3C0E-029C-48E8-9949-6EAD2B25DCD9}.rpt: Failed to load database information. at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
by the way, your fork worked for me. ;)
Hello,
I cannot run my command:
It always returns this exception.
I am sure that there is no process open the report. I also checked the permissions (read&write), run as administrator.
I have checked with other reports. The problem is the same.
Try passing a "hardcode" parameter in the source code but it still not work.
Could you please help me with this problem?
Thanks in advance