﻿<?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?)  » Data Deployment Package file problem</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 13 May 2026 01:45:09 GMT</lastBuildDate><ttl>20</ttl><item><title>Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23929.aspx</link><description>Hey guys,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I've ran into an issue deploying package files from a dvd.&amp;nbsp; The meta-data phase works smoothly, but then&amp;nbsp;errors when attempting to deploy the actual data.&amp;nbsp; 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).&amp;nbsp; &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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR&gt;&amp;nbsp;</description><pubDate>Mon, 03 Aug 2009 08:45:30 GMT</pubDate><dc:creator>Alan Jones</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost24055.aspx</link><description>Alan,&lt;br&gt;
&lt;br&gt;
As I think that you have already discovered, the logic you are expecting is already the way it works.  So if you have any continued problems, please let us know.  Thanks.</description><pubDate>Mon, 03 Aug 2009 08:45:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost24041.aspx</link><description>[quote][b]Alan Jones (07/31/2009)[/b][hr]As for the multiple .bin files, I think our best option at the moment is two packages, one that deploys just the meta data and a second that is data only.[/quote]&lt;br&gt;
&lt;br&gt;
I agree, this way you will have better control on the ending result if one of the package fails.</description><pubDate>Fri, 31 Jul 2009 17:32:16 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost24039.aspx</link><description>You can disregard the previous post.&amp;nbsp; There appeared to be some type of corruption in the package file where it wasn't copying out the DataDeployment.xml.&amp;nbsp; Other package files appear to be copying it correctly.&amp;nbsp; &lt;/P&gt;&lt;P&gt;As for the multiple .bin files, I think our best option at the moment is two packages, one that deploys just the meta data and a second that is data only.&amp;nbsp;</description><pubDate>Fri, 31 Jul 2009 16:49:42 GMT</pubDate><dc:creator>Alan Jones</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost24036.aspx</link><description>On a separate note, I've noticed when the&amp;nbsp;deploy meta data runs, the DeploymentData.xml does not get pulled and created.&amp;nbsp; Is it possible to pull and create that as well during the meta data process or is there some reason it is being omitted?&amp;nbsp; &lt;BR&gt;&lt;BR&gt;In our situation, we are deploying some rather 3&amp;nbsp;large package files, each with two to three .bin files around 2 gb.&amp;nbsp; When our&amp;nbsp;deployment program runs, it essentially creates those .bin files in the temporary folder twice - once for the metadata phase and again in our data deployment phase.&amp;nbsp; (Since we are calling the above mentioned enumdeploymentpackages which opens the package again.)&amp;nbsp; It seems like a lot of unnecessary overhead to be pulling those .bin files in both instances.&lt;BR&gt;&lt;BR&gt;</description><pubDate>Fri, 31 Jul 2009 15:08:40 GMT</pubDate><dc:creator>Alan Jones</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23989.aspx</link><description>Well Done. We are not using 1.7 release yet. We have a release pending and have locked the code. We will make this change to the DLL and use this for our deployment on the install CD.&lt;P&gt;After this release we can move to 1.7 and get the fix from you then.&lt;/P&gt;&lt;P&gt;By the way we have moved to InstallShield from InstallAware. It was just not cutting it for our install requirements.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kenneth</description><pubDate>Wed, 29 Jul 2009 16:33:15 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23983.aspx</link><description>I see one place in the code not setting the package to be Read-Only (and will b ea 30 second fix), but before I can just send you a DLL, what version are you on?  If you are not on 1.7, then me sending you a DLL to try won't work.  In this example, you will need to just open the 1.6 SF code, make the change in the EnumDeploymentPackages method, and then use that assembly and then the next update will address this (so you don't have to maintain the source code).&lt;br&gt;
&lt;br&gt;
In the DatabaseMigrator class in the DBEngine, the code should look like this to ensure it is opened as Read-Only (EnumDeploymentPackages method):&lt;br&gt;
&lt;br&gt;
[codesnippet]'-- Establish locals&lt;br&gt;
            Dim laReturn As New List(Of DeployDataInfo)&lt;br&gt;
            Dim loPackage As New PackageFile()&lt;br&gt;
            Dim loRow As DataRow&lt;br&gt;
            Dim loItem As DeployDataInfo&lt;br&gt;
            Dim loDeployDataDS As DataSet = Nothing&lt;br&gt;
&lt;br&gt;
            loPackage.FileOpenAccess = System.IO.FileAccess.Read&lt;br&gt;
            loPackage.Open(MetaDataPkgPathAndFileName, True, False, PkgPassword)&lt;br&gt;
&lt;br&gt;
            '-- Iterate through the records in the deployment data of the server and get them&lt;br&gt;
            loPackage.ExtractFiles(loPackage.GetIndexesByFilename("DeploymentData.xml"), PackageExtractionType.Relative, GetTemporaryFolder, True)&lt;br&gt;
&lt;br&gt;
            '-- We're done, so close the package file&lt;br&gt;
            loPackage.Close()&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
Once that change is made, the error should go away.  I will make that change on this side, but if you are not on 1.7 then the change will have to be made on your side as well.  If you don't get it going, let me know and I will go back in history and get the 1.6.6 build sucked down.</description><pubDate>Wed, 29 Jul 2009 16:23:32 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23978.aspx</link><description>Here is the code that we are using. Do you have any suggestions for a change ?&lt;P&gt;[codesnippet]&lt;BR&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' Assumes that the meta-data has already been deployed and will deploy the&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' deployment data packages within the package file.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Private&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; StartDataDeploymentPhase()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Establish Locals&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; laPKs &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; List(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Of&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Integer&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; loItem &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; DeployDataInfo&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Build a collection with all of the deployment primary keys. &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;For&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Each&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; loItem &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;In&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; DatabaseMigrator.EnumDeploymentPackages(_Package, &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"sunshine"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;laPKs.Add(loItem.PrimaryKey)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Next&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Create the DatabaseMigrator instance&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; _SQLUserName.Length = 0 &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;_DatabaseSetupData = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; DatabaseMigrator(_SQLServer, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;_DatabaseSetupData = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; DatabaseMigrator(_SQLServer, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;False&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, _SQLUserName, _SQLPassword)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Set the Logfile location&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;_DatabaseSetupData.LogFilePathAndFileName = MicroFour.StrataFrame.Strings.StringBasics.AddBS(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;My&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Computer.FileSystem.SpecialDirectories.Temp) &amp;amp; &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"tcms_install.log"&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;._DatabaseSetupData.EnableLogging = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Create the DatabaseTargetName Array&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;CreateDatabaseTargetNames()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Start the deployment of the data&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;._DatabaseSetupData.DeployData(_Package, &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;"sunshine"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;, laPKs.ToArray(), &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;._DTNames)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;[/codesnippet]</description><pubDate>Wed, 29 Jul 2009 16:09:11 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23973.aspx</link><description>Ken,&lt;br&gt;
&lt;br&gt;
You can already do exactly what you want.  If you are going to use the standard meta data deployment class, then we will have to make a change to that dialog, but I went back and looked at our notes and we added the ability to open as read-only specifically for you for this purpose.  Here is the code to open a package file as read-only:&lt;br&gt;
&lt;br&gt;
[codesnippet]PackageFile x = new PackageFile();&lt;br&gt;
x.FileOpenAccess = System.IO.FileAccess.Read;&lt;br&gt;
&lt;br&gt;
x.Open(@"C:\Temp\StrataFlix.pkg", true, false);&lt;br&gt;
&lt;br&gt;
x.Close();[/codesnippet]&lt;br&gt;
&lt;br&gt;
I reproduced the error you received first, then I executed the code above and it opens as advertised.</description><pubDate>Wed, 29 Jul 2009 15:38:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23971.aspx</link><description>Here is the Stack trace error.</description><pubDate>Wed, 29 Jul 2009 15:21:10 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23969.aspx</link><description>What is the stack trace that you are getting?  It sounds like it is trying to extract something to the source drive, which doesn't sound right.  If you don't mind, post the stack trace so I can see where it is being called.  Thanks.</description><pubDate>Wed, 29 Jul 2009 14:52:15 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23968.aspx</link><description>We have also checked the data deployment through the DDT and we are getting the same issue. I believe that when you are opening the package for data deployment that it is trying to open as readwrite.&lt;P&gt;Make a package file readonly on your machine. Try to deploy data from said package file. You will get the same error from the DDT.&lt;/P&gt;&lt;P&gt;Error message below:[img]&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/562e63b9-5a59-40ba-a0c2-f39b.JPG"&gt;[/img]</description><pubDate>Wed, 29 Jul 2009 14:49:51 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23967.aspx</link><description>We implimented the recommendations you explained. We are not having an issue with the package file being open but that the file cannot be opened from a read only drive. If I make my directory "with the package file" on the harddisk readonly, I get the same error as if it were on a DVD.&lt;P&gt;This happens when we try to deploy data, not metadata from same package file.&lt;/P&gt;&lt;P&gt;What do you think about this error ?&amp;nbsp;&amp;nbsp; :w00t:&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Kenneth</description><pubDate>Wed, 29 Jul 2009 14:18:31 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: Data Deployment Package file problem</title><link>http://forum.strataframe.net/FindPost23946.aspx</link><description>Actually this isn't an issue.  There is another thread or two out here about this, but it has to do with the access to the PKG file already being open via the previous process.  Just FYI, this is something that we do as well and so I am very confident in this process.&lt;br&gt;
&lt;br&gt;
One thing that you can do to make sure that the issue is resolved is to totally close the DatabaseMigrator class and re-created it and re-open the package.  So when the meta-data is completed, you will close the migrator, re-create it and then start the data deployment phase.  This is one way to ensure that the PKG file is not being held open.</description><pubDate>Wed, 29 Jul 2009 09:36:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>