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:
In the page that opens start Microsoft SharePoint Foundation Sandboxed Code Service:
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)
ok.worked me.thnx
ReplyDeleteThanks. It works fine now,
ReplyDelete