Yesterday I was creating my first SharePoint 2010 Sand-boxed solution using Visual Studio 2010. I have successfully built and deployed other SharePoint projects on the server but I always used Farm based solution due to the requirements.
When I built the Sand-boxed solution the project would build and package without any errors but when I tried to deploy it to the SharePoint site the following error occurred:
Error occurred in deployment step ‘Activate Features’: Cannot start service SPUserCodeV4 on computer ‘SERVERNAME'
The error can be easily resolved by starting the Microsoft SharePoint Foundation Sandboxed Code Service which can be accessed through the Central Administration site in SharePoint. Open the Central Administration site and go to System Settings and click on Manage Service on server, as shown below
After starting the service try to deploy the snadoxed solution and the following erros wil be removed.
"Error occurred in deployment step ‘retract solution’ cannot start service SPUserCodeV4 on this computer"


No comments:
Post a Comment