I'm having trouble using the prerequisites feature for the Microsoft Visual Studio 2008 Report Viewer. I've checked the box for this prereq to install along with the "Create Setup program to install prerequisite components" but the report viewer prereq is not installing.
When trying to install on the client I receive "Unable to install or run the application. the application requires that assembly microsoft.reportviewer.processingobjectmodel version 9.0.0.0 be installed in the global assembly cache (GAC) first."
My current workaround is to set the publish status to include on all report viewer assemblies.
Same problem the VisualBasic Power Pack.
Regards,
Mike DePouw |
| Mike DePouw Wednesday, April 22, 2009 2:55 PM |
Hi Mike,
You should run the setup.exe instead of the .application file on the client machine. The setup.exe is a bootstrapper executable which willinstall the prerequisites first, ifthe prerequisiteshave not been installed yet and then install the ClickOnce application. Please remember to mark the replies as answers if they help and unmark them if they provide no help.
end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.- Proposed As Answer byRobinDotNetMVP, ModeratorWednesday, July 29, 2009 10:02 AM
- Marked As Answer byLinda LiuMSFT, ModeratorFriday, August 07, 2009 6:36 AM
-
|
| Linda Liu Tuesday, July 14, 2009 7:46 AM |
Hi Mike,
[Guess] Can you change the microsoft.reportviewer dlls in the Application filesto be included they are probably at the moment set Prerequsites.See if that makes a difference.
Cheers,
James
http://www.unwindsoftware.com/blog/- Proposed As Answer byRobinDotNetMVP, ModeratorWednesday, April 22, 2009 9:14 PM
- Unproposed As Answer byLinda LiuMSFT, ModeratorWednesday, April 29, 2009 2:59 AM
-
|
| James Knowles Wednesday, April 22, 2009 3:40 PM |
Hi James,
If I set them to include everything works fine.
Regards,
Mike DePouw |
| Mike DePouw Wednesday, April 22, 2009 3:47 PM |
Hi Mike,
The Deploying Reports and ReportViewer ControlsMSDN document says:
"The ReportViewer control redistributable is a self-extracting file named ReportViewer.exe that includes an .msi and other files. When you run ReportViewer.exe, the following files are copied to the Global Assembly Cache folder on the deployment computer.
Microsoft.ReportViewer.Common
Microsoft.ReportViewer.ProcessingObjectModel
Microsoft.ReportViewer.WebForms
Microsoft.ReportViewer.WinForms"
In addition,you must install the .NET Framework 3.5 prior to installing theReportViewer Redistributable 2008. So you may also include .NET Framework 3.5 asa prerequisite to the Clickonce deployment.
Hope this helps.
Sincerely, Linda Liu |
| Linda Liu Thursday, April 23, 2009 10:50 AM |
Hi Linda,
Thanks for the response.
I have the .Net 3.5 SP1 and Windows Installer 3.1 choosen are prereqs.
I don't really understand the reference to the deploying reports and reportviewer controls link. I thought if I checked this as a prereq it would automatically install on the client if it was not installed? I know this is the behavior for .Net 3.5 SP1; if it is not installed it would download and install automatically for the client.
Regards,
Mike DePouw |
| Mike DePouw Monday, April 27, 2009 1:24 PM |
Hi Mike, Thank you for your reply! Your understanding about prerequisite is correct. In short, to deploy ReportViewer control, you have two options. One option is to include . NET Framework 3.5 as a prerequisite and set thePublish Statusof the following files to Include in the Application Files dialog: ADODB.dll Microsoft.ReportViewer.Common.dll Microsoft.ReportViewer.ProcessingObjectModel.dll Microsoft.ReportViewer.WinForms.dllThe other option is to include .NET Framework 3.5 and Microsoft Visual Studio 2008 Report Vieweras prerequisites. Hope this helps. Sincerely, Linda Liu ================================================================= Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com. |
| Linda Liu Wednesday, April 29, 2009 3:29 AM |
Hi Linda,
Thanks for your reply!
I tried the option to make them both prerequites but it is not installing the Report Viewer on the client.
Regards,
Mike DePouw - Proposed As Answer byCeppy Ariesandi Thursday, June 25, 2009 2:48 AM
- Unproposed As Answer byMike DePouw Thursday, June 25, 2009 3:05 AM
-
|
| Mike DePouw Wednesday, April 29, 2009 3:51 PM |
Hi Mike,
> but it is not installing the Report Viewer on the client.
Does the client have the Report Viewer already installed? If not,you maytake a try to install the Report Viewer redistributable directly on the client to see if it can be installed successfully.
Hope this helps.
Sincerely, Linda Liu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com. |
| Linda Liu Monday, May 04, 2009 7:37 AM |
When you say "installing on the client", what is it you are running? The setup.exe file or the .application file for your ClickOnce installation. -- Mike |
| Mike Wade - MSFT Monday, May 04, 2009 5:53 PM |
The .application file. All of my current testing is being done with a currently installed app; just modifying settings, publishing, and running app. Regards,
Mike DePouw |
| Mike DePouw Saturday, June 13, 2009 1:49 PM |
Hi Mike,
You should run the setup.exe instead of the .application file on the client machine. The setup.exe is a bootstrapper executable which willinstall the prerequisites first, ifthe prerequisiteshave not been installed yet and then install the ClickOnce application. Please remember to mark the replies as answers if they help and unmark them if they provide no help.
end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.- Proposed As Answer byRobinDotNetMVP, ModeratorWednesday, July 29, 2009 10:02 AM
- Marked As Answer byLinda LiuMSFT, ModeratorFriday, August 07, 2009 6:36 AM
-
|
| Linda Liu Tuesday, July 14, 2009 7:46 AM |