none
Unable To Install or Run The Application

    Question

  • Not sure if I'm in the right forum for this but here goes. If this isnt the correct forum, please let me know so I can post in the correct forum.

    After publishing my program on my machine, I then try and install my program on another machine and get the following message:

    System Update Required

    Unable to install or run the application. The application requires that assembly
    Microsoft.ReportViewer.ProcessingObjectModel version 8..0.0.0 be installed on the
    Global Assembly Cache (GAC) first.

    Please contact your system administrator.

    Any ideas? Does something need to be installed on that machine before I can install my program?

    I appreciate the help.



    Wednesday, October 29, 2008 2:47 PM

Answers

  • Just as the error message indicated, an assembly about SQL Server Reporting Service is not installed in the GAC.

    Thanks.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Marked as answer by Figo Fei Wednesday, November 05, 2008 4:06 AM
    Monday, November 03, 2008 8:17 AM

All replies

  • Just as the error message indicated, an assembly about SQL Server Reporting Service is not installed in the GAC.

    Thanks.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Marked as answer by Figo Fei Wednesday, November 05, 2008 4:06 AM
    Monday, November 03, 2008 8:17 AM
  • When you publish you application, you can include the option to copy the DLL (assembly) to the client's computer. Doing this will not require the assembly to be installed in the GAC.  There are 2 places to check for this.

    1.  Expand the references section of your project in the solution explorer.  Click on the reference in question and then look at properties.   Make sure "Copy Local" is set to true.

    2.  Go to the properties of your project and select Publish.  Then press the <Application Files...> button.  Find your reference and then change the publish status to "Include"

    Also, here is another gotcha I ran in to.  If you have added a reference to another application and that application is using the same reference as your current project, that application MUST reference the same version of the reference you are using.   For example, I was referencing MySQL.data in my project.  It was using version 6.9.4.   However, my project also referenced another DLL project that I had created which was using MySQL.data.  However, that application was referencing version 6.9.1.   Once I made sure they were using the same version, my error went away.   By the way, the error message actually mentioned that 6.9.1 was not in the GAC which threw me off cause I was referencing 6.9.4.  Anyway, I now understand the message and know what to look for.  Hopefully, this will save someone the 5 hours it took me to figure it out.


    "MC"

    Wednesday, October 15, 2014 7:17 PM