﻿<?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?)  » Moved DDT to another box - pkg from 1st box won't deploy</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 10 Jun 2026 20:37:16 GMT</lastBuildDate><ttl>20</ttl><item><title>Moved DDT to another box - pkg from 1st box won't deploy</title><link>http://forum.strataframe.net/FindPost18573.aspx</link><description>I realize I probably mucked something up here, but thought I might get a better understanding of DDT metadata by asking this question while on a non-critical issue :&lt;br&gt;
&lt;br&gt;
I moved my Strataframe installation from my laptop to my desktop.  i detached the strataframe.mdf and reattached on new box.  &lt;br&gt;
&lt;br&gt;
I took a package created on the 1st box (but never deployed) and brought it over to the 2nd box and imported it into a new profile.  &lt;br&gt;
&lt;br&gt;
SQL Server on box 2 does't not have a database Netpark&lt;br&gt;
&lt;br&gt;
I try to deploy the package and get this&lt;br&gt;
[quote]&lt;br&gt;
• 8/19/2008 11:05:46 AM-&gt; Deploying meta-data for database 'Netpark'&lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt; Creating database 'Netpark' failed.&lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt; FailedOperationException        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;   Create failed for Database 'Netpark'.         &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt; SmoException        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;   The PRIMARY filegroup must have at least one file.        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;         &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt; Source     : Microsoft.SqlServer.Smo        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;         &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt; Stack Trace:         &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at Microsoft.SqlServer.Management.Smo.FileGroup.ScriptDdl(ScriptingOptions so, StringBuilder ddl, Boolean databaseIsView)        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at Microsoft.SqlServer.Management.Smo.Database.GetFileGroupsScript(StringBuilder query, Boolean databaseIsView, StringCollection emptyfgs, ScriptingOptions so)        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at Microsoft.SqlServer.Management.Smo.Database.ScriptCreate(StringCollection createQuery, ScriptingOptions so)        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ScriptCreateInternal(StringCollection query, ScriptingOptions so)        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at Microsoft.SqlServer.Management.Smo.Database.Create()        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;    at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.CreateSmoObject(ICreatable ObjectToCreate, String ObjectName, DBEObjectType ObjectType, Boolean verboseLogging)        &lt;br&gt;
X 8/19/2008 11:05:46 AM-&gt;         &lt;br&gt;
• 8/19/2008 11:05:46 AM-&gt; Finished verifying databases on server.&lt;br&gt;
• 8/19/2008 11:05:46 AM-&gt; The meta data conversion to the SQL Server has been completed.&lt;br&gt;
[/quote]&lt;br&gt;
&lt;br&gt;
I do see PRIMARY under filegroups in the profile.&lt;br&gt;
&lt;br&gt;
Not sure what the DDT is complaining about, but no database is getting deployed&lt;br&gt;
&lt;br&gt;
Thoughts?</description><pubDate>Tue, 19 Aug 2008 11:43:12 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Moved DDT to another box - pkg from 1st box won't deploy</title><link>http://forum.strataframe.net/FindPost18584.aspx</link><description>Thanks Trent - that indeed did the trick&lt;br&gt;
&lt;br&gt;
For lurkers : I right clicked the PRIMARY file group in the right column (after selecting Filegroups)  There was no choice to EDIT but I clicked ADD and it created a $dbname$ entry as Trent said.  &lt;br&gt;
&lt;br&gt;
After saving the name of my database was substituted.&lt;br&gt;
&lt;br&gt;
Package now deploys with not problem.&lt;br&gt;</description><pubDate>Tue, 19 Aug 2008 11:43:12 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Moved DDT to another box - pkg from 1st box won't deploy</title><link>http://forum.strataframe.net/FindPost18576.aspx</link><description>Well, it appears (for whatever reason) that the data file underneath the Primary file groups doesn't exist.&amp;nbsp; You have the primary file group, but there is not a specific data file defined underneath it...does that make sense?&lt;/P&gt;&lt;P&gt;Just select the PRIMARY file group, then add a data file underneath it with the standard $dbname$ and default settings and then try to re-deploy and you should be good to go.</description><pubDate>Tue, 19 Aug 2008 10:33:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>