cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have windows service build on .net framework 4.7.1, that prints crystal reports. Recently, the service was migrated to Crystal runtime 13.0.28 (64 bit) on windows server 2019. The reports are failing with the below error. The report prints fine with 13.0.22 (32 bit) version of the engine on another server (windows server 2016). I did some research in the forum but did not see one with a similar problem.

system.NullReferenceException: Object reference not set to an instance of an object. at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN) at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
0 Likes
View Entire Topic
msundararaja_perumal
Active Contributor
0 Likes

Hello,

Please upgrade the visual Studio re-distributable, it should resolve your issue.

Thanks.