﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Issues  » Altering Index Failed</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 22 May 2026 11:51:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Altering Index Failed</title><link>http://forum.strataframe.net/FindPost29338.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;&lt;div&gt;I have created a new profile in the DDT and imported a database structure into the profile.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;All the tables, SPs and Views were all imported successfully. Just to test the deployment package, I clicked 'deploy to server', created a package and followed the steps to deployment on the same database from which the structure was imported (there weren't any changes yet).&lt;br/&gt;&lt;br/&gt;&lt;div&gt;While deploying the package, and indexes were being dropped and re-created, one of them failed as can be seen in the attachment.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;The Index has a unique constraint, and all data in that column is Unique.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Could you please suggest?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;On another note, I tried to deploy the same package on a database which does not exists through the DDT - which database was created successfully with no errors.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Your help will be greatly appreciated.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thanks,&lt;br/&gt;Melvin</description><pubDate>Fri, 14 Jan 2011 04:41:34 GMT</pubDate><dc:creator>Melvin Xuereb</dc:creator></item><item><title>RE: Altering Index Failed</title><link>http://forum.strataframe.net/FindPost29364.aspx</link><description>Hi Trent,&lt;br/&gt;&lt;br/&gt;&lt;div&gt;After executing the package multiple times I was able to have no errors without doing anything!&lt;div&gt;There was nothing the the object history, index was not created and deleted in the past and no pre/post deployment scripts were set.&lt;div&gt;In few words, no changes were done to the DB when the error starting showing up. However, now it's working fine everytime i execute a package&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thanks,&lt;div&gt;Melvin</description><pubDate>Fri, 14 Jan 2011 04:41:34 GMT</pubDate><dc:creator>Melvin Xuereb</dc:creator></item><item><title>RE: Altering Index Failed</title><link>http://forum.strataframe.net/FindPost29344.aspx</link><description>Well, first, I would make sure that this isn't in your object history.&amp;nbsp; Have you created and deleted this index in the past?&amp;nbsp; Do you have any pre or post deployment scripts?&amp;nbsp; What changes were made prior to this error starting to show up? Thanks.</description><pubDate>Wed, 12 Jan 2011 07:31:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>