You are viewing limited content. For full access, please sign in.

Question

Question

WFSOException: An error occurred communicating with the workflow server [0604-WFSO0]

asked on April 10, 2019

Hi all.

I made an application in asp.net and, through the SDK, a workflow is executed.

I've tried it using my machine as a workflow server and it worked correctly.

However, when I put the application to connect to another workflow server on another machine, it shows me the following error:

 

[Win32Exception (0x80004005): The logon attempt failed]

[InvalidCredentialException: The server has rejected the client credentials.]
   System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult) +2333693
   System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult) +1062
   System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult) +1062
   System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult) +322
   System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) +36
   System.ServiceModel.Channels.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity) +130

[SecurityNegotiationException: The server has rejected the client credentials.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14833198
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +386
   Laserfiche.Workflow.IWorkflowServerApi.Connect(ConnectionOptions options) +0
   Laserfiche.Workflow.Internal.WorkflowServerClient.EnsureChannelReady() +178
   Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options) +44

[WFSOException: An error occurred communicating with the workflow server. View error log for more details. [0604-WFSO0]]
   Laserfiche.Workflow.Internal.WorkflowServerClient.Connect(ConnectionOptions options) +115
   Laserfiche.Workflow.WorkflowConnection.Connect() +823
   Laserfiche.Workflow.WorkflowApplication.ConnectToServer(WorkflowConnection connection) +135
   Laserfiche.Workflow.WorkflowApplication.Open() +190
   Datos.Laserfiche.IniciaWF(Int32 id) +103
   Firma_Digital_Laserfiche.Sign.Page_Load(Object sender, EventArgs e) +1151
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Why can this happen?
Thank you

0 0

Replies

replied on April 15, 2019

Most likely your application's app pool is using a user that does not have rights to use the web service.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.