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 October 24th, 2011, 03:02 PM
Authorized User
 
Join Date: Sep 2011
Posts: 37
Thanks: 13
Thanked 0 Times in 0 Posts
Send a message via MSN to SamuelMSr
Question Database Problem

I am working on my own project site and still using the book as a reference as I go along and am working on building the database tables at the moment.

I have created a table called AnimalInfo and put in several colums so far, and when I click on save I get an error message box come up:

Code:
 
You cannot save changes that would result in one or more tables being re-created. You can override this behavior by changing your conviguration options. Open the Tools.......
 
Your pending changes require the following tables to be dropped and re-created:
AnimalInfo

I am not sure why it is doing this and if I should change this setting or not, this did not come up in the book so I am a bit stuck.

Thanks for any help!!!

Sam
__________________
Noob, whole noob, nothing but a noob, so help me God. I will learn if it kills me.....
 
Old October 29th, 2011, 11:11 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Sam,

This setting is to prevent you from making changes to a table that requires a rebuild of the table. You would want to prevent this on large tables on a production server as it may take a lot of time to complete.

For a development machine, you can safely turn off the setting.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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
Database problem Fed BOOK: ASP.NET 3.5 Website Programming Problem Design Solution 5 August 28th, 2011 09:08 AM
Problem to restore database in C#2005 database acmuralee MySQL 0 March 25th, 2008 04:42 AM
DATABASE PROBLEM. PLEASE HELP! dextergaisie Crystal Reports 2 May 15th, 2007 05:58 AM
database problem rahul8346 SQL Server 2000 1 May 16th, 2006 11:13 AM
problem for the database rachelwang All Other Wrox Books 2 August 4th, 2003 02:55 AM





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