Tuesday, May 4, 2010

SharePoint 2010 : Cannot start service SPUserCodeV4

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

I got the above error while trying to deploy one simple webpart, when I Searched in google, many people said check the Services on Server in Central Admin and make sure Microsoft SharePoint Foundation User Code Service is started.

But, in my case "Microsoft SharePoint Foundation User Code Service" is started but still i was not able to deploy.

After doing some trial and error, I figured out the solution.

Go to Services.msc
Select "Windows SharePoint Services User Code Host V4" - Click on Properties

Select LogOn tab

Re-enter your password, click on Apply.

it started working properly.

One reason for this may be, if you have changed your windows password, you may face this issue