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