gpt4 book ai didi

azure - 从 Azure 服务连接到本地 SQL 数据库时出现间歇性错误

转载 作者:行者123 更新时间:2023-12-05 07:55:39 24 4
gpt4 key购买 nike

创建了一个 Azure MVC 网站,我们使用 Azure 混合连接从服务( Controller )代码连接到本地 SQL 服务器。我们间歇性地面临以下问题。

"A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.)"

请提供解决此问题的建议。

最佳答案

您可以尝试以下解决方案:

尝试增加连接超时。

检查是否启用了远程连接。

尝试添加防火墙异常(exception)。

首先,该错误意味着网络有一些额外的延迟、数据库已关闭或者您可能有太多并发连接打开数据库。

(确保关闭所有打开的数据读取器。)

also it may be due to this

关于azure - 从 Azure 服务连接到本地 SQL 数据库时出现间歇性错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29552969/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com