SharePoint 2019 Solutions with sandboxed code are disabled
-
20-02-2021 - |
Pergunta
I have a SharePoint 2019 server with a single server farm role. I have enabled the sandbox code service following these steps: enable-sandbox-solutions-on-sharepoint-2016 When I upload a sandbox solution containing a workflow the activate button is enabled. When I click activate I get the ULS error: "Solutions with sandboxed code are disabled" And on screen "Activation of solutions with sandboxed code has been disabled"
any ideas?
When I create a new Sandbox solution in Visual Studio and upload this to my site I can activate the solution.
Are workflows no longer allowed in Sandbox solutions?
Solução
I think, the code-based sandbox solutions are no longer going to work in SP 2019. It's one of the most promitent things removed in the latest sever version of the product:
After careful consideration, we've decided to also remove support for code-based sandbox solutions in SharePoint Server 2019. Customers are recommended to explore SharePoint add-ins as an alternative, which are fully supported for both SharePoint on-premises and SharePoint.
Outras dicas
I agree with Denis, as mentioned this feature has already been removed in SP 2019.