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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:43:02+00:00 2026-05-26T01:43:02+00:00

I am currently working on an ASP.Net MVC 3 tutorial on the MS ASP.Net

  • 0

I am currently working on an ASP.Net MVC 3 tutorial on the MS ASP.Net website (MvcMusicStore). I use a database-first approach and have successfully modified the tutorial to access an independently created database through the Entity Framework instead of using the new EF 4.1 code-first approach, which is used in the tutorial. I use SQL Server 2008 R2 Developer Edition on my local machine.

The tutorial starts with an empty MVC website. The tutorial instructs on how to configure the website for the SQL provider through which user name and password registration occurs. I have been unable to get the provider to work. I actually created another separate MVC website with an account controller, and tried to register the provider through it (no code changes) and encountered the same problem. Obviously, cutting and pasting the relevant parts of the web config file from this second project into the empty tutorial did not fix the problem. I have been able to register and create an aspnetdb in SQL Server using aspnet_regsql. But my attempts to configure or access it have not worked. I have tried aspnet_regsql -A all -E, which gives me an error message. I have tried selecting the provider using the ASP.Net configuration tool that appears in the icon tray of the Solution Explorer in VS 2010. Have not been able to fix the problem.

Can anyone direct me to a solution to the problem? Is it simply the connection string? What am I missing?

  • 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-26T01:43:02+00:00Added an answer on May 26, 2026 at 1:43 am

    If you did not change any of the provider elements in the default MVC3 web.config, then you need to change the ApplicationServices connection string near the top of web.config to use the information to connect to your SQL Server aspnetdb database.

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

Sidebar

Related Questions

I am currently working on my first asp.net mvc application. I am trying to
First some background, I am currently working on a relatively large Asp.Net MVC application
I am currently learning ASP.NET MVC and I have followed Stephen Walther's tutorial: ASP.NET
I am currently working on an ASP.NET MVC3 website. I have a simple authentication
I am currently working on an ASP.NET MVC 3 app where I have a
I'm currently working on an ASP.net MVC web site project. I've put all database
I'm currently working on a ASP.NET MVC site where we have to run in
I am currently working on a ASP.NET MVC 3 project in which I have
I am creating an ASP.NET MVC 3 e-commerce website and I am currently working
Currently I'm working on an ASP.NET MVC 2 website. Company policy says that as

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.