sql-server - SSRS 报告在 TLS 1.2 后不起作用
问题描述
我们正面临与SSRS Report
服务器中启用后 TLS 1.2 相关的问题。
错误:
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
解决方案
我们可以通过将以下代码添加到我们的 C# 应用程序来解决该问题:
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12
推荐阅读
- database - 如何设计这个 NoSQL DB
- llvm - 使用 LLVM 通道混淆整数常量
- python - 查找两个数组之间变化值的索引
- python - 创建一个 Python 类,它既可以返回自身的表示,也可以使用计算结果调用
- matlab - MATLAB 图形通过旋转 3D 对象严重缩放
- android - 如何使用新的 android jetpack 导航保存底部导航视图片段的状态?
- aws-lambda - 为什么“dotnet lambda deploy-function”不能从 Azure DevOps 工件源中提取包?
- android - Android导航组件:java.lang.IllegalStateException:还原期间的未知目的地
- vector - 需要帮助确定我的游戏的 2D 轨道
- git - Git 工作除了推送“服务器意外关闭网络连接”