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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:20:03+00:00 2026-06-07T08:20:03+00:00

I started an ASP.NET MVC 4 app in an old project, then stopped development

  • 0

I started an ASP.NET MVC 4 app in an old project, then stopped development on it for a while. Now I’m back to working on this project, but (for a number of reasons) I’ve decided to start fresh from a new project solution. The one thing I’d like to keep from the old project is the DB (SQL Server Express). How can I move/copy the DB into the new solution (keeping in mind that I’ll probably delete the old solution entirely after I see everything is working properly in the new solution)? The old project used aspx and the new one uses Razor. Both projects are in C#.

Can I simply copy and paste the APP_DATA folder from the old project into the new one? If so, should I do this from Visual Studio somehow, or can I just go into Windows Explorer directly? If I did this, what settings/configurations/connection strings would I need to modify? Please keep in mind that this is the first time I’ve done a project linked to a database, so I need lots of details.

Also, I’m figuring I’ll use the feature to create the class models based on the DB, once I get the DB in place. Please let me know if this is probably the best route to go, or if you foresee any problems with this approach.

I’ve checked other questions on SO, but none of the similar questions (including How to move models to separate project .NET MVC) I found really answered my question. I also Googled it and found http://msdn.microsoft.com/en-us/library/ms345408.aspx, and it looks like the info is there (maybe), but I don’t understand all the terminology well enough to have confidence to start messing with things…I really don’t want to lose the previous work because I made poor assumptions. Thanks in advance!

  • 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-07T08:20:06+00:00Added an answer on June 7, 2026 at 8:20 am

    Just copy and paste the database, you can do it directly from the folder

    Use the same connection string, it could be that you only have to change the path to your DB

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

Sidebar

Related Questions

My ASP.NET MVC 3 website was working fine, and then this afternoon I started
I am working on an existing ASP.NET MVC app that started small and has
i've started working with ASP.NET MVC and using Entity Framework, concretely with SQLite db,
I was following this tutorial - Getting Started with an ASP.NET MVC 3 Website
I got a ASP.NET MVC 2.0 Preview 1 app and started to create some
can anyone help? I have just started asp.net mvc and its all working.. entering
I am just getting started with ASP.Net MVC 3 and am confused on this
I have an experience with CakePHP and now started coding on ASP.NET MVC framework.
I have an ASP.NET MVC app (non-transactional, social) I am workong on. I started
I've started using Ninject in an ASP.NET MVC 3 project, using the standard boot

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.