RDLC Main Report Error

July 9, 2008 at 7:42 AMRampidByter

Lately I’ve been getting a ton of traffic directed to my log here regarding RDLC main report invalid errors.

To simply put verify that the Microsoft ReportViewer control is installed on the server these reports are being deployed to. Microsoft article on ReportViewer control is located here: http://msdn.microsoft.com/en-us/library/ms251671(VS.80).aspx

You can also download the ReportViewer control for use on the production system from the link below.

http://go.microsoft.com/fwlink/?LinkId=49981

The reason for the ‘invalid main report’ error, that is terribly descriptive huh, is due to the lack of the ReportViewer on the deployed system. This can be caused by the lack of Visual Studios (VS) being installed on the machine, as VS automagically installs the ReportViewer dependencies onto the system, and at that point will make the RDLC reports function.

If I can help anyone with RDLC related questions please email me at rob at coderrob dot com. I would like to see what has brought people looking for this answer, or if there is any additional content I should post regarding RDLC.

Posted in: ASP.Net | SSRS

Tags: