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 3342456
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:50:26+00:00 2026-05-18T00:50:26+00:00

Just 2 days ago I got to learn log-in controls and forms authentication in

  • 0

Just 2 days ago I got to learn log-in controls and forms authentication in ASP .NET.

Before then I used to create my own database my user table and my own logic for log-in and log-out using sessions and sql server.

The new ways is cool as it allows me to do the work fast than before, but what when I use these log-in and create user control a default database ASPNETDB.MDF is saved in App_Data folder.

Since I use my single database for storing everything regarding my site, is it possible to store all the user information in my own database and in my own tables?

I want the power of new controls with the flexibility of my own.

  • 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-05-18T00:50:27+00:00Added an answer on May 18, 2026 at 12:50 am

    You just have to add a SQL membership provider in your web.config and point it to the right DB, sample extracts below.

    <connectionStrings>
        <remove name="LocalSqlServer"/>
        <clear/>
        <add name="LocalSqlServer" connectionString="Data Source=localhost;Initial Catalog=MYDBNAME;User ID=foo;Password=bar" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    
    
        <membership>
            <providers>
                <remove name="AspNetSqlMembershipProvider"/>
                <add connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="3" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
            </providers>
        </membership>
    

    Also here a link on how to Create the Membership Schema in SQL Server.

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

Sidebar

Related Questions

Some days ago I installed the ASP.NET MVC 3 Tools Update for Visual Studio
I realeased a new version 2.2 of my app just few days ago. Then
A few days ago, I wrote about issues with implementing a ListView in ASP.NET.
Just started working with Mercurial a few days ago and there's something I don't
I just started learning Common Lisp a few days ago, and I'm trying to
I've just started learning Java (about a week ago) and the last few days
I just started using Rails a few days ago, and I'm having trouble with
I just started with Java servlets few days ago. I am trying to develop
I've just start studying NHibernate 2 days ago, and I'm looking for a CRUD
A few days ago I got an assignment to make (amateur) model of my

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.