﻿<?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 » Database Deployment Toolkit (How do I?)  » DDT process errors</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 26 May 2026 03:23:43 GMT</lastBuildDate><ttl>20</ttl><item><title>DDT process errors</title><link>http://forum.strataframe.net/FindPost19670.aspx</link><description>I am starting to use the DDT to update development/production databases but I am getting some errors which I don't have a clue how to fix them.&amp;nbsp; Attached is the log file, and here are some of the errors:&lt;P&gt;[quote]• 9/24/2008 8:29:42 PM&amp;nbsp;-&amp;gt; Deploying meta-data for database 'Progytech_CommonDatabase'&lt;BR&gt;• 9/24/2008 8:29:42 PM&amp;nbsp;-&amp;gt; Ensuring Filegroups exist on database 'Progytech_CommonDatabase'&lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt; Creating datafile 'Progytech_CommonDatabase' failed.&lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt; FailedOperationException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; Create failed for DataFile 'Progytech_CommonDatabase'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt; ExecutionFailureException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; An exception occurred while executing a Transact-SQL statement or batch.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt; SqlException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&lt;FONT color=#dd3333&gt;&lt;STRONG&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; The file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\Progytech_CommonDatabase.mdf' cannot be overwritten.&amp;nbsp; It is being used by database 'Progytech_CommonDatabase'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:29:44 PM&amp;nbsp;-&amp;gt; The logical file name "Progytech_CommonDatabase" is already in use. Choose a different name.&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;[/quote]&lt;/P&gt;&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;P&gt;The database already exist on my ISP hosting server, so I guess I will get this error all the time, but should this be just a warning, because I am not really trying to create the database.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here is another one which is really clueless to me:&lt;/P&gt;&lt;P&gt;[quote]X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt; Altering table 'ServiceCalls' failed.&lt;BR&gt;X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt; FailedOperationException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; Alter failed for Table 'dbo.ServiceCalls'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt; ExecutionFailureException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; An exception occurred while executing a Transact-SQL statement or batch.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt; SqlException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#dd3333&gt;X 9/24/2008 8:30:46 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; Implicit conversion from data type datetime to bigint is not allowed. Use the CONVERT function to run this query.&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;[/quote]&lt;/P&gt;&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;P&gt;I don't have any table which I made that kind of change to the fields, so I don't even know in this table which field is this error related to.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And the last one:&lt;/P&gt;&lt;P&gt;[quote]X 9/24/2008 8:32:14 PM&amp;nbsp;-&amp;gt; Altering index 'PK_ServiceCalls' failed.&lt;BR&gt;X 9/24/2008 8:32:14 PM&amp;nbsp;-&amp;gt; FailedOperationException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:32:14 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; Alter failed for Index 'PK_ServiceCalls'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;X 9/24/2008 8:32:14 PM&amp;nbsp;-&amp;gt; SmoException&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&lt;FONT color=#dd3333&gt;&lt;STRONG&gt;X 9/24/2008 8:32:14 PM&amp;nbsp;-&amp;gt;&amp;nbsp;&amp;nbsp; Modifying the IsClustered property of the Index object is not allowed. You must drop and recreate the object with the desired property.&lt;/STRONG&gt;&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;P&gt;I have not made any changes to this index at all.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P dir=ltr&gt;I appreciate if somebody can clarify what am I doing wrong here.&amp;nbsp; At this point I am not able to do modifications to some of my tables with the DDT.</description><pubDate>Thu, 25 Sep 2008 10:42:48 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: DDT process errors</title><link>http://forum.strataframe.net/FindPost19703.aspx</link><description>Very true because in the case of the FileGroup being created, it actually has to create a physical file on disk. :)</description><pubDate>Thu, 25 Sep 2008 10:42:48 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DDT process errors</title><link>http://forum.strataframe.net/FindPost19701.aspx</link><description>[quote][b]Trent L. Taylor (09/25/2008)[/b][hr]Yes.&amp;nbsp; It will not affect the data already there as the $dbname$ should be the same name.&amp;nbsp; And if it isn't then you can ensure that it gets deployed as that.&amp;nbsp; As for BO mappings, it has absolutely no bearing whatsoever as the two are not related.[/quote] &lt;P&gt;Thanks for the explanation, I will play with this. &lt;P&gt;[quote]Also, if that file doesn't exist on the machine to which you are deploying, then the only other explanation would be that you do not have permissions to create a file at that location.[/quote] &lt;P&gt;Guess that may be the case, since the creation of the database must be done via the ISP tools, so externally I have not permission to manipulate the database itself, even though, I can manipulate other objects like tables, fields, indexes, etc.</description><pubDate>Thu, 25 Sep 2008 10:20:04 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: DDT process errors</title><link>http://forum.strataframe.net/FindPost19696.aspx</link><description>[quote]My filegroup name is "Primary" and my database name is "Progytech_CommonDatabase", should I replace the DB name with $dbname$ instead?, if so, will this affect the data already there, and/or the BO mappings should be refreshed?[/quote]&lt;/P&gt;&lt;P&gt;Yes.&amp;nbsp; It will not affect the data already there as the $dbname$ should be the same name.&amp;nbsp; And if it isn't then you can ensure that it gets deployed as that.&amp;nbsp; As for BO mappings, it has absolutely no bearing whatsoever as the two are not related.&lt;/P&gt;&lt;P&gt;Also, if that file doesn't exist on the machine to which you are deploying, then the only other explanation would be that you do not have permissions to create a file at that location.</description><pubDate>Thu, 25 Sep 2008 09:47:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DDT process errors</title><link>http://forum.strataframe.net/FindPost19679.aspx</link><description>Actually I only get the database error when deploying to the database hosted on my ISP web site which is the one used by my customer for now, if I do it to my local database, I don't get the error. &lt;P&gt;Looking at the help file for $dbname$, I found this: &lt;P&gt;[quote] &lt;P class=Tip&gt;&lt;B&gt;Tip:&lt;/B&gt; To include the name of hte database in the filegroup, use the replacement value "&lt;FONT style="BACKGROUND-COLOR: #3399ff" color=#ffffff&gt;$DbName$&lt;/FONT&gt;". For example, if your database is named "MyDatabase" and you want your file group to be "MyDatabase_Primary", then set the filename to "&lt;FONT style="BACKGROUND-COLOR: #3399ff" color=#ffffff&gt;$DbName$&lt;/FONT&gt;_Primary".&lt;/P&gt;&lt;P&gt;[/quote] &lt;P&gt;My filegroup name is "Primary" and my database name is "Progytech_CommonDatabase", should I replace the DB name with $dbname$ instead?, if so, will this affect the data already there, and/or the BO mappings should be refreshed?</description><pubDate>Wed, 24 Sep 2008 21:36:26 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: DDT process errors</title><link>http://forum.strataframe.net/FindPost19671.aspx</link><description>This is standard SQL Server...not DDT.&amp;nbsp; Here is what happened.&amp;nbsp; You probably had a database attached to SQL Server and then detached it, not deleted it.&amp;nbsp; This will leave the mdf file on disk.&amp;nbsp; So you then went to redeploy and the mdf was there when it tried to created the file groups gicing you the error.&amp;nbsp; There really is a fie there but that MDF is not attached.&amp;nbsp;&lt;P&gt;The other possibility is that you are trying to deploy the same DDT profile to the database with the same data file names (not using the $dbname$ tag) which would also cause this problem.&lt;P&gt;The remaining errors are standard SQL errors as well...but let's go at it one at a time.</description><pubDate>Wed, 24 Sep 2008 21:00:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>