Server Error in '/abendi' Application.

Item has already been added. Key in dictionary: 'modulos/USERMenu.ascx'  Key being added: 'modulos/USERMenu.ascx'

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.ArgumentException: Item has already been added. Key in dictionary: 'modulos/USERMenu.ascx'  Key being added: 'modulos/USERMenu.ascx'

Source Error:


Line 543:        else
Line 544:        {
Line 545:            Controles.Add(_caminhoDefault, (UserControl)this.LoadControl(_caminhoDefault));
Line 546:            ctl = (UserControl)this.LoadControl(Controles[_caminhoDefault].GetType(), null);
Line 547:        }

Source File: d:\dados\www\abendihomologacao.com.br\httpdocs\abendi\Templates\abendi\posicao.ascx.cs    Line: 545

Stack Trace:


[ArgumentException: Item has already been added. Key in dictionary: 'modulos/USERMenu.ascx'  Key being added: 'modulos/USERMenu.ascx']
   System.Collections.SortedList.Add(Object key, Object value) +7524583
   Templates_CMSHousLight_posicao.carregarControle(String controleASCX, Object[] constructorParameters) in d:\dados\www\abendihomologacao.com.br\httpdocs\abendi\Templates\abendi\posicao.ascx.cs:545
   Templates_CMSHousLight_posicao.ObterComponentes(List`1 listaModulo) in d:\dados\www\abendihomologacao.com.br\httpdocs\abendi\Templates\abendi\posicao.ascx.cs:451
   Templates_CMSHousLight_posicao.Page_Load(Object sender, EventArgs e) in d:\dados\www\abendihomologacao.com.br\httpdocs\abendi\Templates\abendi\posicao.ascx.cs:63
   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.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8806; ASP.NET Version:2.0.50727.5491