問題:Config檔中的資料庫連線資訊加密後,執行程式出現錯誤訊息「Failed to decrypt using provider 'RsaProtectedConfigurationProvider'-Error message from the provider. The RSA key container could not be opened. (C:\Program Files\TQuark\OGSystem\OGWin\OGWin.exe.Config line 44)The RSA key container could not be opened.」

徵狀

解決方案

於命令提示字元輸入:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -pa "NetFrameworkConfigurationKey" "LOGINACCOUNT" 其中"LOGINACCOUNT"為執行門將程式的作業系統登入者帳號。
執行成功後顯示:
Adding ACL for access to the RSA Key container...Succeeded!

最終審定

最後檢閱日期:2018/01/11
適用門將版本號:2.0含以上
問題編號:2016081101