Wrox Programmer Forums
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 1st, 2011, 02:55 PM
Authorized User
Points: 84, Level: 1
Points: 84, Level: 1 Points: 84, Level: 1 Points: 84, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2011
Posts: 19
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy Deploying to Production Site

I have run the Database Publishing Wizard and have a .sql file. When I run this, does it create a whole new database? I have a database where I have my data for this project. Can I just add the ASPNET tables to it so I can have all my table for the project in one database? If I do another project won't it want to look in the "default" that would be created here even though they are not related?
Old July 1st, 2011, 04:22 PM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

Not 100% sure (can't check at the moment) but I don't think it creates the database; just the tables, view and stored procedures and the data.

Take a look at page 725 and further to learn how to change the connection string so it points to a different database.

Also, take a look at page 771 to learn more about aspnet_regsql to configure databases for the app services.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying Crystal Report in a Production environment realkewl BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 1 June 22nd, 2009 04:43 PM
Deploying the site Rachel BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 11 March 21st, 2009 11:24 AM
Deploying Asp.net application on Production server Nabeel82 ASP.NET 2.0 Professional 1 March 20th, 2009 06:17 PM
Deploying the site MoeShall BOOK: ASP.NET Website Programming Problem-Design-Solution 3 April 20th, 2005 07:06 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.