本文介绍了SharePoint工作流2013错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我遇到以下问题.最近,我们向工作流服务器场(ServerB)添加了一台服务器,并从WF服务器场(ServerA)中删除了旧服务器. Get-WFFarm和Get-SBFarm显示场启动并正在运行,并且显示正确的服务器.从CA,工作流代理说 "工作流程已连接".

I am experiencing the following issue. Recently we added a server to Workflow Farm (ServerB) and removed the old one from the WF Farm (ServerA). Get-WFFarm and Get-SBFarm shows farm up and running and the correct server is show. From CA, Workflow Proxy says " Workflow Connected".

但是,当尝试手动启动WF和/或尝试进入工作流状态"页面时,出现以下消息:

However, when attempting to manually start a WF and/or trying to get into Workflow Status page, I get the following message:


ULS使用带有上述错误的相关ID显示以下信息:

ULS shows the following information using the correlation ID shown with above error:

  1. System.Net.Sockets.SocketException:无法建立连接,因为目标计算机主动拒绝了它 ServerA-IPAddress:12291  
  2. 获取异常System.Web.HttpUnhandledException(0x80004005)的错误消息:引发了类型为'System.Web.HttpUnhandledException'的异常. ---> Microsoft.Workflow.Client.WorkflowEndpointNotFoundException:无法连接到远程服务
    在http:// ServerA:12291 /SharePoint/default/8ec59d4e-46d6-4b1a-b9f2-9615b0f9ebd0/46e7c10b-ecaa-4769-a8fa-ffaa20f24b21/$ Workflows/$ Instances?$ skip = 0& $ top = 100& monitoringParameter = 3062140c-9c22-42e0-9d39-f2b3a2f86ce2.请参阅InnerException 更多细节.客户端ActivityId:8b013f9e-c1d0-e03c-fe8b-90ef8389411a. ---> System.Net.WebException:无法连接到远程服务器---> System.Net.Sockets.SocketException:无法建立连接,因为目标计算机处于活动状态 拒绝了它 ServerA-IPAddress:12291   
  1. System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused itServerA-IPAddress:12291   
  2. Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Workflow.Client.WorkflowEndpointNotFoundException: Unable to connect to the remote service
     at http://ServerA:12291/SharePoint/default/8ec59d4e-46d6-4b1a-b9f2-9615b0f9ebd0/46e7c10b-ecaa-4769-a8fa-ffaa20f24b21/$Workflows/$Instances?$skip=0&$top=100&monitoringParameter=3062140c-9c22-42e0-9d39-f2b3a2f86ce2. See InnerException for more details. Client ActivityId : 8b013f9e-c1d0-e03c-fe8b-90ef8389411a. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it ServerA-IPAddress:12291    

我已确认EndPOint已启动并正在运行(https://ServerB:12290和http://ServerB:12291). Get-WFFarm和Get-SBFarm,将ServerB显示为正确的主机和端点.

I have validated EndPOint is up and running (https://ServerB:12290 and http://ServerB:12291). Get-WFFarm and Get-SBFarm, shown ServerB as the correct Host and EndPoint.

我不确定是否应该重新注册通过将resgister-spworkflowservice与-force参数结合使用,来实现SPWorkflowService .

I am not sure If I should re-register SPWorkflowService by using resgister-spworkflowservice with the -force parameter.

ServerA已使用工作流管理器配置向导删除.另外,由于安装了SP 2013 CU后服务器损坏,服务器也被删除.

ServerA was removed using Workflow Manager Configuration Wizard. Also server was removed because it got corrupted after SP 2013 CU installation.

此外,在CA的服务下对于应用程序,仅工作流服务应用程序代理"显示.我看不到工作流程服务" 应用程序"在上层.

Also, in CA under Service Applications, only "Workflow Service Application Proxy" is shown. I cannot see "Workflow Service Application" in upper level.

任何提示/帮助将不胜感激.

Any hint / help will be highly appreciated.

此致

推荐答案

请尝试逐步重新配置工作流程服务.

please try to reconfig the workflow service step by step.

https://technet.microsoft.com/en-us/library/jj658586.aspx


这篇关于SharePoint工作流2013错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 14:11