Error Saving changes is not permitted en SQL Server

En el día de hoy me encontré por primera vez con algo totalmente nuevo para mí. Resulta que el Management Studio para SQL Server 2008 modificó la forma en que se guardan los cambios en la vista diseño de una tabla.

En algunos casos, Management Studio elimina totalmente una tabla y la vuelve a recrear, por ejemplo, cuando tiene que crear una columna en una ubicación específica. Esto es así desde versiones anteriores, pero aparentemente en esta versión 2008 decidieron ponerle una opción que impide esto, mostrando el siguiente mensaje:

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.

La solución es muy simple y solo consiste en dirigirse a[Tools/Options/Designers] y desmarcar el checkbox [Prevent saving changes that require table re-creation].

Author: Marcelo Ruiz

Marcelo has been working as a software developer for more than 15 years. He has participated in projects for companies in USA, Mexico, Argentina, Europe and Africa. He is skilled with Microsoft technologies such as ASP.NET, MVC, C#, WCF and SQL Server, among others.

Leave a Reply

Your email address will not be published. Required fields are marked *