Hi,
When I start the Microsoft SharePoint Foundation Sandboxed Code Service in Central Admin it appears to start fine, however in Services.msc theSharePoint 2010 User Code Host is not started.
When I check the logs the error mentions PDH_INVALID_HANDLE
04/28/2011 10:21:51.60 SPUCHostService.exe (0x190C) 0x117C SharePoint Foundation
General 84yj Medium Performance Counter OS (pdh) call failed with
error code PDH_INVALID_HANDLE.
04/28/2011 10:21:51.60 SPUCHostService.exe (0x190C) 0x117C SharePoint Foundation
Sandboxed Code Service ei0p Monitorable - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc) at
Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError) at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32 retry, Int32 retryInterval) at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String
processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
I have seen resolutions for other PDH errors but none for the PDH_INVALID_HANDLE error, any help would be greatly appreciated.
Thanks,
Allan









