﻿<?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  » DDT Data Deployment Error</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 02:04:30 GMT</lastBuildDate><ttl>20</ttl><item><title>DDT Data Deployment Error</title><link>http://forum.strataframe.net/FindPost6700.aspx</link><description>I wrote a database installer DLL to deploy the role based security files, based on the installer example on the forum. (DataProgress)&lt;/P&gt;&lt;P&gt;In&amp;nbsp;my AppMain I added some code to check if the security database exists. If not, I automatically call the installer DLL. &lt;/P&gt;&lt;P&gt;Everything works perfectly when I run my application within visual studio, however,&amp;nbsp;When I run the exe, I get the attached error.&amp;nbsp; The error occurs at the start of the data deployment phase.&amp;nbsp; The meta data is deployed without errors.&lt;/P&gt;&lt;P&gt;Any idea why this is happening?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 14 Feb 2007 21:10:53 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: DDT Data Deployment Error</title><link>http://forum.strataframe.net/FindPost6786.aspx</link><description>Ben, I haven't had time to dig into this any further but I have run my deployment routine about 20 times so far and it seems to be hit and miss, sometime it works and sometimes I get the error.&amp;nbsp; After the error, I delete the Database and run the deployment again and it works fine.&amp;nbsp; Just thought I would pass this on in case it triggers something. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 14 Feb 2007 21:10:53 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: DDT Data Deployment Error</title><link>http://forum.strataframe.net/FindPost6753.aspx</link><description>The only thing I can think to tell you is to make sure that the foreign keys are actually being turned off... since you're building the SF source code in debug, you can open the DatabaseMigrator file within the MicroFour StrataFrame DBEngine project and add a message box to the TurnOffAllForeignKeys() method to show the value of the DatabaseName parameter.&amp;nbsp; When you run, you should then get the message boxes for each database that is being included in the deployment.&amp;nbsp; If a database isn't included, then the foreign keys aren't being turned off and we have a problem somewhere.</description><pubDate>Tue, 13 Feb 2007 09:24:14 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: DDT Data Deployment Error</title><link>http://forum.strataframe.net/FindPost6738.aspx</link><description>Yes, the S&lt;FONT size=2&gt;tartDataDeploymentPhase() is called after the buildcomplete event is fired.&lt;/FONT&gt;</description><pubDate>Mon, 12 Feb 2007 14:12:28 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: DDT Data Deployment Error</title><link>http://forum.strataframe.net/FindPost6732.aspx</link><description>I have no idea why you would be getting this error at runtime and not design-time.&amp;nbsp; All of the foreign keys on the tables within the database are disabled before the data is deployed and then re-enabled after the data deployment has completed.&lt;/P&gt;&lt;P&gt;It is possible that this could be a timing issue between the runtime versions and the debug version through Visual Studio.&amp;nbsp; Are you waiting until the completed event has been fired after deploying the meta-data before you call DeployData()?</description><pubDate>Mon, 12 Feb 2007 13:48:29 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: DDT Data Deployment Error</title><link>http://forum.strataframe.net/FindPost6701.aspx</link><description>I took the sample installer project on the forum to see if the same issue exists. I&amp;nbsp;changed the package name &amp;nbsp;and password to match my deployment package. &lt;P&gt;Everything worked fine when I ran the project from within visual studio, however when I ran the exe the same error popped up.&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Sun, 11 Feb 2007 15:18:09 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item></channel></rss>