I’m using VS 2022 with Microsoft RDLC Report Designer 2022 and Microsoft Reporting Services Projects 2022 to generate a pdf report. When I execute the command below, using reportviewer (Rv), the error
“An unhandled exception of type ‘System.ExecutionEngineException’ occurred in Unknown Module.” is hapening.
byte[] bytes = Rv.LocalReport.Render(“Pdf”, null, out mimeType, out encoding,
out extension, out streamids, out warnings);
Does anyone know how to solve this error?
generate an byte array with the report