Server Error in '/' Application.

因為體系緩沖區空間缺乏或隊列已滿,不克不及履行套接字上的操作。

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: 因為體系緩沖區空間缺乏或隊列已滿,不克不及履行套接字上的操作。

Source Error:


Line 45:             catch (MySqlException ex)
Line 46:             {
Line 47:                 throw ex;
Line 48:             }
Line 49:         }

Source File: d:\web\sqgdgc.com\App_Code\DataBase.cs    Line: 47

Stack Trace:


[SocketException (0x2747): 因為體系緩沖區空間缺乏或隊列已滿,不克不及履行套接字上的操作。]
   System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) +6124598
   System.Net.Sockets.Socket.InternalBind(EndPoint localEP) +99
   System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state) +210
   System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state) +206
   MySql.Data.Common.StreamCreator.CreateSocketStream(IPAddress ip, Boolean unix) +168
   MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout) +341
   MySql.Data.MySqlClient.NativeDriver.Open() +176

[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   DataBase.Open() in d:\web\sqgdgc.com\App_Code\DataBase.cs:47
   DataBase.CreateDataAdaper(String procName, MySqlParameter[] prams) in d:\web\sqgdgc.com\App_Code\DataBase.cs:314
   DataBase.RunProcReturn(String procName, String tbName) in d:\web\sqgdgc.com\App_Code\DataBase.cs:286
   Operation.SelectAll(String tbname) in d:\web\sqgdgc.com\App_Code\Operation.cs:1293
   ProductInfor.Page_Load(Object sender, EventArgs e) in d:\web\sqgdgc.com\ProductInfor.aspx.cs:67
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1