deploy prerequisite program with application - problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rich

    #1

    deploy prerequisite program with application - problem

    Hello,

    I am trying to deploy a VB2005 app which contains a ReportViewer control. I
    have added the Reportviewer control to the prerequisite list by click on
    Prerequisites in the Project/Properties/Publish/Prerequisites and select
    which prerequisite to install. I select Microsoft Visual Studio 2005 Report
    Viewer. I have then also selected "Download prereus.. from vendor site"
    which did not work and also selected "Download prereq... from same locaion as
    my application" which also did not work. Here is the error message I get
    when I try to install the app:

    "unable to install or run the application. The application requires that
    assembly Microsoft.Repor tViewer.Process ingObjectModel Version 8.0.0.0 be
    installed in the Global Assembly Cache (GAC) first."

    The client machine has Framework 2.0 loaded. Is this an administrative
    rights issue - maybe not logged in as administrator? Or do I need to add
    someting else I need to add to the package or an additional prerequisite I
    need to install?

    Thanks,
    Rich


  • Rich

    #2
    RE: deploy prerequisite program with application - problem

    OK. I found the trick. First, I forgot to run ReportViewer.ex e which
    installs the ReportViewer redistributable files. Then in addition to select
    ReportViewer as a prerequisite, I went into the Application files where the
    required files were displayed as prerequisite (auto). I changed that to
    Include for each of the ReportViewer supporting files. Then I was able to
    successfully deploy my app.


    "Rich" wrote:
    Hello,
    >
    I am trying to deploy a VB2005 app which contains a ReportViewer control. I
    have added the Reportviewer control to the prerequisite list by click on
    Prerequisites in the Project/Properties/Publish/Prerequisites and select
    which prerequisite to install. I select Microsoft Visual Studio 2005 Report
    Viewer. I have then also selected "Download prereus.. from vendor site"
    which did not work and also selected "Download prereq... from same locaion as
    my application" which also did not work. Here is the error message I get
    when I try to install the app:
    >
    "unable to install or run the application. The application requires that
    assembly Microsoft.Repor tViewer.Process ingObjectModel Version 8.0.0.0 be
    installed in the Global Assembly Cache (GAC) first."
    >
    The client machine has Framework 2.0 loaded. Is this an administrative
    rights issue - maybe not logged in as administrator? Or do I need to add
    someting else I need to add to the package or an additional prerequisite I
    need to install?
    >
    Thanks,
    Rich
    >
    >

    Comment

    Working...