Server Error in '/' Application.

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

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: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Source Error:


Line 26:     }*/
Line 27: 
Line 28:     public static MySqlConnection Baglan() { MySqlConnection sqlConn = new MySqlConnection(fonksiyon.connString); if (sqlConn.State == ConnectionState.Closed) { sqlConn.Open(); } return (sqlConn); }
Line 29:     /*
Line 30:     public static int cmd(string sqlsorgusu)

Source File: c:\inetpub\vhosts\manayayinlari.com\httpdocs\App_Code\baglanti.cs    Line: 28

Stack Trace:


[SocketException (0x2747): An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full]
   System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) +6737464
   System.Net.Sockets.Socket.InternalBind(EndPoint localEP) +83
   System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state) +177
   System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state) +511
   MySql.Data.Common.StreamCreator.CreateSocketStream(IPAddress ip, Boolean unix) +229
   MySql.Data.Common.StreamCreator.GetStreamFromHost(String pipeName, String hostName, UInt32 timeout) +206
   MySql.Data.Common.StreamCreator.GetStream(UInt32 timeout) +204
   MySql.Data.MySqlClient.NativeDriver.Open() +349

[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   MySql.Data.MySqlClient.NativeDriver.Open() +407
   MySql.Data.MySqlClient.Driver.Open() +22
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +208
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +287
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +93
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +65
   MySql.Data.MySqlClient.MySqlConnection.Open() +568
   baglanti.Baglan() in c:\inetpub\vhosts\manayayinlari.com\httpdocs\App_Code\baglanti.cs:28
   baglanti.GetDataTable(String sql) in c:\inetpub\vhosts\manayayinlari.com\httpdocs\App_Code\baglanti.cs:82
   dildetay.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\manayayinlari.com\httpdocs\dildetay.aspx.cs:19
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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