我遇到连接到SQL Server 2012的远程实例的服务的问题.
.NET 2.0服务在客户端计算机上运行,它使用TCP/IP连接到当前运行SQL Server 2012实例的远程Web服务器.该Web服务器曾经是Windows Server 2003和SQL Server 2005并已升级6几个月前没有任何问题.然后,该服务检查是否有任何需要下载的数据.
客户端机器
网络服务器
直到上周五它突然停止工作并且它给出以下错误日志消息,这运行正常5年以上
Event Type: Warning
Event Source:
Event Category: None
Event ID: 0
Date: 21/05/2013
Time: 16:45:11
User: N/A
Computer:
Description:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject …Run Code Online (Sandbox Code Playgroud)