1

I have dozens of 'Microsoft SharePoint Foundation Sandboxed Code Execution Worker Process Proxy' processes running. A new one seems to appear every 10-15 seconds until my memory is completely spent.

I'm running Windows Server 2012 R2 with SQL Server 2012 SP2 and SharePoint 2013 Server SP1.

I see the following errors in the ULS:

An unhandled exception was caught when trying to activate the worker process proxies. Exception caught was System.InvalidOperationException: Process has exited, so the requested information is not available. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_ProcessName() at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies().

Error activating the worker process manager instance within the worker process. - Inner Exception: System.InvalidOperationException: Process has exited, so the requested information is not available. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_ProcessName() at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()

I've set the logging for the User Code Service to Verbose and followed all the steps on these pages:

MSDN Blog

TechNet

Has anyone ran into this before?

  • Your running SharePoint 2013 and SQL Server on a domain controller?!?! – Matt Bear Aug 27 '14 at 17:46
  • Just a development VM =P – James Grizzle Aug 27 '14 at 17:47
  • 1
    Even for development, its a bad idea... A DC is not a regular server, and even for dev purposes, should always be stand alone. – Matt Bear Aug 27 '14 at 17:55
  • I have to second what @MattBear says. Especially with the proliferation of virtualization, cramming a bunch of server roles onto a single OS for development purposes is just inviting headaches, and doesn't provide any real benefit. Split the services up across VMs so you can isolate where the problem is, and make your troubleshooting/debugging less of an exercise in masochism. – HopelessN00b Aug 27 '14 at 18:00
  • 1
    I eventually gave up and created a 2 VM Farm. What a horrible waste of resources... – James Grizzle Sep 2 '14 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.