SQL Server 2005 Configuration Manager - Cannot Connect to WMI Provider Error
I was trying to use the SQL Server 2005 Configuration Manager tool tonight and kept getting a "Cannot connect to WMI provider" error. Very frustrating because the error message didn't give the slightest clue how to fix the problem. After doing a few searches, I came across the following post by Eric Charran that solved the problem. Apparently there are some "mof" files that must not have been installed incorrectly on my system or got corrupted. I would've never figured out the solution in a 1,000 years but fortunately Eric blogged about the following command that fixed the problem instantly:
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"