deploy prerequisite program with application - problem

G

Guest

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.ReportViewer.ProcessingObjectModel 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
 
G

Guest

OK. I found the trick. First, I forgot to run ReportViewer.exe 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.
 
N

Nick

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top