%AppData%\Roaming\Microsoft\Crypto\RSA滿了

Background

Folder %AppData%\Roaming\Microsoft\Crypto\RSA filled up with hundreds of small files

knowledge from https://support.qlik.com/articles/000070548

Folder %AppData%\Roaming\Microsoft\Crypto\RSA filled up with hundreds of small files

Description

The folder %AppData%\Roaming\Microsoft\Crypto\RSA (Example: C:\Users\qliksense.services\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-116657702-4158495111-16012) fills up with hundreds of small files.

May experience the error described under Dispatcher dotnet.exe Exception code: 0xe0434352

Environment:

Qlik Sense April, June, September, Novembre 2018, maybe later

Cause

Sometimes after upgrading to Qlik Sense April through November 2018 and maybe later, if using SAML, the Hybrid Deployment Service fails to delete the files it makes in the folder %AppData%\Roaming\Microsoft\Crypto\RSA.
NOTE: these spurious files created can be safely deleted.

Resolution

These spurious files created can be safely deleted.

Workaround
If Hybrid Deployment Service used in Multi-Cloud distribution is not needed, disable it by following the following steps:

  1. Plan for a stop of the environment (about 30 min and less )
  2. Stop all Qlik Services .
  3. Make a backup of C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf , and place it somewhere outside the folder
  4. Edit the above file and search for all sections [nameof the service] that contains the ExePath=dotnet\dotnet.exe these are :
    [hybriddeploymentservice] , [appdistributionservice] , [entitlementprovisioningservice]
  5. add a row with Disabled=true ex:
    [hybriddeploymentservice]
    Disabled=true
    Identity=Qlik.hybrid-deployment-service
    DisplayName=Hybrid Deployment Service
    ExePath=dotnet\dotnet.exe
    UseScript=false
  6. Save the file , pay attention when saving not to change the extension in .txt (could happen with notepad)
  7. Start Qlik Sense services starting with Qlik Sense DataBase , Qlik Sense Repository Service , Qlik Sense Dispatcher , and the remaining Services .
  8. check in Events Viewer if there are still crashes for the .Net Framework.

原因

有时,在升级到Qlik Sense(从2018年4月升級到2018年11月)之后,或者更新的版本吧,如果使用SAML,则Hybrid Deployment Service无法删除它在文件夹%AppData%\ Roaming \ Microsoft \ Crypto \ RSA中创建的文件。

解決方案

可以安全地删除创建的这些虚假文件。

如果不需要多云分发中使用的混合部署服务,请按照以下步骤禁用它:

  1. 计划停止环境(大约30分钟以内)
  2. 停止所有Qlik服务。
  3. 备份C:\ Program Files \ Qlik \ Sense \ ServiceDispatcher \ services.conf,并将其放置在文件夹外部
  4. 编辑上面的文件,并搜索包含ExePath = dotnet \ dotnet.exe的所有部分[服务名称],这些部分是:
    [hybriddeploymentservice],[appdistributionservice],[entitlementprovisioningservice]
  5. 添加一行,其中Disabled = true,例如:
    [混合部署服务]
    禁用= true
    身份= Qlik.hybrid部署服务
    DisplayName =混合部署服务
    ExePath = dotnet \ dotnet.exe
    UseScript = false
  6. 保存文件,保存时请注意不要更改.txt中的扩展名(可能发生在记事本中)
  7. 从Qlik Sense数据库,Qlik Sense存储库服务,Qlik Sense Dispatcher和其余服务开始,启动Qlik Sense服务。
  8. 在事件查看器中检查.Net Framework是否仍然崩溃。
发布了296 篇原创文章 · 获赞 416 · 访问量 116万+

猜你喜欢

转载自blog.csdn.net/moshowgame/article/details/104399462