.NET:System.Security.Cryptography.CryptographicException 的解决办法

问题描述:微信退款提示加载证书失败问题(System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile)微信

详细内容参考此网址:http://social.msdn.microsoft.com/Forums/en-US/ec93922a-fd1e-4225-b5cf-1472ebb3acd1/systemsecuritycryptographycryptographicexception-the-system-cannot-find-the-file-specified?forum=netfxbclthis

摘要:ci

  1. 肯定数字证书文件是否存在。
  2. 若是宿主是 IIS,作以下配置:Open IIS7 --> ApplicationPools(应用池) --> YourAppPool -->RighClikck(右键) --> Advanced Settings(高级) ---> Load User Profile(加载用户配置文件)  set this value  to true。
相关文章
相关标签/搜索