Erro de Servidor no Aplicativo '/'.

O índice estava fora dos limites da matriz.

Descrição: Ocorreu uma exceção não tratada durante a execução da atual solicitação da Web. Examine o rastreamento de pilha para obter mais informações sobre o erro e onde foi originado no código.

Detalhes da Exceção: System.IndexOutOfRangeException: O índice estava fora dos limites da matriz.

Erro de Origem:


Linha 148:        If dr.Read() Then
Linha 149:            If dr("URL") <> strUr1 Then
Linha 150:                menuinfo1_ = dr("URL").ToString().Split("/")(1) + "|" + dr("Title")
Linha 151:            Else
Linha 152:                menuinfo1_ = strUr1 + "|" + dr("Title")

Arquivo de Origem: e:\home\aircanada\Web\beta\info\TopMenuControlDefault.ascx    Linha: 150

Rastreamento de Pilha:


[IndexOutOfRangeException: O índice estava fora dos limites da matriz.]
   ASP.beta_info_topmenucontroldefault_ascx.BindData(String strUr1) in e:\home\aircanada\Web\beta\info\TopMenuControlDefault.ascx:150
   ASP.beta_info_topmenucontroldefault_ascx.Page_Load(Object sender, EventArgs e) in e:\home\aircanada\Web\beta\info\TopMenuControlDefault.ascx:134
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Informações sobre a Versão: Microsoft .NET Framework Versão:2.0.50727.8637; Versão do ASP.NET:2.0.50727.8656