Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel.dll

My VB .Net Windows application using SQL Reporting runs fine on my development machine.  But when I deploy it to a user's machine and try to run a report, I get the message:

Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel.dll

This file is in the GAC on my machine, but not on the deployment machine.  I tried installing SQL Reporting Services on the deployment machine, but that didn't resolve the problem.  Can someone explain how to get a DLL out of the GAC on one machine so it could be copied over to another one   Thanks.


Answer this question

Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel.dll

  • DFive

    I made download of reportviewer but it did not install the DLL Microsoft.ReportViewer.ProcessingObjectModel.dll where I can find this DLL for download


  • rafaelc

    Try with this.
    Right click on your project in "Solution explorer" window.
    select properties
    In "Project Properties" choice the "Publish" tab.
    Click on "Application files" button
    On application files window check if "Publish status" of
    the library "Microsoft.ReportViewer.ProcessingObjectModel.dll"
    is "Include" if not change it.
    Save and publish again.

    Good luck!!


  • Angelvs

    Funny, I had this exact issue when deploying to the my ISP, only instead of an error I just got "Main Report is invalid". 

    Copying from the GAC is not intuitive.  On my box the folder is C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\8.0.0.
    0__b03f5f7f11d50a3a.  You can drill into the assembly folder from the command line (and only the command line) to find this on your machine.

    Good Luck!


  • Vimall

  • Tim1

    ******* Resposta em Portugues ********
    Basicamente, voce tem que copiar o arquivo
    Microsoft.ReportViewer.ProcessingObjectModel.dll para a pasta /bin no servidor. este arquivo e instalado em sua maquina quando voce executa o arquivo reportviewer.exe na pasta C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.ProcessingObjectModel.dll . Voce so conseguira acesso a esta pasta atraves do Prompt do DOS. Depois, copie para uma pasta local em sua maquina e efetue um FTP para a pasta /bin em seu servidor web.

    ******* Answer in English ********
    Basically, you have to copy the Microsoft.ReportViewer.ProcessingObjectModel.dll to /bin folder in the server. This file is installed when you execute the file reportviewer.exe, and it is located in the following folder
  • C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.ProcessingObjectModel.dll . You only will get access to this folder through the Dos Prompt. Then you have to copy it to a local folder and then FTP it to you server in the /bin folder.
    Hope it helps ...


  • stenis

    http://go.microsoft.com/fwlink/ LinkId=49981 - says 404.

    setup.exe created by Visual Studion says the same error, but it worked earlier. Has Microsoft moved this file


  • Simon.kx

    The setup program for ReportViewer redistributable is available here: http://go.microsoft.com/fwlink/ LinkId=49981

  • rsri

    Like John said, open a Command Prompt window, then cd to C:\Windows and then dir /s Microsoft.ReportViewer.ProcessingObjectModel.dll to find the dll.

    We are making this easier. We are adding a setup program for ReportViewer that you can run on the target machine.

  • Knoen

    Thanks, worked like a charm!


  • Sachin Phadke

    After making download of reportviewer.exe it will have to be executed. Now in the command line to type reportviewer.exe /c types the place that will be extraido the archives To open in winzip the archive reportV1.cab Extrair all the archives and renomear Microsft.ReportViewer.Common.dll Microsft.ReportViewer.ProcessingObjectModel.dll Microsft.ReportViewer.WebForms.dll Microsft.ReportViewer.WinForms.dll Copiar for the c:\inetpub\wwwroot\seu folder Project \ Bin Case the error still remains verifies if dlls Luck had been reference in gac Good c:\windows\assembly folder


  • SorinD

    Once you find the file, how do you suggest transfering it to the target machine When / How will we know that the ReportViewer Setup program is ready

    Thanks


  • Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel.dll