Wrox Programmer Forums
BOOK: Professional ASP.NET MVC 4
This is the forum to discuss the Wrox book Professional ASP.NET MVC 4 by Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen; ISBN: 978-1-118-34846-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 25th, 2013, 01:54 PM
Registered User
Join Date: Sep 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default membership and user creation

i wrote the following code and received the following error..

"System.Web.Security.MembershipCreateUserException : The password-answer supplied is invalid."

public ActionResult Index(Surveyor s)
if (ModelState.IsValid)
Membership.CreateUser(s.SurveyorName, s.Password);
FormsAuthentication.SetAuthCookie(s.SurveyorName, false);
return RedirectToAction("Registered");


so what is the mistake?
Old March 11th, 2015, 10:11 AM
Registered User
Join Date: Mar 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by Romantic View Post
This is extremely decent and OK post....you shook posting it.....Thanks a considerable measure for posting it....!!
dao han ngan hang

Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership / User question rsearing ASP.NET 3.5 Professionals 29 February 21st, 2009 12:45 PM
Dim user As MembershipUser = Membership.GetUser(us sstuber BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 May 8th, 2008 03:42 PM
Membership User kulkarnimonica ASP.NET 2.0 Professional 2 July 12th, 2007 04:55 PM
problem with creating membership user hertendreef ASP.NET 2.0 Basics 1 April 9th, 2007 02:37 PM
user profile creation problem yasminnnnn BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 6 December 11th, 2006 09:13 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.