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.


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 thoughts 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.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>