首页 > 解决方案 > 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

标签: sql-serverreporting-services

解决方案


我们可以通过将以下代码添加到我们的 C# 应用程序来解决该问题:

ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12

推荐阅读