Search code examples
c#asp.net-corerdlc

expression (RDLC) is not working in Asp.net Core MVC [8.0] Web App


as i know that microsoft doesn't allow us to use RDLC Reports in web applications in asp.net mvc core... somehow i managed to mirgate reports from .net framework desktop project to core web application and it works fine.

But when i try to add (expressions at he footer of report: it gives me error on runtime):

AspNetCore.Reporting.LocalProcessingException: 'An error occurred during local report processing.;The definition of the report 'wwwroot/Reports/ChartRPT.rdlc' is invalid. An unexpected error occurred in Report Processing. Compiler executable file C:\Windows\Microsoft.NET\Framework64\v8.0.0\vbc.exe cannot be found.'

i tried to show page x of y: expetced it will work, but it gives an error


Solution

  • i just copied vbc.exe from 4.0 to 8.0.0 and it is working fine now