"Provider Load Error" when deploying SharePoint 2010 solution

tenfour picture tenfour · Dec 21, 2010 · Viewed 9.1k times · Source

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:

  • iisreset
  • restart visual studio

And I personally did not get that to work; I am always forced to:

  • Restart the machine.

Any help is appreciated.

Answer

Tonio757 picture Tonio757 · Aug 3, 2011

Just restart the WMI service on the machine. Worked for me.