SharePoint 2010: Error occured in deployment step 'retract solution' cannot start service SPUserCodeV4 on this computer

Sometime while trying to deploy a sandboxed solution from VS 2010, we bump into the following error "

Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer... 

In such as case you got to activate the "Microsoft SharePoint Foundation Sandboxed Code Service".
To do that, we take the following steps:

  • Move to Central Administration

  • Select "System Settings
  • Further navigate to "Manage services on server"
  • Select the service “Microsoft SharePoint Foundation Sandboxed Code Service”
  • Start the service  “Microsoft SharePoint Foundation User Code Service”


If the problem persists, also try restarting the Service 'Windows Sharepoint Service user code Host v4' in the Computer Management -> Services tab.

Hope this helps
Cheers

Comments

Popular posts from this blog

SPFx: Develop using SharePoint Framework without Installing all the dependecies.

SharePoint Online: Elevated Permissions....with love

Powershell: Filling up an Existing Excel Sheet with data from SQL Server