小编Dan*_*nds的帖子

威胁管理网关 2010 正在终止 SQL 连接

我的公司刚刚开始在 Windows 2008 R2 服务器上使用 TMG 2010 作为我们的防火墙/Web 代理。自移动以来,与 SQL Server 的所有连接都在大约 30 秒后关闭。

例如:

  1. 从 SSMS 运行查询将成功运行
  2. 等待 30+ 秒
  3. 再次运行查询,它将失败并显示以下错误

    A transport-level error has occurred when sending the request to the server.
    (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.
    
    Run Code Online (Sandbox Code Playgroud)
  4. 再次运行查询,它将正常工作。

运行时间超过 30 秒的查询也会出现同样的问题。

我假设第 3 步中的错误是因为 SSMS 没有意识到现有连接已关闭。

查看 TMG 日志,我可以看到 SQL 连接正在关闭,其中包含以下信息:

Closed Connection
Log type: Firewall service
Status: Unspecified error
Rule: Internal Internet Access
Source: Internal (xx.xx.xx.xx) …
Run Code Online (Sandbox Code Playgroud)

sql-server microsoft-ftmg-2010

5
推荐指数
1
解决办法
1751
查看次数

标签 统计

microsoft-ftmg-2010 ×1

sql-server ×1