System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at ASP.chiese_romaniche_gotiche_piemonte_bibliografia_htm.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\chieseromaniche\Chiese-Romaniche-Gotiche-Piemonte-Bibliografia.htm:line 134 Index was outside the bounds of the array.

Server Error in '/' Application.

Index was outside the bounds of the array.

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.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:


Line 300: 	Presente=0
Line 301: 	For J= 7 to 12
Line 302:  		If Lettere_Iniziali(i) = Iniziale(J-Non_Presenti) then
Line 303:   			Presente=1
Line 304:%> 

Source File: C:\inetpub\wwwroot\chieseromaniche\Chiese-Romaniche-Gotiche-Piemonte-Bibliografia.htm    Line: 302

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.chiese_romaniche_gotiche_piemonte_bibliografia_htm.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\inetpub\wwwroot\chieseromaniche\Chiese-Romaniche-Gotiche-Piemonte-Bibliografia.htm:302
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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