Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional C# 4.0 and .NET 4
This is the forum to discuss the Wrox book Professional C# 4.0 and .NET 4 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner; ISBN: 9780470502259
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 4.0 and .NET 4 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 January 12th, 2011, 09:12 AM
Authorized User
Points: 73, Level: 1
Points: 73, Level: 1 Points: 73, Level: 1 Points: 73, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2007
Location: , , .
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Post Missing Databases

Here are the steps for restoring the missing databases. They are in the downloaded code in chapter 31, but have a .bak extension. I submitted a ticket which took almost 2-months to get these instructions. I've also requested Wrox post these instructions for restoring the demodatabase and the Formula1 database under the errata. I hope I was not the only one unable to figure this out.

Restoring The Demodatabase and the Formula1V1 databases.
1. Open SQL Server Management Studio
2. In the Object Explorer right-click Databases and select Restore Database…
3. In the Restore Database dialog box under Source for restore select From device.
4. Under Source for restore click the ellipse button off to the far right.
5. In the Specify Backup dialog box click Add.
6. In the Locate Backup File dialog box navigate to the databases. In this case demodatabase.bak and Formula1V1.bak.
7. Select one of the databases and click OK.
8. At this point you may be tempted to add the other database, but when I tried to restore both I got an error message.
9. Back at the Specify Backup dialog box click OK.
10. Under Select the backup sets to restore, select the database.
11. Back at the Restore Database dialog box under Destination for restore, click the drop-down list for To database. The name of the database magically appears.
12. Click OK. It should only take a few seconds.
13. Repeat these steps to restore the other database.

[FONT='Calibri','sans-serif'][/FONT]
 
Old January 12th, 2011, 10:20 PM
Authorized User
Points: 73, Level: 1
Points: 73, Level: 1 Points: 73, Level: 1 Points: 73, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2007
Location: , , .
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Question Missing Data

Well, I restored the demodatabase.bak and Formula1V1.bak databases. The demodatabase does not have any data in it. Formula1V1 does. Does anybody know how to get the data for demodatabase? Is there a hidden SQL script somewhere?




Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are the databases? doug.kaye@ntlworld.com C# 4.0 aka C# 2010 General Discussion 0 December 21st, 2010 12:31 PM
Databases NOclipus ASP.NET 3.5 Basics 0 February 10th, 2009 05:19 PM
2 databases tready Access VBA 3 November 4th, 2005 04:39 PM
databases zmark Access VBA 4 September 14th, 2004 12:51 AM
How many databases can I use? FlashMan Classic ASP Databases 5 July 5th, 2004 03:26 PM





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