xiefengdaxia123

今天搭建微信扫码支付环境的时候,一样的配置参数,调用连接提示错误

错误:调用的目标发生了异常

然后跟踪到执行

 MD5 md5 = System.Security.Cryptography.MD5.Create();

 

代码报错,使用度娘搜索无果。后面从谷歌搜索英文错误得以解决

解决办法:

add the following configuration to your application configuration file and see if it works fine for you.

加入下面的配置到你的应用程序配置文件,然后在看是否有效。

<configuration>
    <runtime>
       <enforceFIPSPolicy enabled="false"/>
    </runtime>
</configuration>

笔者加入到app.config文件后,得到解决

解决办法原文链接,请点击这里

 

分类:

技术点:

相关文章:

  • 2021-07-06
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-10-16
  • 2021-07-23
  • 2022-02-04
猜你喜欢
  • 2021-06-02
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-10-17
相关资源
相似解决方案