Occasionally, seemingly randomly, about once a week, I get the following error in the output window when trying to deploy or retract a SharePoint 2010 solution from visual studio 10:
Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure
I have seen suggestions that include:
And I personally did not get that to work; I am always forced to:
Any help is appreciated.
Just restart the WMI service on the machine. Worked for me.