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

  • Home
  • SEARCH
  • 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 8025057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:02:36+00:00 2026-06-04T23:02:36+00:00

I have a website that is already built using the default aspnet membership provider.

  • 0

I have a website that is already built using the default aspnet membership provider. I am looking to expand it in order to slightly modify the functions.

From my understanding, I would want to create a custom membership provider inheriting from the membership class, and then overload the functions. I got that far, but I was unable to figure out how to call the original validate user.

My goal was to change the validate user to something like…

public override bool ValidateUser(string userName, string password)
    {
        if(base.ValidateUser(userName, password))
        {
          \\Write to database that User logged in
          return true;
        }
        return false;
    }

However, when I tried that, base.ValidateUser(x,y) threw errors. How would I go about achieving what I want to?

  • 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-04T23:02:37+00:00Added an answer on June 4, 2026 at 11:02 pm

    My guess is that you have inherited from the abstract MembershipProvider class. If this is so then calling the base class method is of course impossible as there is no implementation in the abstract class.

    If, on the other hand, you want to call a base class method, you have to inherit from proper base class, like the SqlMembershipProvider.

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

Sidebar

Related Questions

I have a website that's using forms authentication and membership. A user must have
I have a website that I built using Django. Using the settings.py file, I
So far I have been using the WebSite Administration Tool built in Visual Studio
I have an e-commerce website that is already up and running for some time.
I have built a bulk email sending website for a client that is required
I've got an issue involving a website that I have been using VS 2008
I have a website that is using SMF forum (simplemachines.org). I have been using
I have a website/web app built with jquery mobile that I am trying to
So basically I have website that has names of cities that can be checked
I have a website that has approx 1000 different strings in a mysql database

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.