简体   繁体   English

连接到Azure SQL数据库时出错。 信号灯超时时间已过。 (Microsoft SQL Server,错误:121)

[英]Error when connecting to Azure SQL database. The semaphore timeout period has expired. (Microsoft SQL Server, Error: 121)

In my company we are using Azure SQL database as our internal data storage. 在我的公司中,我们使用Azure SQL数据库作为内部数据存储。 All of my team members are using the same login and password to get access to database. 我所有的团队成员都使用相同的登录名和密码来访问数据库。 There is no issue when they are trying to connect or update database. 他们尝试连接或更新数据库时没有问题。

I am new employee, my manager granted me an access to the same database. 我是新员工,我的经理授予了我对同一数据库的访问权限。 As per company policy all of laptops in company have the same configuration, moreover system is installed from one backup image. 根据公司政策,公司中的所有笔记本电脑都具有相同的配置,而且系统从一个备份映像安装。 When I am trying to connect the same database with the same login and password it occur below error: 当我尝试使用相同的登录名和密码连接同一数据库时,会在错误下方显示:

TITLE: Connect to Server 标题:连接到服务器


Cannot connect to xxxxxxxx.database.windows.net. 无法连接到xxxxxxxx.database.windows.net。


ADDITIONAL INFORMATION:

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The semaphore timeout period has expired.) (Microsoft SQL Server, Error: 121)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=121&LinkId=20476

I took some of these tips http://support.microsoft.com/kb/325487 to try fix error but it not helped. 我采取了一些技巧http://support.microsoft.com/kb/325487尝试修复错误,但没有帮助。 Network adapter drivers were updated. 网络适​​配器驱动程序已更新。 Port 1433 was added to inbound and outbound rules in "Windows Defender Firewall with Advanced Security" feature. 端口1433已添加到“具有高级安全性的Windows Defender防火墙”功能的入站和出站规则中。

I contacted our internal support, but they do not know reason of this error. 我联系了我们的内部支持,但他们不知道此错误的原因。

Error 121 has always been considered a network related error as you can read in this Microsoft Support article. 您可以在 Microsoft支持文章中阅读,错误121一直被认为是与网络相关的错误。

Network connectivity problems have various causes, but they typically occur because of incorrect network adapters, incorrect switch settings, faulty hardware, or driver issues. 网络连接问题有多种原因,但通常是由于不正确的网络适配器,不正确的交换机设置,错误的硬件或驱动程序问题引起的。 Some connectivity symptoms are intermittent and do not clearly point to any one of these causes. 某些连接性症状是间歇性的,并未明确指出这些原因中的任何一种。

Typical error messages include the following: 典型的错误消息包括以下内容:

Error 121: "The semaphore timeout period has expired" (ERROR_SEM_TIMEOUT). 错误121:“信号灯超时时间已到期”(ERROR_SEM_TIMEOUT)。

If you are getting connected from home to the corporate network, please consider examine the Internet service you receive. 如果您要从家里连接到公司网络,请考虑检查收到的Internet服务。 Make sure you are getting the computer successfully connected to the VPN. 确保将计算机成功连接到VPN。

Please compare the network adapter settings in your computer with network adapters of other computers in your organization. 请比较您计算机中的网络适配器设置与组织中其他计算机的网络适配器。 A driver update may have changed settings. 驱动程序更新可能已更改设置。

If you are using SQL Server Management Studio to connect to Azure SQL Database, please consider to click the "Options" button of SQL Server Management Studio, on the "Connection Properties" tab, try setting a greater value for the "Connection time-out" setting. 如果使用SQL Server Management Studio连接到Azure SQL数据库,请考虑单击SQL Server Management Studio的“选项”按钮,在“连接属性”选项卡上,尝试为“连接超时”设置更大的值“ 设置。 If you are using a different tool to connect to Azure SQL Database look for a timeout setting and increase the value. 如果使用其他工具连接到Azure SQL数据库,请查找超时设置并增加该值。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQL Server Management Studio报告“信号灯超时时间已到期。” - Sql server management studio reporting “The semaphore timeout period has expired.” SQl服务器我需要修复“超时已过期”错误。 超时时间已过” - SQl Server I need to fix the error of “Timeout expired. The timeout period elapsed” SQL Server 仍然收到“超时已过期。 超时期限已过” - SQl Server still getting the error of “Timeout expired. The timeout period elapsed” SQL bcp 信号量超时期限已过 - SQL bcp The semaphore timeout period has expired SQL Azure 上的服务器:“执行超时已过期。操作完成前超时时间已过,或者服务器没有响应。” - SQL Server on Azure: "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding." 连接到SQL Server时突然出现“登录超时已过期”错误 - Suddenly getting “Login timeout expired” error when connecting to SQL Server SQL Server-评估期已过期错误 - SQL Server - evaluation period has expired error 在SQL Server Management Studio中还原.bak文件时,信号灯超时时间已到期 - The semaphore timeout period has expired while restoring .bak file in SQL Server Management Studio CodeIgniter 到 SQL 服务器获取错误:TCP 提供者:信号量超时期限已过期 - CodeIgniter to SQL Server get errror :TCP Provider: The semaphore timeout period has expired Web服务器 - 信号量超时期限已过期 - Web Server - The semaphore timeout period has expired
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM