Data Deployment Package file problem


Author
Message
Alan Jones
Alan Jones
StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)
Group: StrataFrame Users
Posts: 7, Visits: 32
Hey guys,
    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.

I was able to get around this by changing the code in DbEngine -> DatabaseMigrator -> EnumDeploymentPackages where it was attempting to open it with FileAccess.ReadWrite (the default for a new PackageFile). 

from:
Dim loPackage As New PackageFile(MetaDataPkgPathAndFileName, True, False, PkgPassword)

to this:
Dim
lopackage As New PackageFile()
lopackage.FileOpenAccess = FileAccess.Read
lopackage.Open(MetaDataPkgPathAndFileName,
True, False, PkgPassword)

Any chance of including this in your next update/release?


 

 


 

Replies
Alan Jones
Alan Jones
StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)StrataFrame Beginner (35 reputation)
Group: StrataFrame Users
Posts: 7, Visits: 32
You can disregard the previous post.  There appeared to be some type of corruption in the package file where it wasn't copying out the DataDeployment.xml.  Other package files appear to be copying it correctly. 

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. 

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Alan Jones (07/31/2009)
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.




I agree, this way you will have better control on the ending result if one of the package fails.

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Alan,



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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Alan Jones - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Kenneth Langley - 16 Years Ago
Kenneth Langley - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                         Here is the Stack trace error.
Kenneth Langley - 16 Years Ago
                             Ken,

You can already do exactly what you want. If you are...
Trent L. Taylor - 16 Years Ago
                                 Here is the code that we are using. Do you have any suggestions for a...
Kenneth Langley - 16 Years Ago
                                     I see one place in the code not setting the package to be Read-Only...
Trent L. Taylor - 16 Years Ago
                                         Well Done. We are not using 1.7 release yet. We have a release pending...
Kenneth Langley - 16 Years Ago
                                             On a separate note, I've noticed when thedeploy meta data runs, the...
Alan Jones - 16 Years Ago
                                                 You can disregard the previous post. There appeared to be some type of...
Alan Jones - 16 Years Ago
                                                     [quote][b]Alan Jones (07/31/2009)[/b][hr]As for the multiple .bin...
Edhy Rijo - 16 Years Ago
                                                         Alan,

As I think that you have already discovered, the...
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search