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 3 [4]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Unable to Install/Work (Read 69316 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #60 - Mar 24th, 2014 at 4:52am
Print Post  
new version 1403.23 here. interested to see what the user interface trace shows after start-up.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #61 - Mar 24th, 2014 at 2:51pm
Print Post  
Hi Simon,

Please post in your own thread. You have a config issue by the looks of things. It's quite different to this users report and I will give you different instructions

Thanks
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #62 - Mar 25th, 2014 at 7:42pm
Print Post  
Hi,
No progress, same result.
Removed old module, installed new.
Startup msg:

Application      Begin
Application      Extenders Created
Application      AS6 Config Helpers Complete
Mode      UISetup
CreateCommandBarItemsPerm      Begin AddinVer=1.1403.23
Permanent Items Setup Requested       - Exiting setup because some controls already exist
CreateCommandBarItemsPerm      End

Unchecked, checked, msg:

Mode      AfterStartup
KickOff      Failed System.Management.ManagementException: Provider load failure 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at ()
   at Visual.Micro.Utils.Licensing.KeyHelper.GetWmiPropertyList(String wqlQuery, String propertyName)
   at Visual.Micro.Utils.Licensing.KeyHelper.GetCurrentHardwareId()
   at Visual.Micro.Visual.Studio.Arduino.AddInToolsOptions.get_HardwareId()
   at Visual.Micro.Visual.Studio.Arduino.Helper.AddinKickOff()
   at Visual.Micro.Visual.Studio.Arduino.Helper.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom)

No Arduino in tools, in tools/options/Visual Micro the IDE location pull-down still blank.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #63 - Mar 25th, 2014 at 9:34pm
Print Post  
Thanks no need to remove before updates I was just being extra safe in previous discussions.

Sorry I forgot to post a link to the beta before!

The trace clearly shows your windows wmi database is still corrupt and that I forgot to add a workaround to one area of achiever. There is a new version 1403.25 here with the workaround https://visualmicro.codeplex.com/releases/view/106554

Thanks

  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #64 - Mar 26th, 2014 at 2:31am
Print Post  
Going backwards.
Installed  latest WM module.
On startup AT6.1 gives error window  titled "Microsoft Visual Studio Isolated" with text
"Cannot find one or more components. Please reinstall the application."
Removed AT6.1
Restarted
Cannot install AT6.1. During install twice gives same error window, then completes. Then AT6.1 startup gives same error window.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #65 - Mar 26th, 2014 at 4:20am
Print Post  
Sorry to hear that. We can see in the recent visual micro traces that your machine certainly has a corrupted wmi database. 

The Visual Studio Shell error is also an indication that there are some problems with your pc and the fact that the Atmel installer can no longer run is again an indication of windows or hardware problems.

I'm sorry I can't be of more help. 

I explained that Visual Micro simply reads the wmi using the standard microsoft api which can be seen in the trace. Windows update has also failed for you previously and still shows an error for the mssql updater (if I recall correctly). Now we see the installer that Atmel uses is failing. The Atmel install is two installs in one. Usb Drivers then Atmel Studio which suggest that the two errors you see are a result of those two installers failing. 

I don't know what else to say except that the easiest discussion might be with Microsoft about the windows update wmi error. However, you report that a working AS6.1 suddenly lost a component, unless AS6.1 uses the wmi database, I guess that could possibly be a hard disk failing?

Either way I am here to help if you think I can. Best of luck
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #66 - Mar 26th, 2014 at 11:27pm
Print Post  
Back to where we were.
Was able to get the Visual Studio Shell reinstalled. And, of course, got all the same messages back.
Thanks for all you effort and pointing me in right direction.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #67 - Mar 27th, 2014 at 1:48am
Print Post  
Does that mean you get an error on screen or just the apps list is empty?

If apps list then more diagnostics in this version now that we don't care about wmi errors

https://visualmicro.codeplex.com/releases/view/106554
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #68 - Mar 27th, 2014 at 3:12pm
Print Post  
Whee!
Installed 1403.26  over 1403.23, pushed past the provider load message and we're in -- thanks to a prodigious effort on
your part.
One thing I picked up, being a Yun user, no access to the Wi-Fi due to the wmi problem. As info, I do have Wi-Fi access to the Yun with Arduino's iDE as well as Eclipse/Arduino.
Looking forward to the Atmel/VisualMicro experience, especially with the debugger.
Thanks again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #69 - Mar 27th, 2014 at 3:24pm
Print Post  
Great. Are the provider load errors just in the trace or are you getting on screen dialog warnings?

I know that the wifi is disabled at the same time as the wmi corruption is detected. There will be a new visual micro over the next week which separates these two things. 

You will then be able to switch on Network Discovery in the Communication tools>options. 

It will have been switched off automatically by Visual Micro due to the wmi problem. I suspect you can not currently switch it back on without loosing your serial ports but you can try it if you want it's easy to switch off again and won't kill your config  Smiley

I have sent you a PM with a link to a 3 machine debugger for all your hard work. I think users with windows wmi issues are going to find a huge benefit from your persistence.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #70 - Mar 28th, 2014 at 2:26am
Print Post  
1)
There is a new release in the beta channel. It silently ignores the wmi errors and will automatically start using wmi when it has been repaired.

2)
Network wifi discovery was automatically disabled in the last version and can now be switched back on. 

Wifi
"Tools>Options>Visual Micro>Communications>Network Discovery" = True

3)
If you have your www folder and sd card setup for the yun please also try "project>upload www sketch files" which updates the yun web server without needing a network upload.

Thanks
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #71 - Mar 28th, 2014 at 9:56am
Print Post  
WiFi: fantastic!

Elsewhere: have notice a quirk which I took a quick look for in the forums and didn't find anything. I have a Uno connected to just one of two LCDs. The sketch has libraries for both, the LCD not being used commented out. Both LCDs use the Wire library. This does not build:
Code
Select All
//LCD
/*
//Adafruit RGB LCD Shield
#include <Wire.h> //one must be commented out else cannot build
#include <Adafruit_MCP23017.h>
#include <Adafruit_RGBLCDShield.h>
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();
*/
//Adafruit I2C backpack
#include <Wire.h>
#include <LiquidCrystal.h>

void setup()
{

  /* add setup code here */

}

void loop()
{

  /* add main program code here */

} 


And gives error message:
Code
Select All
Compiling 'canbuild' for 'Arduino Uno'
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at processing.app.MCUTargetPlatform.getImportedLibsOfSketch(List`1 importedSketchHeaders)
   at processing.app.SketchBuilder.preprocess(String buildPath, PdePreprocessor preprocessor)
   at processing.app.SketchBuilder.preprocess(String buildPath)
   at processing.app.SketchBuilder.build(String lbuildPath, Boolean verbose)
   at processing.app.SketchBuilder.build(Boolean verbose)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileDo(Project oProject, Boolean IsDebugStartCommand)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.Compile(Project oProject, Boolean IsDebugStartCommand) 


Commenting out one of the Wire.h -- doesn't matter which one -- and it builds OK. I.e.:
Code
Select All
//LCD
/*
//Adafruit RGB LCD Shield
//#include <Wire.h> //one must be commented out else cannot build
#include <Adafruit_MCP23017.h>
#include <Adafruit_RGBLCDShield.h>
Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();
*/
//Adafruit I2C backpack
#include <Wire.h>
#include <LiquidCrystal.h>

void setup()
{

  /* add setup code here */

}

void loop()
{

  /* add main program code here */

}
 


Do not see this issue with Arduino IDE or Eclipse/Arduino.
And thanks for the offer of the debugger (which just incredible) for which I filled and sent the form.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #72 - Mar 28th, 2014 at 8:10pm
Print Post  
The library management is re-written in the beta so that's well found before the release thanks.

the form is automated so you should receive an email instantly. However I get notified of the requests and I can't see one for you. Please try the form again.

Thanks very much
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 
Send TopicPrint