Server Error in '/' 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:


Line 57: ' Impostazione lingua: priorità 1) impostazione diretta, 2) lingua da pagina singola, 3) da cookie
Line 58: '
Line 59: pages=db.Query("SELECT * FROM `pages` WHERE `slug`=@0;", QPageKey)
Line 60: if Context.GetRouteValue("Language")>"" then
Line 61: 	mylang=Context.GetRouteValue("Language")

Source File: C:\inetpub\wwwroot\madredelbuonconsiglio.it\baseroot\_PageStart.vbhtml    Line: 59

Stack Trace:


[MySqlException (0x80004005): Too many connections]
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +389
   MySql.Data.MySqlClient.NativeDriver.Open() +265
   MySql.Data.MySqlClient.Driver.Open() +63
   MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) +331
   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() +2143
   WebMatrix.Data.Database.EnsureConnectionOpen() +55
   WebMatrix.Data.<QueryInternal>d__0.MoveNext() +71
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +453
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +73
   WebMatrix.Data.Database.Query(String commandText, Object[] parameters) +131
   ASP._Page__PageStart_vbhtml.Execute() in C:\inetpub\wwwroot\madredelbuonconsiglio.it\baseroot\_PageStart.vbhtml:59
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +67
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +142


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