previously I asked on sandbox solutions in 2013 here and part of the solution was
[...] coded sandboxed solutions will continue to work in on-premise SharePoint [...]
Yet, I still could not manage to activate even the simplest (empty project, one feature, one event receiver on that feature, no code...) solution. The error is always:
Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0
However, there was one answer that suggested
Set-SPLogLevel -Identity "SharePoint Foundation:Sandboxed Code Service" -TraceSeverity "Verbose"
Restart-Service -Name "SharePoint User Code Host"
And now... This fixed the error for me - and I can't comprehend why this is.
- Can someone verify the "fix"?
- Can someone shed some light on why this might be?