Thursday, April 7, 2011

Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer 'ServerName'

In this post we will discuss how to resolve below SharePoint 2010 error:

Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer 'ServerName'

Also you can check out my previous posts on:

- Submit data from Infopath form to SharePoint list using SharePoint object model

- Enable Sign in as Different User Option in SharePoint 2013

- Reindex feature in list and document library in SharePoint 2013

Solution:
If you are creating your first SharePoint 2010 Sandboxed solution using Visual Studio 2010 then probably you will get ther error "Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer 'ServerName'."

Reason: By Default "Microsoft SharePoint Foundation Sandboxed Code Service" service is not activated. So we need to manually activate the service.

Steps:
Go to Central Asministartion -> System Settings -> Services on Server -> Activate the service Microsoft SharePoint Foundation Sandboxed Code Service.

No comments:

Post a Comment