?
Solved

ClickOnce Installation error - The application requires that assembly Stdole2 Version 2 be installed in the GAC

Posted on 2008-11-05
13
Medium Priority
?
1,252 Views
Last Modified: 2013-12-12
I am trying to deploy a Winforms VB.NET 2.0 Application.  When I click on the .application file to install, I get the following error:

Unable to install or run the application.  The application requires that assembly Stdole2 Version 2.0.0.0 be installed in the Global Assembly Cache (GAC) first.

Any help would be much appreciated!

Thanks,
Sarah
0
Comment
Question by:spendergrass
  • 7
  • 6
13 Comments
 
LVL 1

Expert Comment

by:H-SC
ID: 22888131
Sarah,

goto myproject on the solutions tab and navigate to the publish area go into application files find Stdole, and change publish status to be "Include" and re-publish the project
0
 

Author Comment

by:spendergrass
ID: 22888438
The error message references stdole2 and I only have stdole available in my application files.  Is there some way to get stdole2 to show up in my application files?
0
 
LVL 1

Expert Comment

by:H-SC
ID: 22888621
Sarah,

did you click on the "show all files" in the same area?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:spendergrass
ID: 22888634
I hadn't, but I just did and stdole2 is not in the list.
0
 
LVL 1

Expert Comment

by:H-SC
ID: 22888652
does it show up in the "References" tab
0
 

Author Comment

by:spendergrass
ID: 22888671
There isn't a reference for stdole2 in the References tab.  I'm not even sure what it is.
0
 
LVL 1

Expert Comment

by:H-SC
ID: 22888722
try and do a search for stdole2 in the entire project to see where it is referenced
0
 

Author Comment

by:spendergrass
ID: 22888787
It isn't referenced anywhere in the entire solution.  Very puzzling.
0
 
LVL 1

Expert Comment

by:H-SC
ID: 22888822
ok, goto the references again and click on unused references...does it show there?
0
 

Author Comment

by:spendergrass
ID: 22888845
No, most of my references show up in there but not stdole2.  Do you know what stdole2 is?  Should I be looking for a different name?
0
 
LVL 1

Expert Comment

by:H-SC
ID: 22888899
not sure what the file is...you may want to google it to see if it is a valid file
0
 
LVL 1

Accepted Solution

by:
H-SC earned 2000 total points
ID: 22889654
sorry that I can't be of more help.  good luck on your project
0
 

Author Closing Comment

by:spendergrass
ID: 31513592
I was able to get the application working without installing PIAs on the build server, but I'm not sure how.  Everything I found on the Internet stated they need to be installed.  Thank you for your help.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question