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 56:             else if (DosyaYolu.IndexOf("/sayfa/referansdetay/") != -1)
Line 57:             {
Line 58:                 Context.RewritePath("/refdetay.aspx", "", "dil=" + yol[1] + "&active=3&k=" + yol[4] + "&s=" + yol[6], true);
Line 59:             }
Line 60:            

Source File: d:\inetpub\wwwroot\ttrbilisim.com\wwwroot\Global.asax    Line: 58

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in d:\inetpub\wwwroot\ttrbilisim.com\wwwroot\Global.asax:58
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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