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.
I have the same problem here. IISreset, restart VS2010 and restart SharePoint 2010 timer job did not help.
Restart the SharePoint 2010 User Code Host service resolved the issue for me.
Try this powershell command.