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 52: ' Impostazione lingua: priorità 1) impostazione diretta, 2) lingua da pagina singola, 3) da cookie
Line 53: '
Line 54: pages=db.Query("SELECT * FROM `pages` WHERE `key`=@0;", AidPageKey)
Line 55: if Context.GetRouteValue("Language")>"" then
Line 56: 	mylang=Context.GetRouteValue("Language")

Source File: C:\inetpub\wwwroot\neotours.it\_PageStart.vbhtml    Line: 54

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\neotours.it\_PageStart.vbhtml:54
   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