我最近有
- 已安装Workflow Manager 累积更新 2
- 将服务器总线从 1.0 升级到 1.1
现在,当我尝试加入 WF 农场时,我收到 401 错误提示
远程服务器返回错误:(401) Unauthorized。此操作需要管理声明...
有趣的是我可以加入SB Farm,但不能加入WF Farm。
这是 WF PowerShell 的输出:
PS C:\Program Files\Workflow Manager\1.0> Add-WFHost -WFFarmDBConnectionStringData 'Source=sqlserver;Initial Catalog=WFManagement;Integrated Security=True;Encryt=False' -RunAsPassword $RunAsPassword -EnableFirewallRules $true -SBClientConfiguration $SBClientConfiguration -CertificateAutoGenerationKey $CertificateAutoGenerationKey -Verbose;
VERBOSE: [04-05-2015 07:05:32]: Validating input and configuration parameters.
VERBOSE: [04-05-2015 07:05:33]: Installing auto-generated certificate.
VERBOSE: [04-05-2015 07:05:36]: Granting 'Log on as Service' privilege to the RunAs account.
VERBOSE: [04-05-2015 07:05:36]: Workflow Manager configuration starting.
VERBOSE: [04-05-2015 07:05:37]: Configuring Workflow Manager runtime settings.
Add-WFHost : The remote server returned an error: (401) Unauthorized. Manage cl
aim is required for this operation..TrackingId:653bd8b8-5061-4f3a-809a-cd7fd4b9
b665_Gunopsdk576903,TimeStamp:04-05-2015 05:05:38
At line:1 char:1
+ Add-WFHost -WFFarmDBConnectionString 'Data Source=sqlserver;Initial Catalog=WFM
ana ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : OperationStopped: (:) [Add-WFHost], Unauthorized
AccessException
+ FullyQualifiedErrorId : WFRuntimeSettingFailed,Microsoft.Workflow.Deploy
ment.Commands.AddWFHost
任何指针?