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 977:    End If
Line 978:
Line 979:    If (PageData("token") <> "" And (uprn <> "" Or propdetailsArr(227) <> "")) Then
Line 980:        @<script src="https://api.broadbandavailability.uk/js/v1/"
Line 981:                 Data-token="bbuk-u-ufCxKgVOvm"

Source File: c:\sites\sites-tt\purpleletting\Fulldetails.vbhtml    Line: 979

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP._Page_Fulldetails_vbhtml.Execute() in c:\sites\sites-tt\purpleletting\Fulldetails.vbhtml:979
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.StartPage.RunPage() +17
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


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