Quantcast
Channel: Forumul SQL Server Setup
Viewing all articles
Browse latest Browse all 7686

Getting Provider load failure in WMI after SQL 2012 Express uninstall

$
0
0

Hi,

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, although "wmiexplorer" did not throw an exception, it did not show any information

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

WMIExporer link: http://www.ks-soft.net/hostmon.eng/wmi/index.htm

Thanks.

Regards,

Dalahira


Viewing all articles
Browse latest Browse all 7686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>