Getting Provider load failure in WMI after SQL 2012 Express uninstall - by dalahira

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 779763 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/21/2013 6:44:05 PM
Access Restriction Public


I have an application that uses WMI to determine the configuration of SQL Server instances in a computer. I have 2 versions of SQL Server installed, SQL 2008 R2 Express and SQL 2012 Express. Everything works fine until I uninstalled SQL 2012, now I'm receiving this error:

************** Exception Text **************
System.Management.ManagementException: Provider load failure 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()


First, I thought this could be a problem only in my computer, however I was able to replicate this error consistently on other computers.

Then I also used "wmiexplorer" to browse SQL WMI, "wmiexplorer" also threw "Provide Load Failure" exception when I queried SqlServiceAdvancedProperties.

The error did not occur on SQL 2008 R2 uninstall when I tried it in different computers.

WMIExporer link:
Sign in to post a comment.
Posted by Microsoft on 4/1/2013 at 12:23 PM
Hi Dalahira, thanks for taking the time to report this issue. Can you confirm that you have tried re-booting and let us know if the issue still reproduces?

[SQL Server Team]