Server Error in '/tozoy' 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 86:                 else
Line 87:                 {
Line 88:                     string qid = pollPageRequested.Split(new char[] { '-' })[1];
Line 89:                     string cid = pollPageRequested.Split(new char[] { '-' })[2];
Line 90:                     if (Convert.ToInt32(qid) > 0)

Source File: d:\hosting\2138479\html\Tozoy\Global.asax    Line: 88

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in d:\hosting\2138479\html\Tozoy\Global.asax:88
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.4253; ASP.NET Version:2.0.50727.4252