Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Best way to migrate from local Dev Environment to Production Server

$
0
0

Hey guys - 

I'm building a web app which I'd like to move to a production server (Windows Server, SQL Sever 2012).  I've implemented some basic authentication functionality using the LogIn controls and Membership and Roles services (which I've never used before).  As it is on my machine, this data is stored in an attached database file in App_Data called ASPNETDB.MDF.

In addition, I have created and am using a SQL database for my app which is a different database.  This database meets the needs of my app.  My tables, stored procs, etc.  I use SQL SSMS 2012 to manage and work with the database.  What I'd **LIKE** to do is migrate the Membership and Roles tables in "ASPNETDB" into MY database.  I can attach the ASPNETDB in my SSMS and see all the objects but they are still of course, two separate databases.  I assume this is a common need.  So...my question are ....

What's the best way to migrate the Roles & Membership db into MY database?

Where is the connection string info used by .NET for this ASPNETDB database?  I see nothing in the web.config file so even if I'm able to successfully migrate all the objects and data, how can I tell my app to look in **my** database to authenticate, check roles, etc.

Thanks in advance for your help!!


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>