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 69317 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unable to Install/Work
Reply #20 - Mar 19th, 2014 at 12:00pm
Print Post  
Thanks, sorry for the delay. That message might not be an issue but worth investigating.

What happens if you click "tools>visual micro>reset user interface"
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #21 - Mar 19th, 2014 at 2:51pm
Print Post  
Thanks for getting back to me.
Under tools I have no visual micro.
  
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 #22 - Mar 19th, 2014 at 2:59pm
Print Post  
Can you please open atmel studio as administrator and then switch the sheckboxes off in "tools>addin manager>visual micro" then click Ok and close the dialog. Then open tools>addin manager again and switch the checkboxes back on. Do you see an error message?

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


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #23 - Mar 19th, 2014 at 3:12pm
Print Post  
Yes.
'Provider Load Failure'
  
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 #24 - Mar 19th, 2014 at 3:20pm
Print Post  
Okay this means we can't use some standard .net code to access the wmi database on your machine

Try creating a .net c# or vb app to test the problem.

Add in a Reference to "System.Management"

Then this code (c#)

    
Code
Select All
System.Management.ManagementObjectSearcher searcher = new System.Management.ManagementObjectSearcher("SELECT Capacity FROM Win32_PhysicalMemory");
            foreach (System.Management.ManagementObject obj in searcher.Get())
            {;} 



I think your windows exe app with this code in it should fail with the same problem.

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 #25 - Mar 19th, 2014 at 3:22pm
Print Post  
ps: here is a Microsoft article about the problem

http://msdn.microsoft.com/en-us/library/bb961987.aspx
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #26 - Mar 19th, 2014 at 3:27pm
Print Post  
I'm a little lost at this point and don't know what I'm supposed to do.
  
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 #27 - Mar 19th, 2014 at 3:36pm
Print Post  
The problem is that your windows is not installed properly. It might fix itself by ensuring all windows updates have been applied. The article above suggests that the breakage was probably a result of installing an early release of .NET3.5 and was fixed in 3.51. What is not clear is if the .net 3.51 update correct the problem.

The cause might be an improperly-registered dynamic-link library (DLL). During installation of the .NET Framework 3.5 (prior to SP1), the DLL named System.Management.Instrumentation.dll is not properly registered.

To perform the registration, run the Regasm.exe tool providing the full path to the DLL as the only argument. The following procedure provides step-by-step directions to properly register System.Management.Instrumentation.dll.

How to Register System.Management.Instrumentation.dll

NOTE: This snippet from the above links talks about the Vs2008 command prompt. You can probably use the command prompt that is installed with Atmel Studio instead but you need to run it with admin rights.

Code
Select All
Click Start, and select All Programs.
Click Microsoft Visual Studio 2008 and select Visual Studio Tools.
On operating systems before Windows Vista, click Microsoft Visual Studio 2008 Command Prompt to open a command prompt window. On Windows Vista, right-click Microsoft Visual Studio 2008 Command Prompt and select Run as Administrator to open an elevated command prompt window.
At the command prompt, type "regasm %systemdrive%\program files\reference assemblies\microsoft\framework\v3.5\system.management.instrumentation.dll" and press ENTER.
Check for the message, Types registered successfully.
 

« Last Edit: Mar 19th, 2014 at 3:37pm by Tim@Visual Micro »  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #28 - Mar 19th, 2014 at 4:03pm
Print Post  
In all programs I find no Microsoft Visual Studio 2008.
Looking in C:\Program Files (x86) I find 'Microsoft Visual Studio' , no tools in it, and 'Microsoft Visual Studio 10.0' with a tools folder (C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools), but no 'Visual Studio Tools'. Nothing in C:\Program Files, Microsoft Silverlight seems to be the closest, if that's important.
Running Windows 7. Is there something missing?
  
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 #29 - Mar 19th, 2014 at 4:13pm
Print Post  
Please look on the start menu not in any folders. If you have atmel or vs 2010 installed then hopefully you will see a command prompt option in the respective application group on the start menu?

If not then please open a log with the microsoftconnect.com web site and ask them how you can fix a wmi provider load failure on your version of windows.

Sorry it is a pain but it's a windows issue and I don't run the free versions of VS so I have a command prompt under my Visual Studio menu.
  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #30 - Mar 19th, 2014 at 5:14pm
Print Post  
Sorry, I wasn't clear. In start, all programs, found no Visual Studios. Then exploring in the program and program(x86) files found, etc.

However, if I'm following this, at the command prompt under start, all programs, Atmel, I entered the regasm text and got:

C:\Users\George\Documents>regasm %systemdrive%\program files\reference assemblie
s\microsoft\framework\v3.5\system.management.instrumentation.dll
'regasm' is not recognized as an internal or external command,
operable program or batch file.

Did I do this correctly?

Registered in microsoftconnect and posed the question. 
To be continued...
And, as you can probably tell, I'm in the no-mans-land part of my knowledge base.
  
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 #31 - Mar 19th, 2014 at 5:16pm
Print Post  
Thanks

Knowing Microsoft you probably have to change to the windows\system32 directory and run the command from there. And replace %systemdrive% with c:\

Look forward to hearing their response!
« Last Edit: Mar 19th, 2014 at 5:17pm by Tim@Visual Micro »  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #32 - Mar 19th, 2014 at 5:53pm
Print Post  
Discovered how to change directories and...

C:\Windows\System32> regasm c:\\program files\reference assemblies\microsoft\fra
mework\v3.5\system.management.instrumentation.dll
'regasm' is not recognized as an internal or external command,
operable program or batch file.
  
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 #33 - Mar 19th, 2014 at 6:18pm
Print Post  
You can't have a space before regasm and it is only a single backslash after c:
« Last Edit: Mar 19th, 2014 at 6:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #34 - Mar 19th, 2014 at 6:23pm
Print Post  
If this is the correct way:

C:\Windows\System32>regasm "c:\\program files\reference assemblies\microsoft\fra
mework\v3.5\system.management.instrumentation.dll"
'regasm' is not recognized as an internal or external command,
operable program or batch file.
  
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 #35 - Mar 19th, 2014 at 6:33pm
Print Post  
Googling and looking at windows files it looks like it will be this.

Code
Select All
"c:\windows\Microsoft.NET\Framework\v2.0.50727\regasm"  "c:\program files\reference assemblies\microsoft\framework\v3.5\system.management.instrumentation.dll" 



By the way, maye sure you do not have c:\\. It is only one back slash in these paths
« Last Edit: Mar 19th, 2014 at 6:34pm by Tim@Visual Micro »  
Back to top
IP Logged
 
GKinAZ
Junior Member
**
Offline


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #36 - Mar 19th, 2014 at 6:51pm
Print Post  
There seems to be progress:

C:\Windows\System32>"c:\windows\Microsoft.NET\Framework\v2.0.50727\regasm"  "c:\
program files\reference assemblies\microsoft\framework\v3.5\system.management.in
strumentation.dll"
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.5420
Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.

Types registered successfully

Opening 6.1 gives same (blank) result. Do I need to do something else, e.g. restart?
  
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 #37 - Mar 19th, 2014 at 8:18pm
Print Post  
Yes re-start pc, if that doesn't sort it then run atmel as admin and untick visual micro in "tools>addin manager", then open addin manager and re-tick.

Same error?

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


Posts: 37
Location: Arizona
Joined: Jan 29th, 2014
Re: Unable to Install/Work
Reply #38 - Mar 19th, 2014 at 8:31pm
Print Post  
Restart, ran as admin, untick, tick, same result: provider load failure.
  
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 #39 - Mar 19th, 2014 at 8:57pm
Print Post  
Did you say that you have vs 2010 installed? If so then what is the version number from help>about?

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