码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2015-12-01 14:53:01      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

问题描述:微信退款提示加载证书失败问题(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=netfxbcl

摘要:

  1. 确定数字证书文件是否存在。
  2. 如果宿主是 IIS,做如下配置:Open IIS7 --> ApplicationPools(应用池) --> YourAppPool -->RighClikck(右键) --> Advanced Settings(高级) ---> Load User Profile(加载用户配置文件)  set this value  to true。

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

标签:

原文地址:http://www.cnblogs.com/xvqm00/p/5009929.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!