Wednesday, May 05, 2010

Don’t forget to start the Microsoft SharePoint Foundation Sandboxed Code Service …

When you want to use sandboxed solutions in SharePoint Foundation 2010 or SharePoint Server 2010 you have to check that the Microsoft SharePoint Foundation Sandboxed Code Service is started. If it is not you will see the following errors:

  • You will be able to upload sandboxed solutions to the solutions gallery but the Activate solution button will remain greyed out.
  • When you try to deploy a sandboxed solution from within Visual Studio 2010 you will get the following error: Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer ''


To start it go to SharePoint 2010 Central Admin and select Manage services on server.


On the application page make sure that the Sandboxed Code Service is started.




No comments: