While deploying the solution using visual studio 2010 , got the following error 'Error occurred in deployment step 'Add Solution': Cannot start service SPUserCodeV4 on computer 'UKREDDY'.'
There are two reason for the error. Those are,
1. SharePoint 2010 User Code Host service not started and
2. Microsoft SharePoint Foundation Sandboxed Code Service not started.
Now, we need to solve these two reasons
Step 1:
Open Services.msc in run command and check whether service is started or not or Disabled?
If The service is disabled then right click on service and select properties.
it will takes few seconds time to start the service.
Step 2:
Check Microsoft SharePoint Foundation Sandboxed Code service is started or not.
You can do the following steps to resolve it.
a. Go to Central Administration
b. Open "System Settings"
c. Open "Manage services on server".
d. Locate the service "Microsoft SharePoint Foundation Sandboxed Code service"
e. Start the service "Microsoft SharePoint Foundation Sandboxed Code service".
Close your application and reopen and now deploy sandbox solution, will deploy successfully.
Prasad :- Good Job buddy, Same solution worked for me in Sharepoint 2013 as well.
ReplyDeleteThanks for the post!!! It solved all my problems!!
ReplyDeleteCool, it works now. Thank you!
ReplyDeleteThanks, solved the problem!!
ReplyDeletegreat post. Clear and easy to understand. I am new to Sandbox.
ReplyDeleteEpic freaking post thanks for this, it solved my issue.
ReplyDelete