When using CreateUserWizardStep to register a new user I'm having a problem.
Help me solve this problem.I have tried to configure in the web. Provider tag for configuration
& lt; Required question and answer = "wrong" & gt; Although it still does not work ... I'm using the MySQL database
RegisterUser :. An IEditableTextControl is not included with the CreateUserWizardStep.ContentTemplate ID question for the security question, it is necessary that your membership provider needs a question and answer.
Source error:
An unrestricted exception occurred during the execution of existing web requests. Information about the origin and location of the exception can be identified using the exception stack trace below.
Stack trace:.
[HttpException (0x80004005): RegisterUser: CreateUserWizardStep.ContentTemplate does not include questions IEditableTextControl security question with the ID, it is necessary to require a question and answer your subscription provider.]
System .Web.UI.WebControls.CreateUserStepContainer.get_QuestionTextBox () 1,448,475 System.Web.UI.WebControls. Kreateusservizrdkkreatekantrolhierrcy () 172 Systemkvebkuikvebcontrolskvizardkkreatecildkantrols (137 Systemkvebkuikvebcontrolskkreateusservizrdkkreatecildkantrols () +26 Systemkvebkuikkantrolkinsurecildkantrols ()) 87 Systemkveb .UI.WebControls.Wizard.OnInit (EventArgs e) +90
System.Web.UI.Control.InitRecursive (control namingContainer) 333
System.Web.UI.Control.InitRecursive (control namingContainer) +210 < br> System.Web.UI.Control.InitRecursive (control Namkrnkantanr) +210
Syst em.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 378
the following My membershipProvider is in web.config.
// Hole!
I have only one issue with SSLL. Add it to your .aspx file. This is work for me! // Tengo el Mismo problema con mySQL Agrega is an archive register. Aspx. Funcionó para mi!
Code:
& lt; P & gt; & Lt; Asp: Label ID = "QuestionLabel" runat = "server" Associated ControlID = "Question" & gt; Prigun de Seguried: & lt; / Asp: Label & gt; & Lt; Asp: text box id = "question" run = "server" cssClass = "textEntry" & gt; & Lt; / Asp: text box & gt; & Lt; asp: RequiredFieldValidator ID = "Prsnrupeyr" Rnat = "server" Kantroltowalidet = "question" CssClass = "Failure information" error message = "is required for the initial version." Tooltip = "Requires preliminary time." ValidationGroup = "RegisterUserValidationGroup" & gt; * & Lt; / ASP: RequiredFieldValidator & gt; & Lt; / P & gt; & Lt; P & gt; & Lt; ASP: Labels ID = "AnswerLabel" runs = "Server" Associated ControlID = "Answer" & gt; Seguried by reply: & lt; / ASP: Labels & gt; & Lt; ASP: Text Box ID = "Answer" Runat = "Server" CssClass = "textEntry" & gt; & Lt; / Asp: text box & gt; & Lt; Asp: RequiredFieldValidator id = "Reply required" runat = "server" ControlToValidate = "Answer" CssClass = "failureNotification" error message = "Automatically need to be used." Tooltip = "Necessary to shoot." ValidationGroup = "RegisterUserValidationGroup" & gt; * & Lt; / ASP: RequiredFieldValidator & gt; & Lt; / P & gt; Hope this helps! // Esporo Quéque de Allende Aude!
Regards / / Saludos Locuranet2 - Buenos Aires - Argentina
Comments
Post a Comment