Error When Deploying Application

Hi,

When I deploy my win app which includes a reportViewer control I get the following message.

Unable to install or run this application. The application requires your system to be updated to Microsoft.ReportViewer.WinForms Version 8.0.0.0.

Any idea what this error means



Answer this question

Error When Deploying Application

  • xoqx

    I have put all 3 .dll files in the folder and that does not work.

    I am using ClickOnce to deploy this application to a UNC path. Does that make a difference


  • lockheed_man

    I'm using a ReportViewer control in an .aspx page using ASP.NET 2.0 in Visual Studio 2005 Beta2.  My report runs fine on my development machine.  But when I deploy it to my hosted website at WebHost4Life, I'm getting something similar to what you guys are getting.

    I'm getting this error:

    Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11 or one of its dependencies. The system cannot find the file specified.

  • johnsonjj22

    Rajeev

    I am having the same problem, but I cannot figure out how to get the file Microsoft.ReportViewer.ProcessingObjectModel.dll out of the GAC so I can move it to the folder where the .EXE is.  Can you help   Thanks.

    Roman

  • Nickle

    I searched my development machine and found these two files:

    Microsoft.ReportViewer.Common.dll
    Microsoft.ReportViewer.WebForms.dll,

    which I then copied to the bin folder of my site at WebHost4Life.
    This seemed to have worked part-way, because now I get this error:

    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    I searched my entire development machine for the file Microsoft.ReportViewer.ProcessingObjectModel.dll, but could not find it anywhere.  Even when I Google it, the only result is this very thread we're all reading. This is a small world! LOL :)

    Any ideas   Many thanks.

  • DRaiko

    The answer to all these problems for me was this simple.

    ( wasn't even using ReportViewer control)

    In project/properties/publishing/application files you will see 2 of the afore-mentioned files as added to the files for copying with publishing status set to:
    include(auto).

    Open the publishing status options and choose just: include to make sure they are copied and this totally solved the problem, just if you've unchecked change version each publishing, you might have to delete the 5 web files added w/publishing to make sure you will get the new stuff.

    Here is an article written on this topic:
    http://www.computer-consulting.com/oneclicknondef.htm
    Good luck,
    Terry Voss

  • Peter Scott

    You can find the assemblies in the GAC. It is sufficient if the assemblies are in the same directory as the .EXE.
  • sldr

    I was able to find 2 of 3 files.

    Microsoft.ReportViewer.Common.dll
    Microsoft.ReportViewer.WinForms.dll

    I was not able to find
    Microsoft.ReportViewer.ProcessingObjectModel.dll

    I searched my entire system. Any idea where this file can be found.


  • imbox

    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!


  • kapilp

    I am getting also:
    You need to update to: Microsoft.ReportViewer.Winforms version 8.0.0.0

    but I do not have a reportviewer control on any form in the application.

    I am using splitter control, webbrowser control, and clickonce technologies.

    Any ideas

  • RayFloyd

    The application is going to be executed via a file share. Can I just put the assemblies in the execution directory of the .exe in the file share or do I have to copy the assemblied to the actual target machine

    Where in the target machine should I copy the assemblies


  • ogjorven

    The ReportViewer control is not part of the .NET Framework. You have to make sure that the machine on which you are deploying has the ReportViewer assemblies installed.

    Unfortunately this is not easy to do in Beta 2. The redistributable MSI for ReportViewer control is not included in Beta 2. We are addressing this issue. When the final product is released we'll include a setup program for the ReportViewer control, and deploying will be as easy as clicking a checkbox in the deploy dialog.

    For Beta 2 the workaround is to manually copy the ReportViewer assemblies to the target machine. The assemblies you need are:

    Microsoft.ReportViewer.WinForms.dll
    Microsoft.ReportViewer.Common.dll
    Microsoft.ReportViewer.ProcessingObjectModel.dll


  • stipe

    Terry, that didn't work for my problem of using a ReportViewer in a webform in local mode at a hosted website. By the way, your previous article, "Visual Studio 2005 Beta2 and Reporting Services - The Most Interesting New Feature for Me", was VERY helpful to me.  Many thanks for that.



  • Error When Deploying Application