title: Membership.CreateUser() is giving this error "Specified method is not supported"
body: <p>When I register new user using</p>
  
  <p><code>Membership.CreateUser(model.UserId, model.Password, model.Email, null, null, true, null, out createStatus)</code> </p>
  
  <p>I am getting the following error:</p>
  
  <blockquote>
    <p>Specified method is not supported</p>
  </blockquote>
  
  <p>Please help</p>
  
  <pre><code>    [HttpPost]
      [AllowAnonymous]
      [ValidateAntiForgeryToken]
      public ActionResult Register(RegisterModel model)
      {
          if (ModelState.IsValid)
          {
              // Attempt to register the user
              MembershipCreateStatus createStatus;
              Membership.CreateUser(model.UserId, 
                                    model.Password, 
                                    model.Email, 
                                    null, 
                                    null, 
                                    true, 
                                    null, 
                                    out createStatus);
  
              if (createStatus == MembershipCreateStatus.Success)
              {
  
                  UpdateUserInfo();
                  /* "False" for createPersistentCookie: */
                  FormsAuthentication.SetAuthCookie(model.UserId, false);
                  return RedirectToAction("Index", "Home");
              }
              else
              {
                  ModelState.AddModelError("", ErrorCodeToString(createStatus));
              }
          }
  
          // If we got this far, something failed, redisplay form
          return View(model);
      }
  </code></pre>