17

I'm currently tasked with developing a branding solution for SharePoint Foundation sites. I've created a WSP file which can be deployed through my local machine through Visual Studios, but when I upload the solution into the Solution Gallery in site settings, I can't activate the solution. The solution was created as a sandboxed solution according to this article.

When I choose to activate from the RibbonMenu or the drop down for the solution, the resulting modal dialog has an activation button which is disabled. I'm logged in as the System Account, so I believe I have full permissions over the site collection.

What do I need to do in order to activate solutions from this gallery page?

3 Answers 3

23

Can you check that ou have enabled and configured the user code service on your farm and started it?

Look for user code service in service applications and create one if it is not there.

Then go to

Central Administration > System Settings > Manage Services on Server > check that “Microsoft SharePoint Foundation Sandboxed Code Service” service is running

3
  • 2
    Tiny correction: "Look for user code service in service applications" should be "Look for user code service in services". Small distinction but possibly confusing for newbies. There's no user code service application to create. The Central Administration navigation progression is right though.
    – Yohan P
    Commented Aug 13, 2012 at 3:25
  • 1
    which server should it be enabled on? The WFE or the App Server? (For what it's worth, I enabled it everywhere and it seemed to work)
    – Hutch
    Commented Jul 11, 2014 at 22:20
  • 2
    Small addition: In SharePoint 2013 the Windows service is called 'SharePoint User Code Host'. Commented Apr 29, 2015 at 8:45
2

I solved this in SharePoint(2013) Central Administration/Application Management/Manage Services on Server by starting the Microsoft SharePoint Foundation Sandboxed Code Service

0

Central Administration ---> System Settings ---> Manage Services on Server ---> Start “Microsoft SharePoint Foundation Sandboxed Code Service” on any of the servers in the farm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.