打开 CRM 时,出现错误:"Invalid Action – The selected action was not valid"

今天当所有用户在打开CRM时,都出现了一个错误提示 “Invalid Action – The selected action was not valid”.

打开服务器的 event viewer查看, 发现错误的数据源来自 MSCRMKeyGenerator。

CrmWRPCTokenKey

CrmKey(Id:, ScaleGroupId:, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:05/27/2015 06:31:05,
ExpiresOn:06/29/2015 06:31:05, CreatedOn:05/27/2015 06:31:05, CreatedBy:NT AUTHORITY\NETWORK SERVICE

CrmKeySetting(Id:, KeyType:CrmWRPCTokenKey, KeyLength:128, KeyGenerationInterval:720, KeyTimeToLive:792,
CryptoTimeToLive:72, Algorithm:HMACSHA256, ArchiveLength:1, Enabled:True,
ActiveKeys:[ScaleGroupId=,ActiveKeyId=])

出现这个错误通常是由于 Async service (maintenance) 没有运行, 主要因为是服务未运行或者异常原因导致其停止运行。

那么如何解决呢?

答案非常简单,在控制面板->服务中检查 Microsoft Dynamics CRM Asynchronous Service (maintenance) 是否运行,如果该服务已经停止,重新启动该服务即可。

  1. 在命令行中输入 services.msc
  2. 查找 Microsoft Dynamics CRM Asynchronous Service (maintenance) 并且启动它。

如何问题仍然没有解决,可以尝试运行以下指令I。

打开 命令行

    1. 进入 Dynamics CRM 的目录, cd %PROGRAMFILES%\Microsoft Dynamics CRM
    2. 然后进入到 tools 目录
    3. 执行命令 Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R
    4. 打开CRM测试,应该问题解决了.

--------------------- 本文来自 bennymavis 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/BennyMavis/article/details/82937847?utm_source=copy 

posted @ 2018-08-31 16:56  大漠银狐  阅读(437)  评论(0编辑  收藏  举报