Index outside the bounds of the array
<p>During local my system its working but when i uploaded it on-site i encountered problem..
Do i need some dll?</p>

<blockquote>
  <p>Index was outside the bounds of the array.<br>
    Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.</p>
</blockquote>

<pre><code>Line 6:      if (Request.Params["mode"] != null) Mode = Request.Params["mode"];
Line 7:      if (!Path.Split('/')[3].Equals("Default.aspx") &amp;&amp; (String)Session["accesslevel"] == ("0"))
</code></pre>
