title: Compilation Error - does not have the same signature as delegate
body: <p>Not sure what I am doing wrong...</p>
  
  <blockquote>
    <p>BC30408: Method 'Protected Sub ValidateUser(sender As Object, e As
    System.EventArgs)' does not have the same signature as delegate
    'Delegate Sub AuthenticateEventHandler(sender As Object, e As
    System.Web.UI.WebControls.AuthenticateEventArgs)'.</p>
  </blockquote>
  
  <p><strong>Error occurs on this</strong> </p>
  
  <pre><code>&lt;asp:Login ID="Login1" runat="server" OnAuthenticate="ValidateUser"&gt;
  </code></pre>
  
  <p><strong>Detailed info about error.</strong></p>
  
  <blockquote>
    <p>Microsoft (R) Visual Basic Compiler version 8.0.50727.5420 for
    Microsoft (R) .NET Framework version 2.0.50727.5420 Copyright (c)
    Microsoft Corporation.  All rights reserved.</p>
    
    <p>C:\inetpub\wwwroot\Login.aspx(43) : error BC30408: Method 'Protected
    Sub ValidateUser(sender As Object, e As System.EventArgs)' does not
    have the same signature as delegate 'Delegate Sub
    AuthenticateEventHandler(sender As Object, e As
    System.Web.UI.WebControls.AuthenticateEventArgs)'.</p>
  
  <pre><code>        AddHandler __ctrl.Authenticate, AddressOf Me.ValidateUser
                                                    ~~~~~~~~~~~~~~~ C:\inetpub\wwwroot\Login.aspx(43) : error BC30408: Method 'Protected
  </code></pre>
    
    <p>Sub ValidateUser(sender As Object, e As System.EventArgs)' does not
    have the same signature as delegate 'Delegate Sub
    AuthenticateEventHandler(sender As Object, e As
    System.Web.UI.WebControls.AuthenticateEventArgs)'.</p>
  
  <pre><code>        RemoveHandler __ctrl.Authenticate, AddressOf Me.ValidateUser
                                                       ~~~~~~~~~~~~~~~
  </code></pre>
  </blockquote>