本文介绍了在较低的环境中超时复制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个预定的工作,每天都在预定的时间运行。它开始突然抛出一周以来的错误。我更改了应用程序,以便在邮件中向我发送堆栈跟踪,以便我可以对其进行调试。下面是堆栈跟踪。



Hi All,

I have one scheduled job which is running every day at a scheduled time. It started suddenly throwing the time out error since a week. I changed the application to send a stack trace to me in mail so that I can debug it. Below is the stack trace.

===Stack Trace===
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader()
   at ABC.Program.Run_Report() in XXX.exe :line 8122

===Error Message===
Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

===Error Source===
.Net SqlClient Data Provider





我是无法在UAT服务器中复制该问题。有人可以帮助我理解这个堆栈跟踪,以便我可以复制它。



I am unable to replicate the issue in UAT server . Can some one please help me in understanding this stack trace so that I can replicate it.

推荐答案


这篇关于在较低的环境中超时复制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 07:03