Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8264625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:31:35+00:00 2026-06-08T04:31:35+00:00

Source Error: Line 62: <asp:CreateUserWizard ID=CreateUserWizard1 // error appeared here Line 63: runat=server Line

  • 0

Source Error:

Line 62:         <asp:CreateUserWizard ID="CreateUserWizard1"  // error appeared here 
Line 63:             runat="server" 
Line 64:             OnCreatedUser="CreateUserWizard1_CreatedUser" 

I had a createuserwizard. and if the user had wrong input in step 2, the event would be cancelled. I used e.cancel = true to do this. But it led to this error.

No overload for ‘CreateUserWizard1_CreatedUser’ matches delegate ‘System.EventHandler’

Code behind:

protected void CreateUserWizard1_CreatedUser(object sender, System.Web.UI.WebControls.LoginCancelEventArgs e)
{    
   MSCaptcha.CaptchaControl Captcha1 = (CreateUserWizardStep1.ContentTemplateContainer.FindControl("Captcha1") as MSCaptcha.CaptchaControl);

   TextBox txtCaptcha = (TextBox)CreateUserWizardStep1.ContentTemplateContainer.FindControl("txtCaptcha");
   Label Captchalbl = (Label)CreateUserWizardStep1.ContentTemplateContainer.FindControl("Captchalbl");

   Response.Write(txtCaptcha.Text); 

   Captcha1.ValidateCaptcha(txtCaptcha.Text.Trim()); 

   if (!Captcha1.UserValidated)
   {               
       Captchalbl.Text = "InValid";
       Response.Write(Captchalbl.Text); 
       // Captchalbl.ForeColor = System.Drawing.Color.Red;
       e.Cancel = true;
   } 
   else
   {
       Captchalbl.Text = "Valid";
       Response.Write(Captchalbl.Text); 
       TextBox UserNameTextBox = (TextBox)CreateUserWizardStep1.ContentTemplateContainer.FindControl("UserName");
       SqlDataSource dataSource = (SqlDataSource)CreateUserWizardStep1.ContentTemplateContainer.FindControl("InsertExtraInfo");
       MembershipUser user = Membership.GetUser(UserNameTextBox.Text);  
       dataSource.InsertParameters.Add("UserId", user.ProviderUserKey.ToString());  
       dataSource.Insert();                   
   }
}

Here is the code :

<asp:CreateUserWizard ID="CreateUserWizard1"   //here is line 62 
        runat="server" 
        OnCreatedUser="CreateUserWizard1_CreatedUser"
        InvalidPasswordErrorMessage="Password length must be more than 8 characters." 
        ContinueDestinationPageUrl="~/Home.aspx" 
        DisplayCancelButton = "True" 
        CancelDestinationPageUrl="~/Home.aspx" 
        DisableCreatedUser="True" 
        OnSendingMail="CreateUserWizard1_SendingMail"
>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:31:36+00:00Added an answer on June 8, 2026 at 4:31 am

    You need to use the OnCreatingUser event.

        <asp:CreateUserWizard ID="CreateUserWizard1"   //here is line 62 
            runat="server" 
            OnCreatingUser="CreateUserWizard1_CreatedUser"
    ...
    

    http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.createuserwizard.oncreatinguser

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Parser Error Message: The server tag is not well formed. Source Error: Line 27:
Rebol tells the error and the line but it doesn't say in what source
you can view full source code here dpaste.com/hold/167199 Error: delete() takes exactly 2 arguments
An odd error here, perhaps someone can help track down source as it's attempting
Has anyone ever thought to attempt to modify the default ASP.NET Server error page
When I am running my ASP.NET application I will get an error Server Error
i upload my asp.net project to my server i get the following error: Parser
I am getting following error while running my application which is asp.net. Server Error
i have an asp,net textbox like this <asp:TextBox readonly=true ID=txtLastService runat=server></asp:TextBox> when i tried
i tried to construct url in asp.net like this <asp:HyperLink ID=edit runat=server NavigateUrl=./edit.aspx/&action=edit&id=<%#Eval(id)%>>Edit</asp:HyperLink> but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.