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 22:         string[] pro_gunList = (tablo.Rows[0]["tarih"]).ToString().Split('.');
Line 23:         pro_gun = pro_gunList[0];
Line 24:         pro_ay = pro_gunList[1];
Line 25:         pro_yil = pro_gunList[2];
Line 26: 

Source File: c:\inetpub\vhosts\ikincielpaletalsat.com\httpdocs\Global.asax    Line: 24

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in c:\inetpub\vhosts\ikincielpaletalsat.com\httpdocs\Global.asax:24
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8893976
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175