Sunday, January 17, 2010

Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer

Title: SharePoint 2010 Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer

Details: Building Sandboxed Solutions on SharePoint 2010 using Visual Studio 2010 Beta and encountered the error? Then make sure that the service Microsoft SharePoint Foundation User Code Service ( CA > System Settings > Services on Server ) is Started.


4 comments:

Jo said...

Thanks AMn it helped :)

Ilya said...

Thanks! It's now "Microsoft SharePoint Foundation Sandboxed Code Service"

Trikha said...

I have created a sandbox solution and deployed it, its working well and fine.

Again, I have logged the dev machine which a different user. Now i am able to build the solution successfully, but while deploying the same solution i am getting the error

"Error occurred in deployment step 'Retract Solution': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm."

I have even tried changing the *.wsp file and deploying it manually and i am still getting the error.

Srini Sistla said...

To deploy solution from VS, your 'different user' needs to have appropriate permissions to the SharePoint site and its related database. So make sure he/has rights.