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 7:  
Line 8:          ' Uppercase first character.
Line 9:          array(0) = Char.ToUpper(array(0))
Line 10: 
Line 11: 

Source File: C:\Inetpub\vhosts\testlabz.com\ctet.testlabz.com\Student\StudentMasterPage.master.vb    Line: 9

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   Student_StudentMasterPage.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\testlabz.com\ctet.testlabz.com\Student\StudentMasterPage.master.vb:9
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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