Thursday, March 29, 2012

Error occurred in deployment step ‘Activate Features’: Cannot start service SPUserCodeV4 on computer

If you ever try to deploy a sandboxed solution and run into Error occurred in deployment step ‘Activate Features’: Cannot start service SPUserCodeV4 on computer, this only means that the Windows service running sandboxed solutions is not running on the server.

To start the service go to SharePoint Central Administration, go to System Settings tab and click on Manage services on server:
clip_image001

In the page that opens start Microsoft SharePoint Foundation Sandboxed Code Service:
clip_image002

That’s all! Your solution should deploy just fine now.

If you have a more elegant solution – please post a comment… I’ll be happy to hear.

...HaPpY CoDiNg

Partha (Aurum)

2 comments: