Author: Tester98 | Posted on: 3/22/2010 2:45:28 AM | Views : 235

Hi,
I am trying to send e-mail after an account with roles has been created, but I keep getting this error:  CS0123: No overload for 'RegisterUserWithRoles_CreatedUser' matches delegate 'System.EventHandler'.  


This is the wizard I am using:  
 <asp:CreateUserWizard ID="RegisterUserWithRoles" runat="server" 
        ContinueDestinationPageUrl="~/Default.aspx" 
        onactivestepchanged="RegisterUserWithRoles_ActiveStepChanged" 
        LoginCreatedUser="False" oncreateduser="RegisterUserWithRoles_CreatedUser">
        <MailDefinition BodyFileName="~/AccountCreated.htm" 
            From="myemail@gmail.com" IsBodyHtml="True" 
...

Go to the complete details ...