Hello.
I have a newsletter user control and it is added in several places within the project, for each page it is called, a property is set to insert the email into a certain group of emails (% with%). It turns out that now beyond the internal pages the same UC will be in GrupoEmailNewsletter
, where it began to give problems.
In the master is registered and called:
<%@ Register Src="../UserControl/BoxNewsletter.ascx" TagName="BoxNewsletter" TagPrefix="uc3" %>
<uc3:BoxNewsletter ID="boxNewsletter" runat="server" GrupoEmailNewsletter="Geral" />
And the MasterPage
page is also registered and called:
<%@ Register TagPrefix="uc5" Src="~/Include/UserControl/BoxNewsletter.ascx" TagName="Newsletter" %>
<uc5:Newsletter id="ucNewsletter" runat="server" GrupoEmailNewsletter="GrupoA" />
When accessing the page GrupoA.aspx
, the following error occurs:
ERRO DO SISTEMA:
Exceção do tipo 'System.Web.HttpUnhandledException' foi acionada.
Uma exceção foi acionada pelo destino de uma chamada.
Já existe uma entrada com a mesma chave.
I have found ids and have no matches. What else would this error be?