﻿<?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?) </title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 12 Mar 2010 12:59:44 GMT</lastBuildDate><ttl>20</ttl><item><title>DatabaseMigrator reruns whole commands always</title><link>http://forum.strataframe.net/Topic26441-11-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I´m using DatabaseMigrator to deploy DB changes to a lot customers databases in the same server.&lt;BR&gt;The problem is:&lt;BR&gt;All commands are processed every time that I run the program, but I realized that it rans the same command already proccessed before like:&lt;/P&gt;&lt;P&gt;• 12/03/2010 09:56:02 -&amp;gt; The relationship 'FK_tb_ped_compra_tb_item_pec' was created successfully.&lt;BR&gt;• 12/03/2010 09:56:09 -&amp;gt; The relationship 'FK_tb_tit_pag_tb_tit_pag_ccusto' was created successfully.&lt;BR&gt;• 12/03/2010 09:56:09 -&amp;gt; The relationship 'FK_tb_tit_pag_tb_tit_pag_proj' was created successfully.&lt;BR&gt;• 12/03/2010 09:52:50 -&amp;gt; The table 'tb_tit_rec' was successfully altered.&lt;/P&gt;&lt;P&gt;Other thing:&lt;/P&gt;&lt;P&gt;• 12/03/2010 09:52:42 -&amp;gt; The relationship 'FK_tb_tit_rec_tb_tit_rec_ccusto' was successfully dropped.&lt;/P&gt;&lt;P&gt;If DatabaseMigrator drop my FKs, what is happen if I run it over a DB with real data?&lt;/P&gt;&lt;P&gt;Tks guys</description><pubDate>Fri, 12 Mar 2010 07:09:29 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>DatabaseMigratorClass Error</title><link>http://forum.strataframe.net/Topic26370-11-1.aspx</link><description>Hi,&lt;BR&gt;&lt;BR&gt;I´ve copied and made changes in the SampleDataInstaller program and everything was working ok, but at the end of process I´ve got an error (showed in attachment image).&lt;BR&gt;I think that is related to my FKs???&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;Tks</description><pubDate>Tue, 09 Mar 2010 11:47:29 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>Changing Filename on Database originally imported into DDT</title><link>http://forum.strataframe.net/Topic26027-11-1.aspx</link><description>I imported SQL Database   Membership into DDT in a project called PDSM.NET&lt;br&gt;&lt;br&gt;I changed the database name to PDSM and made a lot of changes to the schema.&lt;br&gt;&lt;br&gt;This will never be used to maintain the shema of Membership but is entirely for creating a new database PDSM on a server.  &lt;br&gt;&lt;br&gt;I have deleted all the change history.  I can deploy the database to the server as PDSM but the logical filename and the MDF are still Membership_Data.mdf.&lt;br&gt;&lt;br&gt;How do I clean this out once and for all so the MDF file will be PDSM_data.MDF on deployment ?&lt;br&gt;&lt;br&gt;TIA&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Sun, 14 Feb 2010 20:33:02 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>Deploy 1 package to multiple databases on same server</title><link>http://forum.strataframe.net/Topic25732-11-1.aspx</link><description>Hi guys,&lt;br&gt;&lt;br&gt;I'm trying to do the above.  I've looked at the sampledatainstaller and DatabaseMigratorClass info. Still have a few questions though.&lt;br&gt;1.  Is it possible to install a database to a filegroup programmatically? IOW supply the value at runtime? &lt;br&gt;2.  How can I select a database to apply a profile script to that's not in the drop down?  Is it possible to change that value on the fly as well? &lt;br&gt;3.  If I want to do a Grant EXEC on PPMUserSecurity_Delete to SOMEID in the script for stored procedures, is it possible to pass in the SOMEID value on the fly?&lt;br&gt;&lt;br&gt;Thanks</description><pubDate>Tue, 02 Feb 2010 12:53:23 GMT</pubDate><dc:creator>Marcel Heitlager</dc:creator></item><item><title>MDDeployMain dialog returning OK when clicking Cancel button, why?</title><link>http://forum.strataframe.net/Topic25459-11-1.aspx</link><description>Hi Trent,&lt;br&gt;&lt;br&gt;Implementing the MMDeployMain.vb class I need to know if the status of the database update, I am assuming that the cmdCancel button will return Windows.Forms.DialogResult.Cancel but instead is returning Windows.Forms.DialogResult.OK, why?&lt;br&gt;&lt;br&gt;Am I missing some other property here that will let me know if the update completed or the user decided to cancel the process?&lt;br&gt;&lt;br&gt;Thanks!</description><pubDate>Sun, 27 Dec 2009 00:47:15 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Versioning pkg Files</title><link>http://forum.strataframe.net/Topic17674-11-1.aspx</link><description>Guys,&lt;/P&gt;&lt;P&gt;My application makes use of the superb flexibility of the DDT. What I need to be able to do, is stop users importing 'old' pkg files. Is there a way to do this? &lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;Geoff Hirst</description><pubDate>Mon, 07 Jul 2008 09:32:48 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>DateTime2 support in DDT 1.6.7 beta?</title><link>http://forum.strataframe.net/Topic22855-11-1.aspx</link><description>Hi Trent,&lt;br&gt;I am creating a new table with a field type "DateTime2" and when deploying to SQL2008 I get an error when trying to create the xx_Insert store procedure:&lt;br&gt;&lt;br&gt;[codesnippet]&lt;br&gt;X 4/22/2009 11:52:11 AM-&gt; An error occurred while creating the stored procedure [dbo].[Inventory_Insert].&lt;br&gt;X 4/22/2009 11:52:11 AM-&gt; SqlException        &lt;br&gt;X 4/22/2009 11:52:11 AM-&gt;   Operand type clash: datetime2 is incompatible with int        &lt;br&gt;[/codesnippet]&lt;br&gt;&lt;br&gt;What am I doing wrong?</description><pubDate>Wed, 22 Apr 2009 11:05:55 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Trigger Deployment tr_Schema column not found</title><link>http://forum.strataframe.net/Topic23487-11-1.aspx</link><description>Hi,&lt;br&gt;I have a problem with Trigger Deployment. I'v got an error message Column tr?Schema not found in table DBETriggers. I had check this table. column is not there.&lt;br&gt;I check support messages before and Uninstall StrataFrame and Install it again. It does not help.. the error message in any case appears.&lt;br&gt;</description><pubDate>Mon, 15 Jun 2009 05:22:49 GMT</pubDate><dc:creator>dgsoft</dc:creator></item><item><title>Merging several packages in a single profile?</title><link>http://forum.strataframe.net/Topic25154-11-1.aspx</link><description>Hi,&lt;P&gt;Let's say 3 development teams (1 at customer's site, and 2 consultants) with no LAN or VPN to join them, only mail or ftp. Each team owns licences for SF and DDT, and can create deployment packages to apply on customer's SQL Servers (and of course on SQL Servers for tests at consultant's office)&lt;/P&gt;&lt;P&gt;When I receive customer's package, I can import it in a profile and deploy it from that profile. From another profile, I generate a package, and customer may deploy this package I'll send him. And of course, each deployment delete and  replace what was locally written :angry:&lt;/P&gt;&lt;P&gt;How could I merge the 2 packages into a single, in order to see all modifications in a single profile? from within DDT? with a merge replication in SQL Server? with a versionning product (Visual SourceSafe or another one)?&lt;/P&gt;&lt;P&gt;Thanks in advance for all advice.</description><pubDate>Mon, 09 Nov 2009 12:55:30 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>Deploying package into many databases resided in the same server</title><link>http://forum.strataframe.net/Topic25140-11-1.aspx</link><description>Hi guys,&lt;/P&gt;&lt;P&gt;I have a lot of customers using the same server and i´d like to deploy automatically the whole db changes (including profile scripts) to all databases inside the server.&lt;BR&gt;This can be occurs with a new database also.&lt;/P&gt;&lt;P&gt;If I do it using DDT Deploy Button, changing the database name, the system rename the database and create another file with MDF extension.&lt;BR&gt;I know that it´s the a DDT concept, but i´d like to know how can I do that automatically without rename.&lt;/P&gt;&lt;P&gt;See the attached images.&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;P&gt;Luiz</description><pubDate>Mon, 09 Nov 2009 06:31:41 GMT</pubDate><dc:creator>Luiz Lima</dc:creator></item><item><title>How to define an SQL Server function withing DDT?</title><link>http://forum.strataframe.net/Topic25095-11-1.aspx</link><description>I have a SQL Server function which I have not problem creating it in SQL Server Manager Studio, but when try to create it in the DDT I always get an error when try to deploy the UDF.&lt;br&gt;&lt;br&gt;Here the code I have in the DDT, also look at the udfSample.png image:&lt;br&gt;[codesnippet]&lt;br&gt;(@FK_Customers INT)&lt;br&gt;RETURNS varchar(20)&lt;br&gt;&lt;br&gt;AS&lt;br&gt;BEGIN&lt;br&gt;DECLARE @ParkingNumbers varchar(20)&lt;br&gt;DECLARE @IsInactive BIT&lt;br&gt;&lt;br&gt;SET @ParkingNumbers = ''&lt;br&gt;SET @IsInactive = 0&lt;br&gt;&lt;br&gt;SELECT @ParkingNumbers = @ParkingNumbers + LTRIM(cast(v.ParkingNumber as varchar(3))) + ','&lt;br&gt;FROM&lt;br&gt;  dbo.Vehicles V&lt;br&gt;WHERE&lt;br&gt;  (V.FK_Customers = @FK_Customers AND&lt;br&gt;   V.IsInactive = @IsInactive)&lt;br&gt;ORDER BY&lt;br&gt;  v.ParkingNumber&lt;br&gt;&lt;br&gt;RETURN @ParkingNumbers&lt;br&gt;END&lt;br&gt;[/codesnippet]&lt;br&gt;&lt;br&gt;Here is the code I use in Manager Studio with not problem:&lt;br&gt;[codesnippet]&lt;br&gt;CREATE FUNCTION dbo.udf_GetParkingNumbers (@FK_Customers INT)&lt;br&gt;RETURNS varchar(20)&lt;br&gt;&lt;br&gt;AS&lt;br&gt;BEGIN&lt;br&gt;DECLARE @ParkingNumbers varchar(20)&lt;br&gt;DECLARE @IsInactive BIT&lt;br&gt;&lt;br&gt;SET @ParkingNumbers = ''&lt;br&gt;SET @IsInactive = 0&lt;br&gt;&lt;br&gt;SELECT @ParkingNumbers = @ParkingNumbers + LTRIM(cast(v.ParkingNumber as varchar(3))) + ','&lt;br&gt;FROM&lt;br&gt;  dbo.Vehicles V&lt;br&gt;WHERE&lt;br&gt;  (V.FK_Customers = @FK_Customers AND&lt;br&gt;   V.IsInactive = @IsInactive)&lt;br&gt;ORDER BY&lt;br&gt;  v.ParkingNumber&lt;br&gt;&lt;br&gt;-- SELECT @ParkingNumbers&lt;br&gt;&lt;br&gt;RETURN @ParkingNumbers&lt;br&gt;&lt;br&gt;END&lt;br&gt;GO&lt;br&gt;[/codesnippet]&lt;br&gt;&lt;br&gt;The error I get from DDT when try to deploy the UDF is:&lt;br&gt;[codesnippet]&lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; An error occurred while creating the stored procedure [dbo].[spGetParkingNumbers].&lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; SqlException        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;   Incorrect syntax near the keyword 'DECLARE'.        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; Incorrect syntax near the keyword 'AS'.        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; Must declare the scalar variable "@ParkingNumbers".        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; Must declare the scalar variable "@ParkingNumbers".        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;         &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; Source     : .Net SqlClient Data Provider        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;         &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt; Stack Trace:         &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()        &lt;br&gt;X 11/1/2009 11:09:09 PM-&gt;    at MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator.DeploySprocsOfPriority(Database parent, DatabaseInfo dbInfo, Int32 priority)        &lt;br&gt;&lt;br&gt;[/codesnippet]&lt;br&gt;&lt;br&gt;What am I doing wrong in DDT to get this error, while the same code works just fine in Manager Studio?</description><pubDate>Sun, 01 Nov 2009 22:13:00 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>computed column, how to do?</title><link>http://forum.strataframe.net/Topic24988-11-1.aspx</link><description>Hi,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I need a computed column in a SQL server table. Is it possible to define it from within DDT? &lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When I create it in SQLServer Management Studio, and import the database in DDT, I can't see that it is a computed column.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Sun, 25 Oct 2009 12:03:45 GMT</pubDate><dc:creator>Michel Levy</dc:creator></item><item><title>Controlling column order</title><link>http://forum.strataframe.net/Topic24836-11-1.aspx</link><description>How does one control the column order when maintaining fields in the DDT? Ideally the column order that ends up in SQL should match the order displayed in the DDT. It does not, additionally I have an occurrance where the column order is different when deployed to two different SQL servers even after the tables on both servers have been dropped. This is wreaking havoc with some import functions I have.</description><pubDate>Mon, 05 Oct 2009 07:47:37 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>SQL 2000 and 2005 support</title><link>http://forum.strataframe.net/Topic24865-11-1.aspx</link><description>Hi,&lt;br&gt;I would like to support SQL 2000 and 2005. How could I do it without creating 2 projects?&lt;br&gt;&lt;br&gt;Beside, I found some of the fields used by SF such as localization are using VARCHAR(max) which is not supported in SQL 2000. How to handle this?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Tue, 06 Oct 2009 09:17:57 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>Develop on SQL Server but Deploy to SQL Server Express</title><link>http://forum.strataframe.net/Topic24501-11-1.aspx</link><description>Do most people develop their applications on SQL Server even though they will deploy to SQL Express?  I'm using SQL Express because the final application will run on SQL Express on client notebooks and so this will force me to be very familiar with what the express version can and cannot do.&lt;/P&gt;&lt;P&gt;I would like to do everything on SQL Server but I was wondering if there were any "gotchas" I should be aware of.  Is this what most people do?&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Wed, 02 Sep 2009 22:21:24 GMT</pubDate><dc:creator>Russell Scott Brown</dc:creator></item><item><title>Setting Collation for a New Database Install</title><link>http://forum.strataframe.net/Topic23057-11-1.aspx</link><description>Chaps,&lt;/P&gt;&lt;P&gt;Can I set the collation for a new database anywhere? If not, could this be added?&lt;/P&gt;&lt;P&gt;In the meantime, can I work around it by using a pre-deployment script?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Geoff</description><pubDate>Sun, 10 May 2009 09:41:19 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>Localization and Messaging Editor Search</title><link>http://forum.strataframe.net/Topic22905-11-1.aspx</link><description>I must be missing something here, but when using the Localization and Messaging Editor, how do I search for a value or key?  In Visual Studio in the Forms Designer, it's possible to right-click on a control and get the search key or value functionality.  Where is this in the actual Localization Editor?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Derek</description><pubDate>Mon, 27 Apr 2009 13:05:14 GMT</pubDate><dc:creator>Derek Price</dc:creator></item><item><title>Does the DDT work with an oracle database ?</title><link>http://forum.strataframe.net/Topic24167-11-1.aspx</link><description>Does the DDT work with Oracle Server and are there any gotcha's in using Oracle Databases.</description><pubDate>Thu, 13 Aug 2009 07:10:15 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>View Fields not showing in DDT</title><link>http://forum.strataframe.net/Topic24122-11-1.aspx</link><description>I created a view in DDT and for some reason, no fields are being showed in the DDT listview (see DDT-View.png), also noticed that when clicking the "Show Fields" button while editing the view, no fields are also listed (see ViewProperties - Show Fields.png".&lt;br&gt;&lt;br&gt;This is working fine with SF view "SFSUserPermissionInfo".  Despite this issue, my view was deployed just fine and it is also working fine.&lt;br&gt;&lt;br&gt;What may be happening here?</description><pubDate>Wed, 05 Aug 2009 10:12:20 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Data Deployment Package file problem</title><link>http://forum.strataframe.net/Topic23929-11-1.aspx</link><description>Hey guys,&lt;BR&gt;    I've ran into an issue deploying package files from a dvd.  The meta-data phase works smoothly, but then errors when attempting to deploy the actual data.  The error message is 'Access to path D:\mypackage.pkg' is denied.&lt;BR&gt;&lt;BR&gt;I was able to get around this by changing the code in DbEngine -&amp;gt; DatabaseMigrator -&amp;gt; EnumDeploymentPackages where it was attempting to open it with FileAccess.ReadWrite (the default for a new PackageFile).  &lt;P&gt;from:&lt;BR&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#1111bb&gt;Dim loPackage As New PackageFile(MetaDataPkgPathAndFileName, True, False, PkgPassword)&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#1f5080&gt;to this:&lt;/FONT&gt;&lt;BR&gt;&lt;FONT color=#1111bb&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#1111bb&gt;&lt;FONT size=2&gt; lopackage &lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#1111bb&gt;&lt;FONT size=2&gt; PackageFile()&lt;BR&gt;lopackage.FileOpenAccess = FileAccess.Read&lt;BR&gt;lopackage.Open(MetaDataPkgPathAndFileName, &lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;True&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;False&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, PkgPassword)&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;Any chance of including this in your next update/release?&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;BR&gt; &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;BR&gt; </description><pubDate>Tue, 28 Jul 2009 09:04:05 GMT</pubDate><dc:creator>Alan Jones</dc:creator></item><item><title>Move file to another file group?</title><link>http://forum.strataframe.net/Topic23667-11-1.aspx</link><description>Hi,&lt;br&gt;May I know how could I configure DDT so that it will move my table to another file group?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Wed, 24 Jun 2009 12:15:17 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>Data Deployment</title><link>http://forum.strataframe.net/Topic23566-11-1.aspx</link><description>Hi,&lt;br&gt;I have all problems with data deployment which described there http://forum.strataframe.net/FindPost16721.aspx&lt;br&gt;All... &lt;br&gt;Ok.. if DbNull exception.. I can fix manually record by record change null to some value in my example data.. but I can't do nothing with TIMESTAMP exception..&lt;br&gt;Is there way or trick to exclude timestamp from the data deployment process?&lt;br&gt;I need to install example data on the customer side.. and can't do this..&lt;br&gt;Maybe exist another tool to deploy data to SQL Server.. (but there is keys and relations.. :(( ) any help please...</description><pubDate>Thu, 18 Jun 2009 05:50:59 GMT</pubDate><dc:creator>dgsoft</dc:creator></item><item><title>TEXT / NTEXT data type</title><link>http://forum.strataframe.net/Topic23445-11-1.aspx</link><description>Hi,&lt;br&gt;I found that DDT doesn't support NTEXT/TEXT data type. May I know why?&lt;br&gt;I know that it is not recommended to use these data type, however, I really need it as I need to store some process log which would exceed 8K size. Having char field and referring physical path is not preferable in our case.&lt;br&gt;&lt;br&gt;It is possible to modify the XML generated but it would cause mistake in future.&lt;br&gt;&lt;br&gt;Please advice. Thank you</description><pubDate>Wed, 10 Jun 2009 03:01:23 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>How to: Automating DDT updates for customers</title><link>http://forum.strataframe.net/Topic23410-11-1.aspx</link><description>Hi guys,&lt;br&gt;&lt;br&gt;I know that we can use DDT packages with the DatabaseMigrator Class, but I have the following concerns:&lt;br&gt;&lt;br&gt;[quote]How to control versioning of the package to be installed at the customer's database? in other words, how my update process will know that a particular database needs to be updated?[/quote]&lt;br&gt;&lt;br&gt;[quote]Also how to check from my application that the database is properly updated to the required version?[/quote]&lt;br&gt;&lt;br&gt;I am guessing that I would need some sort of version table in my database to hold the database version and check on that field value to update the database or refused my application to run if the database is not withing the required version.  Does this make sense? how are other managing this stuff?&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;</description><pubDate>Mon, 08 Jun 2009 09:56:59 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Problems with creating Relationship</title><link>http://forum.strataframe.net/Topic22849-11-1.aspx</link><description>In my current startup project on StrataFrame - i'm trying out with something very simple, but i'm getting stuck on creating a foreign key relationship between two tables.&lt;/P&gt;&lt;P&gt;I keep getting "There is no primary or candidate keys in the referenced table 'customer' that match the referencing column list in the forwign key 'fk_co_zip'"&lt;/P&gt;&lt;P&gt;BO1:  Customer - cu_number (PK), cu_name, cu_zip_number&lt;/P&gt;&lt;P&gt;BO2:  Zipcodes - zip_number (PK), zip_text&lt;/P&gt;&lt;P&gt;I'm trying to make a foreign key between cu_zip and zip_number.&lt;/P&gt;&lt;P&gt;I'm running on MS SQL 2005 Express Edition.&lt;/P&gt;&lt;P&gt;Hope that some of you can come up with the gold answer (i'm sure it is stragiht forward and simple)&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Ulrik Müller</description><pubDate>Wed, 22 Apr 2009 03:33:07 GMT</pubDate><dc:creator>Ulrik Mueller</dc:creator></item><item><title>Error converting DateTime field to DateTime2 in SQL2008  with DDT</title><link>http://forum.strataframe.net/Topic22694-11-1.aspx</link><description>Hi Trent,&lt;br&gt;Today I upgraded my dev computer to SQL2008, I want to take advantage of the new DateTime2 and Date fields in SQL2008, after changing one of table in the DDT to use DateTime2 and deploying the package I got the following error:&lt;br&gt;[quote]&lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt; Altering table 'Inventory' failed.&lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt; FailedOperationException        &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt;   Alter failed for Table 'dbo.Inventory'.         &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt; ExecutionFailureException        &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt;   An exception occurred while executing a Transact-SQL statement or batch.        &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt; SqlException        &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt;   Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query.        &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt;         &lt;br&gt;X 4/13/2009 1:50:05 PM	-&gt; Source     : Microsoft.SqlServer.Smo        &lt;br&gt;[/quote]&lt;br&gt;&lt;br&gt;Shouldn't the DDT take care of running whatever command is required to do this type of conversions? or this must be handle via the Pre/Post script?&lt;br&gt;</description><pubDate>Mon, 13 Apr 2009 13:10:41 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Unique Index Problem</title><link>http://forum.strataframe.net/Topic19056-11-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have a ROWGUID field and index in every table in a SQL Server 2005 database. The indexes are unique and non-clustered and all indexes and fields are called the same - ROWGUID. This database is pre-StrataFrame so I am trying to setup the model in DDT to match it.&lt;/P&gt;&lt;P&gt;After I set the Unique property on the ROWGUID indexes (see attached screenshot), when I try and deploy a new database, it will only create the index on the first table and for all other tables the DDT reports the error:-&lt;/P&gt;&lt;P&gt;"There is already an object named 'ROWGUID' in the database. Could not create constraint."&lt;/P&gt;&lt;P&gt;When the Unique property is set, it looks like the DDT wants the indexes to be called different names. When the Unique property is reset it will create the indexes albeit as non-unique.&lt;/P&gt;&lt;P&gt;SQL Server doesn't need a Unique index to have a unique name so I was wondering if I have missed something?&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Thu, 04 Sep 2008 10:03:40 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>Unique Index modification</title><link>http://forum.strataframe.net/Topic22601-11-1.aspx</link><description>I have a table with a unique index, I wanted to remove the "Unique" using the DDT and got the following error:&lt;br&gt;[quote]Modifying the IsUnique property of the Index object is not allowed. You must drop and recreate the object with the desired property.[/quote]&lt;br&gt;Does this mean that I would need to connect to the customer's server, modify the table and remove the unique flag? or is there a wait to automate this in the DDT?</description><pubDate>Wed, 01 Apr 2009 16:07:43 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Error loading server in DDT Deployment Data Package</title><link>http://forum.strataframe.net/Topic22622-11-1.aspx</link><description>When creating a data package clicking in the command button to locate the server I get the following error:&lt;br&gt;&lt;br&gt;[quote]&lt;br&gt;ArgumentOutOfRangeException&lt;br&gt;  InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.&lt;br&gt;Parameter name: SelectedIndex&lt;br&gt;&lt;br&gt;Source     : System.Windows.Forms&lt;br&gt;&lt;br&gt;Stack Trace: &lt;br&gt;   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)&lt;br&gt;   at MicroFour.StrataFrame.Data.BrowseSQLServers.LoadSQLServers()&lt;br&gt;   at MicroFour.StrataFrame.Data.BrowseSQLServers.bwLoadServers_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)&lt;br&gt;   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)&lt;br&gt;   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)&lt;br&gt;[/quote]&lt;br&gt;Of course no server is found.  I am using the latest beta 1.6.6.7. MS-SQL Server 2005</description><pubDate>Fri, 03 Apr 2009 12:37:20 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>Data Deployment Problem</title><link>http://forum.strataframe.net/Topic22479-11-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;Just noticed a problem with decimals during data deployment. I have a simple VERSION table defined as follows:-&lt;br&gt;&lt;br&gt;Field Name    Field Type&lt;br&gt;NAME           VarChar(40) - primary key&lt;br&gt;VALUE          Decimal(10,2)&lt;br&gt;&lt;br&gt;I have created a data deployment package set to overwrite and have noticed that the deployment stored procedure which is created doesn't support decimal places in the VALUE field. The stored procedure definition is:-&lt;br&gt;&lt;br&gt;CREATE PROCEDURE VERSIONInsertOverwrite @NAME as VarChar(40), @VALUE as Decimal AS BEGIN DELETE FROM VERSION WHERE NAME = @NAME INSERT INTO VERSION (NAME, VALUE) VALUES (@NAME, @VALUE) END&lt;br&gt;&lt;br&gt;When the procedure is executed as follows, it drops the decimal places:-&lt;br&gt;&lt;br&gt;exec VERSIONInsertOverwrite @NAME='Database',@VALUE=10.01&lt;br&gt;&lt;br&gt;The above code stores a value of 10 instead of 10.01&lt;br&gt;&lt;br&gt;Just to confirm, the VALUE field is definitely defined as 10.2 and can store a value of 10.01 through an update statement.&lt;br&gt;&lt;br&gt;Aaron&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 26 Mar 2009 18:50:30 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>Field Constraint errors</title><link>http://forum.strataframe.net/Topic21966-11-1.aspx</link><description>This is getting frustrating and I hope there is a solution, or maybe this is a new bug???&lt;/P&gt;&lt;P&gt;From the best of my understanding this is what is happening.&lt;/P&gt;&lt;P&gt;1) Originally built and deployed a set of databases with version 1.6.0, did not add any NOT NULL or default value constraints on fields.&lt;/P&gt;&lt;P&gt;2) Some time later, we updated to version 1.6.5.  Started having occasional exceptions when accessing BOs with a field with a NULL value.  So we started updating fields whenever we needed to redeploy the DDT to turn on the NOT NULL option and set default values.&lt;/P&gt;&lt;P&gt;2.1 - When adding these we keep getting DDT errors stating, 'Error, cannot add constraint, 'Fieldname' already exists.  This error is because we have multiple tables with the same fieldnames and the constraints get added with only the fieldname.  However, if we deploy the exact same package to a fresh install the errors don't duplicate because it names the constraints 'DF_tableName_fieldName'.  The only recourse is to deploy, change constraint names, redeploy, change additional set of constraint names, and repeat until it finally adds all the constraints (because after it fails adding the first constraint it stops adding constraints to that table).  So this process can easily take 6-12 times to finally get a clean deploy.  I have tried deleting all the constraints from the database and then redeploy but they just get assigned the same name and still creates the errors.&lt;/P&gt;&lt;P&gt;So I'm totally lost as to what is happening, how to best fix this, and how to keep it from happening again.&lt;/P&gt;&lt;P&gt;:( Jason</description><pubDate>Fri, 13 Feb 2009 15:03:01 GMT</pubDate><dc:creator>Jason Seidell</dc:creator></item><item><title>dep shut it down</title><link>http://forum.strataframe.net/Topic22215-11-1.aspx</link><description>I am trying to convert tables from a vfp database and I get a message stating dep has closed the program.&lt;/P&gt;&lt;P&gt;this is in the event viewer:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang=EN&gt;Faulting application DatabaseDTK.exe, version 1.6.6.0, time stamp 0x48ceb31d, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x0bdb0f06, process id 0x9f0, application start time 0x01c99e53eed9a80c.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang=EN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang=EN&gt;Help.&lt;/P&gt;&lt;/SPAN&gt;</description><pubDate>Fri, 06 Mar 2009 06:13:53 GMT</pubDate><dc:creator>Kevin Swanzey</dc:creator></item><item><title>How to change field data type?</title><link>http://forum.strataframe.net/Topic22175-11-1.aspx</link><description>Hi,&lt;br&gt;I have a field which data type is wrongly defined. I would like to change it. However, SQL Server unable to convert it and complaint unable to convert type X to type Y even though that is no data on it (but got records) via DDT.&lt;br&gt;&lt;br&gt;As I know, we can use copy method as workaround - Create new table, APPEND back data to new table, drop old table and rename new table with old table name. But how to do it using DDT?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Wed, 04 Mar 2009 05:59:27 GMT</pubDate><dc:creator>ChanKK</dc:creator></item><item><title>DDT deploy PKG build using 1.6.7</title><link>http://forum.strataframe.net/Topic22165-11-1.aspx</link><description>So I am running 1.6.7 and I need to make a structure change in the field to a 1.6.5 installtion, will I need to install the v.10 SMO assemblies for the new .pkg file to deploy to an existing SQL 2005 server?&lt;/P&gt;&lt;P&gt;Also, I just realized that I will have to recompile my BO's as well, what SF assemblies have to be updated in the field to support this change? Or should I just update them all in your opinion to keep them in sync?</description><pubDate>Tue, 03 Mar 2009 13:54:15 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>Problem in deploying data with DDT</title><link>http://forum.strataframe.net/Topic21853-11-1.aspx</link><description>I have a project and a table which I'd like to get deployed by the DDT.&lt;/P&gt;&lt;P&gt;If I run the DDT and the target table is empty in the database I get 74 records (that's correct)&lt;BR&gt;If instead the table has records in it (the 74 I just exported) the DDT says he has imported 74 records, but when I see the table actually only 20 exist.&lt;/P&gt;&lt;P&gt;The Deployment data package is configured with the Overwrite option (I expect to rewrite the whole table every time) and the table has a primary key made by two column (this last thing is perhaps the only difference between other tables that are working well)&lt;/P&gt;&lt;P&gt;What can the problem be?</description><pubDate>Fri, 06 Feb 2009 09:07:06 GMT</pubDate><dc:creator>GRocchi</dc:creator></item><item><title>How to change the data file location?</title><link>http://forum.strataframe.net/Topic21996-11-1.aspx</link><description>Hi,&lt;br&gt;How do I allow user to choose the database destination location to be created using DDT, during deployment at customer site?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Mon, 16 Feb 2009 21:08:47 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>Lock DDT?</title><link>http://forum.strataframe.net/Topic21939-11-1.aspx</link><description>We are using StrataFrame in a team environment and occasionally have had issues with multiple people accessing the DDT at the same time.  Is there any locking or read-only feature available?  If not, any ideas?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Derek</description><pubDate>Thu, 12 Feb 2009 13:02:35 GMT</pubDate><dc:creator>Derek Price</dc:creator></item><item><title>problem to deploy trigger in Deployment Toolkit</title><link>http://forum.strataframe.net/Topic21925-11-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt; I have a problem to deploy a triger in DDT, my trigger code as bellow:&lt;/P&gt;&lt;P&gt;====================================&lt;/P&gt;&lt;P&gt;AFTER INSERT&lt;BR&gt;set ANSI_NULLS ON&lt;BR&gt;set QUOTED_IDENTIFIER ON&lt;/P&gt;&lt;P&gt;AS&lt;BR&gt;BEGIN&lt;/P&gt;&lt;P&gt;    -- Prevent the result count from interfering&lt;BR&gt;    SET NOCOUNT ON;&lt;/P&gt;&lt;P&gt;    -- Add trigger logic here&lt;BR&gt; declare @curid int, @curcode nchar(5), @cureffectivedate smalldatetime, @currate smallmoney, @lastuser nvarchar(25)&lt;BR&gt; select @curid=curid, @curcode=curcode, @cureffectivedate=cureffectivedate, @currate=currate, @lastuser=lastuser from inserted&lt;BR&gt; insert into exchangerate values (@curcode, @curid, @cureffectivedate, @currate, @lastuser, getdate())&lt;BR&gt;END&lt;BR&gt;=============&lt;/P&gt;&lt;P&gt;too simple but I don't know why can not to delpoy it, the error message as bellow.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/53e255b0-3aa1-46d2-a8d5-7154.gif"&gt;</description><pubDate>Thu, 12 Feb 2009 08:30:18 GMT</pubDate><dc:creator>Raymond Lo</dc:creator></item><item><title>Source Control and DDT</title><link>http://forum.strataframe.net/Topic21876-11-1.aspx</link><description>Hi,&lt;br&gt;Shall you share experience on how to keep track changes done in DDT during development? Would you check in package generated to source control system? How do you compare the the difference?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Sat, 07 Feb 2009 19:27:59 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>Database name (local/remote)</title><link>http://forum.strataframe.net/Topic21306-11-1.aspx</link><description>Hi,&lt;br&gt;I have questions as below:&lt;br&gt;&lt;br&gt;1. How could I allow user to decide database name during DDT deployment?&lt;br&gt;2. I have some view that join tables from local and remote database. The remote database name could be vary among customer even though it is has the same structure. How could I tell DDT at runtime so that it will "change" my view defination to map to the remote database?&lt;br&gt;&lt;br&gt;Please advice.&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Sun, 21 Dec 2008 21:16:30 GMT</pubDate><dc:creator>Chan</dc:creator></item></channel></rss>