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 51:                 var names = fullName.Split(' ');
Line 52:                 month = names[0];
Line 53:                 year = names[1];
Line 54:                // binddatanew123();
Line 55:             }

Source File: c:\inetpub\vhosts\plyreporter.com\httpdocs\magazines.aspx.cs    Line: 53

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   magazines.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\plyreporter.com\httpdocs\magazines.aspx.cs:53
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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