“/”应用程序中的服务器错误。

您的主机中的软件中止了一个已建立的连接。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.Sockets.SocketException: 您的主机中的软件中止了一个已建立的连接。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SocketException (0x2745): 您的主机中的软件中止了一个已建立的连接。]
   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +232

[IOException: 无法从传输连接中读取数据: 您的主机中的软件中止了一个已建立的连接。。]
   MySql.Data.Common.MyNetworkStream.HandleOrRethrowException(Exception e) +173
   MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count) +312
   MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count) +158
   System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count) +251
   MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count) +57
   MySql.Data.MySqlClient.MySqlStream.LoadPacket() +86

[MySqlException (0x80004005): Reading from the stream has failed.]
   MySql.Data.MySqlClient.MySqlStream.LoadPacket() +475
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +40
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +55

[MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Reading from the stream has failed.]
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex) +346
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +125
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset) +509
   MySql.Data.MySqlClient.NativeDriver.Open() +1242
   MySql.Data.MySqlClient.Driver.Open() +71
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +442
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +382
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +164
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +153
   MySql.Data.MySqlClient.MySqlConnection.Open() +1736
   GC.DAL.MySqlHelperDAL.PrepareCommand(MySqlCommand command, MySqlConnection connection, MySqlTransaction transaction, CommandType commandType, String commandText, MySqlParameter[] parms) +182
   GC.DAL.MySqlHelperDAL.ExecuteDataSet(MySqlConnection connection, MySqlTransaction transaction, CommandType commandType, String commandText, MySqlParameter[] parms) +216
   GC.DAL.MySqlHelperDAL.ExecuteDataSet(MySqlConnection connection, CommandType commandType, String commandText, MySqlParameter[] parms) +86
   GC.DAL.MySqlHelperDAL.ExecuteDataSet(String connectionString, CommandType commandType, String commandText, MySqlParameter[] parms) +136
   GC.DAL.MySqlHelperDAL.ExecuteDataTable(String connectionString, CommandType commandType, String commandText, MySqlParameter[] parms) +78
   GC.DAL.MySqlHelperDAL.ExecuteDataTable(String commandText, MySqlParameter[] parms) +90
   GC.BLL.WebBaseAction.getWebInfo() +115
   GC.Velocity.BaseTemplete.getWebInfo() +188
   HostSend.hmnews.index.Page_Load(Object sender, EventArgs e) +1556
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.8669; ASP.NET 版本:2.0.50727.8653
Baidu
sogou