The Bug
When you try to deploy or retract a SharePoint 2010 solution from visual studio 10 you get below error message:
“Error occurred in deployment step ‘Recycle IIS Application Pool': Provider load failure”
Solution
Restart the SharePoint 2010 User Code Host service resolved the issue. Try below powershell command.
restart-service SPUserCodeV4
Image may be NSFW.
Clik here to view.

Clik here to view.
