Domanda

Scenario: SharePoint 2016 MinRole Farm with 2 Servers.

I tried starting Microsoft SharePoint Foundation Sandboxed Code Service in one and in both servers as I found this: Can't Activate Solution from Site Settings in SharePoint foundation 2010 and used the PS cmd:

$SA = Get-SPServiceInstance | Where {$_.Id -like “*GUID*”}
$SA.Provision()

This made that service start on the servers but shown as Not compliant in Central Administration>Services on Server. Anyway, by having this service running, it didn't make a difference and the Activate button kept been disabled for a new solution (template.wsp) I uploaded to the Solution Gallery.

Can you advise how to make the Activate button Enabled?

È stato utile?

Soluzione

Microsoft SharePoint Foundation Sandboxed Code Service compliant on the Front End, Front end with DC or Custom MinRole.

  • If you have any of the above role in your farm then you can enable the auto provision and start the services from central.
  • Also make sure that "SharePoint User Code Host" service is running on server (check via services on the computer)
  • If the service is started and the Activate button is not yet active you will need to elevate the privileges In the WebApplication UserPolicy, add the Service Account used for Microsoft SharePoint Foundation Sandboxed Code Service with Full Control rights.

Read more here: Enable Sandbox solutions on SharePoint 2016

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top