none
workflow access denied

    Question

  • I have a wrking workflow assembly for documents. That works great until published to my development environment. Then I get the error below which is when accesseng workflow runtime...

    System.Web.Services.Protocols.SoapException was unhandled by user code
      Actor=""
      Lang=""
      Message="System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.TypeInitializationException: The type initializer for 'ISDDocumentFlow.WorkflowMediator' threw an exception. ---> 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.NtProcessManager.GetFirstModuleInfo(Int32 processId)    at System.Diagnostics.Process.get_MainModule()    at System.Workflow.Runtime.PerformanceCounterManager.SetInstanceName(String instanceName)    at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()    at ISDDocumentFlow.WorkflowMediator..ctor()    at ISDDocumentFlow.WorkflowMediator..cctor()    --- End of inner exception stack trace ---    at ISDDocumentFlow.WorkflowMediator.get_Instance()    at ISDDocumentFlow.DocumentService.CreateDocument(Document Document)    at WSWorkflow.WSWorkflow.CreateDocumentInstance(Document Document) in C:\Documents and Settings\SKOKKINEN\My Documents\Visual Studio 2008\Projects\WorkFlowProjects\WSWorkflow\WSWorkflow\WSWorkflow.asmx.vb:line 24
    Monday, June 22, 2009 8:46 PM

All replies

  • Still no advice from any gurus? or non - gurus?
    Wednesday, July 08, 2009 7:08 PM
  • srk69,

    Any luck?  I am having this same issue and can't figure out the solution.

    Monday, August 17, 2009 4:40 PM
  • I added a possible fix for that in this thread: http://social.msdn.microsoft.com/Forums/en-US/windowsworkflowfoundation/thread/2d8c002c-0909-42f1-a69c-6c2ae6468ff8/?prof=required

    HTH, Sven
    Tuesday, December 01, 2009 1:10 PM