Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) Failed install (Read 29772 times)
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Failed install
Feb 6th, 2012 at 3:38pm
Print Post  
Just tried to upgrade my XP laptop (VS2008) with V26 of VM. Install appears to be fine but running VS2008 I get

The Add-in 'Visual Micro Arduino' failed to load or caused an exception.
Would you like to remove this Add-in?
If you choose yes, the file it was loaded from, 'F:\Program Files\Visual Micro\Visual Micro for Arduino\Visual.Micro.Visual.Studio.Arduino.2008.AddIn', will be renamed.

Error Message: The system cannot find the file specified.


Error number: 80070002

This message appears whenever I start VS2008, even a reset addin. I've rebooted, re-downloaded V26 from CodePlex but the same results. I've been using V26 on my Win 7 laptop (again VS2008) for over a week without any problems.

Directory listing in Program Files:

27/01/2012  16:57           110,592 Visual.Micro.Processing.Sketch.08.dll
27/01/2012  16:57           110,592 Visual.Micro.Processing.Sketch.dll
27/01/2012  16:57           903,168 Visual.Micro.Visual.Studio.Arduino.08.dll
27/01/2012  16:57           557,568 Visual.Micro.Visual.Studio.Arduino.10.dll
06/02/2012  15:30            43,688 Visual.Micro.Visual.Studio.Arduino.2008.AddIn
16/10/2011  17:03            43,218 Visual.Micro.Visual.Studio.Arduino.2010.AddIn
27/01/2012  16:57            13,312 Visual.Micro.Visual.Studio.Arduino.Setup.Action.dll
06/02/2012  15:30             2,409 Visual.Micro.Visual.Studio.Arduino.Setup.Action.InstallState

Any ideas?

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #1 - Feb 6th, 2012 at 4:14pm
Print Post  
Sounds like you are missing either VB.NET, C# or C++ for VS?

Updated: and .net3.5
« Last Edit: Feb 6th, 2012 at 4:35pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #2 - Feb 6th, 2012 at 5:22pm
Print Post  
Tim@Visual Micro wrote on Feb 6th, 2012 at 4:14pm:
Sounds like you are missing either VB.NET, C# or C++ for VS?

Updated: and .net3.5


Well according to VS Help About:

Microsoft Visual Studio 2008Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional
Microsoft Visual Basic 2008
Microsoft Visual C# 2008
Microsoft Visual C++ 2008
Microsoft Visual Studio 2008 Tools for Office
Microsoft Visual Web Developer 2008

Visual Micro Arduino
Copyright Visual Micro 2009

I'll try reinstalling an earlier version. I was using an older build when I last used the laptop for Arduino work.

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #3 - Feb 6th, 2012 at 6:14pm
Print Post  
I'm using the latest with vs 2008 so it must be something else. Can you please send me the .addin file that exists with the vm dlls and let me know the install path. 

Also confirm what vm path(s) show in Visual Studio options macros and security search paths.

Also please switch on the trace in the vm options and ensure the addin is enabled prior to vs re-start. then send me the trace file that should exist with the dlls. if no trace is produced then also let me know because it is an indicator for other things.

thanks

updated: please also check tools>addin manager to ensure only one vm addin is installed.
« Last Edit: Feb 6th, 2012 at 6:30pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #4 - Feb 6th, 2012 at 6:21pm
Print Post  
just checked again, here is a pic of it working so pls send the info, I think we can get it working




« Last Edit: Feb 6th, 2012 at 6:27pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #5 - Feb 6th, 2012 at 6:59pm
Print Post  
I can't get the VM settings because the addin can't load. I am puzzled as I've got the same addin working on another laptop (although it's Win 7).

I went to download v22 (which is what I've been using on this laptop) but it seems to have vanished from Codeplex. Any idea where it's gone?

Going to try v21 in the absence of v22.

Iain
  
Back to top
 
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #6 - Feb 6th, 2012 at 7:06pm
Print Post  
OK. Found the v22 I downloaded in December. Installed it and the same error message. Can't do anything useful to debug this in VS as the addin won't load, so no options box etc. Clearly something on this laptop is screwed since even an old (previously working build) is not working.

I'm guessing most of the useful debug requires the addin to load?

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #7 - Feb 6th, 2012 at 7:46pm
Print Post  
Well vs does load the addin to run it but the tools options are a seperate thing. So if it can't show tools options is means there is something wrong with the dll which we know works.

I can only think that it's possible that a part install of visual micro exists elsewhere. Please confirm your tools>options>macro and security>search paths and also send me or post the xml from the .addin file

Thanks
  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #8 - Feb 6th, 2012 at 8:05pm
Print Post  
Just uninstalled VM. Started VS2008 and no sign of VM. Installed latest (v26) into G:\ProgramFiles\Visual Micro...
Started VS2008 and same error as before (except for different path). I can confirm that G:\ProgramFiles\Visual Micro\Visual Micro for Arduino\ appears in Options - Addin/Macros Security.

The Xml you requested:

Code
Select All
<?xml version="1.0" encoding="UTF-16" standalone="no"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
  <HostApplication>
    <Name>Microsoft Visual Studio Macros</Name>
    <Version>8.0</Version>
  </HostApplication>
  <HostApplication>
    <Name>Microsoft Visual Studio</Name>
    <Version>8.0</Version>
  </HostApplication>
  <HostApplication>
    <Name>Microsoft Visual Studio Macros</Name>
    <Version>9.0</Version>
  </HostApplication>
  <HostApplication>
    <Name>Microsoft Visual Studio</Name>
    <Version>9.0</Version>
  </HostApplication>
  <Addin>
    <FriendlyName>Visual Micro Arduino</FriendlyName>
    <Description>Visual Micro Arduino - Visual Studio Helper</Description>
    <AboutBoxDetails>Copyright Visual Micro 2009</AboutBoxDetails>
    <AboutIconData></AboutIconData>
    <Assembly>G:\ProgramFiles\Visual Micro\Visual Micro for Arduino\Visual.Micro.Visual.Studio.Arduino.08.dll</Assembly>
    <FullClassName>Visual.Micro.Visual.Studio.Arduino.Helper</FullClassName>
    <LoadBehavior>5</LoadBehavior>
    <CommandPreload>1</CommandPreload>
    <CommandLineSafe>0</CommandLineSafe>
  </Addin>
  <ToolsOptionsPage>
    <Category Name="Visual Micro">
      <SubCategory Name="General">
        <Assembly>G:\ProgramFiles\Visual Micro\Visual Micro for Arduino\Visual.Micro.Visual.Studio.Arduino.08.dll</Assembly>
        ssName>
      </SubCategory>
    </Category>
  </ToolsOptionsPage>
</Extensibility> 



The xml was too large to post originally, but if I deleted the content of the <AboutIconData/> tag it fitted.

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #9 - Feb 6th, 2012 at 9:02pm
Print Post  
Thanks for the info. Would you mind renaming or removing the dlls in the vm folder and trying the system with just ther .addin file. 

You can enable the .addin using notepad if its easier for you but changign the LoadBehavior to 1.
<LoadBehavior>1</LoadBehavior>    <CommandPreload>1</CommandPreload>    

This will check that there are no stray dlls on your machine. With no stray dlls we will expect a vs error about missing dlls and not the error you had originally.

Otherwise, I think you are right, there is something different with the ms software on your pc.

it's possible that it's some sort of office/vs service pack issue. Might be relating to stdole.dll which was a problem for one user a while ago.

I only say this because we know we have lots of 2008 users so it's got to be related to an ms build.

Do you have ms office installed on that machine? If so which version. It shouldn't really matter if you have office or not but it is useful to explore the possibility.

Thanks very much
  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #10 - Feb 6th, 2012 at 10:59pm
Print Post  
I've just renamed all the dlls in the VM folder and I still get the same error.

What do I need to look for?

A registry search?

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #11 - Feb 6th, 2012 at 11:26pm
Print Post  
no it's not registry. 

What paths are shown in "Tools>options>envrioment>addin\macro security"?
  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #12 - Feb 6th, 2012 at 11:59pm
Print Post  
Code
Select All
%ALLUSERDOCUMENTS%\Microsoft\MSEnvShared\Addins
%ALLUSERPROFILE%\Application Data\Microsoft\MSEnvShared\Addins
%APPDATA%\Microsoft\MSEnvShared\Addins
%VSAPPDATA%\Addins
%VSCOMMONAPPDATA%\Addins
%VSMYDOCUMENTS%\Addins
G:\ProgramFiles\Visual Micro\Visual Micro for Arduino\ 

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #13 - Feb 7th, 2012 at 1:16am
Print Post  
okay let's assume you don't have another Visual.Micro.Visual.Studio.Arduino.08.dll on that machine and that your visual studio install is up the creek:)

sorry, i can't think of anything else at the moment

  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #14 - Feb 7th, 2012 at 1:19am
Print Post  
a quick test of visual studio

can you create a new VB.NET "Visual Studio Addin" (extensibility) project. click all the defaults in the wizard to get a tools menu etc. Then start>run the new project. 

Do you get a new tools menu item and does tools>addin manager show your extension has loaded correctly?
« Last Edit: Feb 7th, 2012 at 1:32am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #15 - Feb 10th, 2012 at 5:50pm
Print Post  
Sorry for the late reply. I've been out and about and not able to investigate further. Today I repaired my VS2008 install but still got the error. I then un-installed and re-installed VS2008, still the same result. I'll try your suggestion shortly and report back.

Iain
  
Back to top
 
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #16 - Feb 10th, 2012 at 6:55pm
Print Post  
Tim@Visual Micro wrote on Feb 7th, 2012 at 1:19am:
a quick test of visual studio

can you create a new VB.NET "Visual Studio Addin" (extensibility) project. click all the defaults in the wizard to get a tools menu etc. Then start>run the new project. 

Do you get a new tools menu item and does tools>addin manager show your extension has loaded correctly?


I get the same error as before. Unable to load addin!

I wonder what's going on.

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #17 - Feb 10th, 2012 at 8:34pm
Print Post  
are you saying that your new test addin won't load and raises an error or that vm is still raising an error?

edit: it does appear that you mean you have the same problem with your newly created addin in which case we need to look at your vs install.

Sure you are not using an express version of visual studio?
« Last Edit: Feb 10th, 2012 at 9:14pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
sixeyes2
Junior Member
**
Offline


Posts: 93
Location: Guildford, United Kingdom
Joined: Dec 19th, 2011
Re: Failed install
Reply #18 - Feb 11th, 2012 at 10:17am
Print Post  
Tim@Visual Micro wrote on Feb 10th, 2012 at 8:34pm:
are you saying that your new test addin won't load and raises an error or that vm is still raising an error?

edit: it does appear that you mean you have the same problem with your newly created addin in which case we need to look at your vs install.

Sure you are not using an express version of visual studio?


Sorry if I wasn't clear. I have the same problem with a test addin.

I'm using a VS2008 DVD I purchased in 2008. Everything was fine on this laptop a few weeks ago. I used the addin for several weeks without any problems. No idea what I've done, but maybe I'll need to build a new XP install to cure the problem. A reinstall of VS2008 didn't help Sad(

Iain
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Failed install
Reply #19 - Feb 11th, 2012 at 2:47pm
Print Post  
ok thanks, you probably were clear I just had a "not sure" moment Smiley

yes it is certainly a core visual studio dependancy problem. all i can say is that the addin system uses windows ole and office command bars. all of which should really be installed and verified during a vs install. 

have you checked for vs service packs, have you got office installed? if so i would do an office update. and finally a windows update. 

if all that fails go to a pub or bar and get drunk!
« Last Edit: Feb 11th, 2012 at 4:07pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint