CSharp - 在IO操作中,MySQL超时

我最近开始负责C#Web爬虫项目。

运行尝试运行解决方案时,出现以下错误:

asdasd 2013-07-03 15:14:46. 6525 DEBUG Loading agency cache. 2013-07-03 15:15:29. 8820 ERROR
消息:IO操作超时
Source :MySql.Data Stack Trace : at MySql.Data. MySqlClient.TimedStream.StopTimer() at MySql.Data. MySqlClient.TimedStream.Read(Byte [] buffer, Int32 offset, Int32 count) at System.IO. BufferedStream.Read(Byte [] array, Int32 offset, Int32 count) at MySql.Data. MySqlClient.MySqlStream.ReadFully(Stream stream, Byte [] buffer, Int32 offset, Int32 count) at MySql.Data. MySqlClient.MySqlStream.LoadPacket() at MySql.Data. MySqlClient.MySqlStream.ReadPacket() at MySql.Data. MySqlClient.NativeDriver.FetchDataRow(Int32 statementId, Int32 columns) at MySql.Data. MySqlClient.Driver.FetchDataRow(Int32 statementId, Int32 columns) at MySql.Data. MySqlClient.ResultSet.GetNextRow() at MySql.Data. MySqlClient.ResultSet.NextRow(CommandBehavior behavior) at MySql.Data. MySqlClient.MySqlDataReader.Read() TargetSite :Void StopTimer( )

时间:

上面的MySqlClient.MySqlDataReader.Read()调用来自MySQL驱动程序库。 超时可能是由于SQL Server上的设置阻止了过多的资源使用。

...