ASP.NET 4.0 – An error occurred during local report processing

After fixing missing ReportViewer redistributable, I got the following error:
Report Viewer Configuration Error The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add to the system.web/httpHandlers section of the web.config file, or add to the system.webServer/handlers section for Internet Information Services 7 or later.

Loading...

An error occurred during local report processing.
The report definition for report 'C:\inetpub\wwwroot\some_path_to_report\tse.rdlc' has not been specified
Could not find file 'C:\inetpub\wwwroot\some_path_to_report\tse.rdlc'.

It turned out that Visual Studio 2010 C# / ASP.NET does not include .rdlc files when publishing application. This can be solved by going to the your_file.rdlc properties, and changing ‘Build Action’ from ‘Embedded Resource’ to ‘Content’.

Here is a screen-shot:

.rdlc Report File Properties

4 replies on “ASP.NET 4.0 – An error occurred during local report processing”

  1. Cierto the visual studio 2010 no copia los archivos rdlc, los copia dentro del bin, ahi encontraran los archivos de reportes; yo lo que hice despues de publicarlos sacarlos de ahi y ponerlos en la carpeta que yo habia direccionado y me funciono, esto por supuesto de darme duro con el web.config haciendole cambios etc, pero lo unico que necesitan es copiar los rdlc y listo funcionara.

Comments are closed.