Export ASPNETDB data to another Database.

Posted by raziiq on Stack Overflow See other posts from Stack Overflow or by raziiq
Published on 2010-03-20T04:28:01Z Indexed on 2010/03/20 4:31 UTC
Read the original article Hit count: 551

Filed under:
|

Hi there. I am developing in Visual Web developer 2008. I have SQLEXPRESS 2005 and SQL Management Studio 2008 installed on my PC. I purchased a Database MS SQL 2008 on DiscountASP.net. Since the host provides only 1 database and my project has 2 database. One is the ASPNETDB that contains the roles and user etc (created using the Website Configuration Wizard) and the other is my database containing data to my website and is named MainDB.

As Host allows only 1 database so i exported my ASPNETDB's tables and stored procedures to my MainDB using aspnet_regsql.exe, but the problem is that stored procedures and tables are exported to my MainDB but data is not exported, i mean there are no users in the tables.

My Question is how to export everything of ASPNETDB including stored procedures, tables and data to my MainDB??

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sql-server-2005