Author: realshabih | Posted on: 12/30/2008 9:58:41 AM | Views : 529

Hi!

 I am using WorkFlowFoundation in SharePoint site. Currently the sharepoint site is running on windows authentication with anonymous access on. When i try to access the site using anonymous user and start WF workflow from code in user control, it throws exception when on StartRunTime() Method.

"System.ComponentModel.Win32Exception: Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
   at System.Diagnostics.Process.get_MainModule()
   at System.Workflow.Runtime.PerformanceCounterManager.SetInstanceName(String instanceName)
   at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()
   "

if i start the workflow from authenticated user it works smoothly. Anonymous user ...

Go to the complete details ...