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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:24:08+00:00 2026-05-11T12:24:08+00:00

I have been learning ASP.NET by experimenting, watching videos on ASP.NET, and reading forums.

  • 0

I have been learning ASP.NET by experimenting, watching videos on ASP.NET, and reading forums. I haven’t found a quick solution to this though.

Whenever I add the ‘login’ or ‘createuserwizard’ from the toolbox it always adds the new users to a database known as ‘ASPNETDB.MDF’ even if I specify the remote database using a new SqlDataSource.

Is there an easy way to save the login information? Any tutorials that helped you?

  • 1 1 Answer
  • 2 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. 2026-05-11T12:24:09+00:00Added an answer on May 11, 2026 at 12:24 pm

    By default, ASP.NET will use a local file based database to store the login information.

    If you want to use a different database, you need to do a couple of things:

    1. Set up the Remote Database using aspnet_regsql.exe (usually found in C:\Windows\Microsoft.NET\Framework\v2.0.50727) – running this will start it in GUI mode, allowing you select a server and database to add the tables and stored procs to.
    2. Configure your web site to use this database. There are a few of places you need to do this:

    In the ConnectionStrings section of the web.config add your new ConnectionString:

    <add    name='zhpCoreContentConnectionString'   connectionString='Data Source=Hobbiton\SqlExpress;Initial Catalog=zhpCoreContent;Integrated Security=True'    providerName='System.Data.SqlClient'/> 

    In the MembershipProvider section of the web.config, ensure the ConnectionString attribute is set to the same name as your connection string (other settings elided for berevity):

    <membership>   <providers>     <add        connectionStringName='zhpCoreContentConnectionString'       applicationName='/doodle'       name='AspNetSqlMembershipProvider'       type='System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'/>   </providers> </membership> 

    If you are using Roles or Profiles you’ll want to ensure that they are also using your connectionstring to store everything together, and ensure that the applicationName attribute is common between them.

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

Sidebar

Related Questions

I have been learning ASP.NET MVC in the last few months and I think
I been reading on asp.net mvc learning site about JavaScript injection and man it
I have been learning ASP.NET MVC for a few months. I have learned about
I have been learning to develop websites using ASP.NET MVC 2 for work... and
I have been learning C# for the past few days for use with ASP.NET
Have been learning ASP.NET (using C#) over the past few days. I have made
I am learning asp.net MVC, as I have been using the sqlconnection, sqlcommands etc
Im learning asp.net mvc and have been investigating jquery and the like. As yet
I have been learning how to create dynamic images and dynamic stylesheets using ASP.NET
I'm working on an ASP.Net MVC project and have been learning a few little

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.