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是否仍然崩潰。