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:
- Plan for a stop of the environment (about 30 min and less )
- Stop all Qlik Services .
- Make a backup of C:\Program Files\Qlik\Sense\ServiceDispatcher\services.conf , and place it somewhere outside the folder
- Edit the above file and search for all sections [nameof the service] that contains the ExePath=dotnet\dotnet.exe these are :
[hybriddeploymentservice] , [appdistributionservice] , [entitlementprovisioningservice] - 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 - Save the file , pay attention when saving not to change the extension in .txt (could happen with notepad)
- Start Qlik Sense services starting with Qlik Sense DataBase , Qlik Sense Repository Service , Qlik Sense Dispatcher , and the remaining Services .
- 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
中创建的文件。
解決方案
可以安全地删除创建的这些虚假文件。
如果不需要多云分发中使用的混合部署服务,请按照以下步骤禁用它:
- 计划停止环境(大约30分钟以内)
- 停止所有Qlik服务。
- 备份C:\ Program Files \ Qlik \ Sense \ ServiceDispatcher \ services.conf,并将其放置在文件夹外部
- 编辑上面的文件,并搜索包含ExePath = dotnet \ dotnet.exe的所有部分[服务名称],这些部分是:
[hybriddeploymentservice],[appdistributionservice],[entitlementprovisioningservice] - 添加一行,其中Disabled = true,例如:
[混合部署服务]
禁用= true
身份= Qlik.hybrid部署服务
DisplayName =混合部署服务
ExePath = dotnet \ dotnet.exe
UseScript = false - 保存文件,保存时请注意不要更改.txt中的扩展名(可能发生在记事本中)
- 从Qlik Sense数据库,Qlik Sense存储库服务,Qlik Sense Dispatcher和其余服务开始,启动Qlik Sense服务。
- 在事件查看器中检查.Net Framework是否仍然崩溃。