Server Error in '/asp' Application.

Too many connections

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: MySql.Data.MySqlClient.MySqlException: Too many connections

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[MySqlException (0x80004005): Too many connections]
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +389
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +39

[MySqlException (0x80004005): Authentication to host 'database.atomic-systems.com' for user 'asp' using method 'mysql_native_password' failed with message: Too many connections]
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex) +215
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() +108
   MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset) +372
   MySql.Data.MySqlClient.NativeDriver.Open() +801
   MySql.Data.MySqlClient.Driver.Open() +63
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +329
   MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection() +18
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +300
   MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() +151
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +60
   MySql.Data.MySqlClient.MySqlConnection.Open() +2140
   AtomicSystems.Core.MysqlDB.get_Connection() +501
   AtomicSystems.Core.MysqlDB.runQuery(String sqlStr, Hashtable paramList, Boolean closeAtEnd) +102

[Exception: Authentication to host 'database.atomic-systems.com' for user 'asp' using method 'mysql_native_password' failed with message: Too many connections (after repeated retries)]
   AtomicSystems.Core.MysqlDB.runQuery(String sqlStr, Hashtable paramList, Boolean closeAtEnd) +640
   asp.pagelets.cdOrders.CDDetails.getAllCDs(ArrayList prodIds, Boolean showUnavailable) in C:\Users\mattp\OneDrive\VSProjects\asp\asp\pagelets\cdOrders\CDDetails.cs:98
   asp.pagelets.cdOrders.availableCDs1.Page_Load(Object sender, EventArgs e) in C:\Users\mattp\OneDrive\VSProjects\asp\asp\pagelets\cdOrders\availableCDs.ascx.cs:32
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1607


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