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 17: 
Line 18: 
Line 19:     string s = textList[1];
Line 20:     string pageName = r.Replace(s, " ");
Line 21: }

Source File: c:\HostingSpaces\kcinstitutes\kcinstitutes.com\wwwroot\UNA\page.cshtml    Line: 19

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP._Page_una_page_cshtml.Execute() in c:\HostingSpaces\kcinstitutes\kcinstitutes.com\wwwroot\UNA\page.cshtml:19
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +99
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +185
   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.4110.0