When deploying a project to a internal test server I got the following error:
The definition of the report ‘Main Report’ is invalid.
An unexpected error occurred in Report Processing.
Could not load file or assembly ‘Microsoft.ReportViewer.ProcessingObjectModel, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
Fix this by adding a reference to ProcessingObjecdtModel.dll in you project. You can find the ProcessingObjecdtModel.dll in the GAC. The problem with the GAC is that you can’t copy the .dll from the GAC using Windows Explorer. But you can copy the DLL with Command Prompt (cmd.exe).
To do this:
Run -> cmd.exe
cd C:WindowsassemblyGAC_MSILMicrosoft.ReportViewer.ProcessingObjectModel 18.104.22.168__b03f5f7f11d50a3a
copy Microsoft.ReportViewer.ProcessingObjectModel.dll c:locationFolder
This action will look like this:
Copy the Microsoft.ReportViewer.ProcessingObjectModel.dll to your Bin folder or at a reference to the assembly.
Hope it helps,