By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,501 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,501 IT Pros & Developers. It's quick & easy.

Visual Studio 2005 - "Unable to install or run the application"

P: 7
Am a newcomer to Visual Studio 2005 but have managed to develop a simple application in VB using it. I want to deploy it.
Have tried using ClickOnce which generates the webpage ok. I can install the application on my computer and also one one other computer by clicking the Install button. However, on another computer I get the error:

(firstly) Cannot download the application. The application is missing required files.
(then) Unable to install or run the application. The application requires the assembly office version to be installed in the GAC.

Would be most grateful if anyone can suggest how I can solve this.
Aug 8 '07 #1
Share this Question
Share on Google+
5 Replies

Expert 100+
P: 759
The error which u got shows u had used office web component in your application. And during the deployment package creation, u had missed that office assembly to add with ur deployment package.

Add that referance assembly and all will be fine.
Aug 8 '07 #2

P: 7
I have references to Office 11.0 Object Library and Word 11.0 Object Library
Assumed that "app requires the assembly office version" refers to one of these.
Should I include a reference to another Library?
Aug 8 '07 #3

Expert 5K+
P: 7,872
You might need Office installed on the computer in order to install your software that uses one of it's DLLs. Not sure if that helps, just thinking is all.
Aug 8 '07 #4

P: 7
Office is installed on all computers. The only difference is that my machine on which I developed the program has Office 2003 Pro and the one on which I get the error has Office 2003 SBE
Aug 8 '07 #5

P: 7
Hi Folks,
Think I may have discovered the solution.
If you change the Publish Status in Application Files (button on the Publish tab) to include, all the required dll's are published to the same folder as the application.
This seems to work. Is there any disadvantage in doing this?
It has taken me AGES to find this!!! But possibly I may be wrong?
Aug 8 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.