How to resolve the error "“Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer <server name>".
In this we will be seeing how to resolve the error "Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer ".
In this we will be seeing how to resolve the error "Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer <server name>".
Normally when you create a Sandbox solution in Visual studio 2010 and if you deploy the solution into the SharePoint 2010 sometimes you may be getting an error “Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer <server name>”.
Reason for getting an error:
The reason for getting the error Microsoft SharePoint Foundation Sandboxed Service is not started by default; you must start it before you deploy a sandboxed solution.
How to resolve the error:
- Go to the Central Administration.
- In Service Applications, Click on Manage services on server.
- You could find Microsoft SharePoint Foundation Sandboxed Service.
- Start the service.
Remember that before deploying a Sandbox solution Microsoft SharePoint Foundation Sandboxed Service should be started.