StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Deployment dataExpand / Collapse
Author
Message
Posted 12/17/2006 1:08:54 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 01/12/2007 12:20:28 PM
Posts: 48, Visits: 97
Hi,

How could I deploy multiple tables data to destination database? Also, When I use deployment data wizard, it allow me to choose to deploy either localization and messaging data or security data. What if I want to deploy both?

Thank you

Post #5357
Posted 12/17/2006 11:00:21 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
How could I deploy multiple tables data to destination database?

Download and run this sample to see how to deploy the databases using a package file. 

http://forum.strataframe.net/Topic4635-17-1.aspx 

If you are just referring to the editor itself, just click the "Deply to server" icon in the toolbar:

What if I want to deploy both?

Run it twice.  Once for the localization and another for the security.  It is just a wizard that creates the deployment data packages for you.

Post #5360
Posted 12/19/2006 7:52:28 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 01/12/2007 12:20:28 PM
Posts: 48, Visits: 97
Hi,
Thank you.
How could I deploy database (table structure and data) from database A to database B?

I used Security Editor to create an temporary user, permission, role and restriction. Since they are stored under Strataframe database. How could I deploy it to StrataframeSample database?

How does DDT detect table relationship? DDT doesn't show any relationship for table orders and orderitems. However, it works for Security table.

Thank you
Post #5390
Posted 12/19/2006 8:09:07 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
How could I deploy database (table structure and data) from database A to database B?

The table structures are all within the meta-data so when you create a package file, all you need is the .pkg file that was created to deploy both structures and data.  If you are referring to pulling data from a server so you can deploy to another, this is just a Deployment Package.  You can refer to the documentation on how to create a deployment package.  It is farily straight forward.

How could I deploy it to StrataframeSample database?

Well, it is best not to change the StrataFrameSample database, but to do this, you just need to create a DDT profile and use the Deployment Data Wizard to bring in the Security data structures and create the associated data packages.

There is in-depth documentation on how to do this in the DDT Help.

How does DDT detect table relationship?

I don't really understand your question.  The DDT has full relationship support.  If you are referring to importing an existing SQL Server database, then yes, at the moment the relationships are not imported.  This feature will be implemented and is on our "to-do" list.

Post #5392
Posted 12/19/2006 8:42:12 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 01/12/2007 12:20:28 PM
Posts: 48, Visits: 97
Hi,
The table structures are all within the meta-data so when you create a package file, all you need is the .pkg file that was created to deploy both structures and data. If you are referring to pulling data from a server so you can deploy to another, this is just a Deployment Package. You can refer to the documentation on how to create a deployment package. It is farily straight forward.


What I meant is my source database name is not same with my destination database.


Well, it is best not to change the StrataFrameSample database, but to do this, you just need to create a DDT profile and use the Deployment Data Wizard to bring in the Security data structures and create the associated data packages.


In my DDT, I have only imported StrataframeSample database. When I use Deployment Data Wizard, I only see StrataframeSample database appear at source/destination combo list. I checked database, my actual security data (entered using Role Security Dialog) are actually stored in Strataframe database. Do I need to import Strataframe databse to DDT as well?

Thnak you
Post #5393
Posted 12/19/2006 10:10:33 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
Do I need to import Strataframe databse to DDT as well?

No!!!!    Do not touch this database or you could potentially break StrataFrame.  This is the database we use for the framework.

Post #5395
Posted 12/19/2006 11:41:54 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 01/12/2007 12:20:28 PM
Posts: 48, Visits: 97
Hi,
Any suggestions to solve my issue?

Thank you
Post #5429
Posted 12/20/2006 9:18:18 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
To deploy the security data (users, permissions, etc.) to your testing database, you need to run the Deployment Data wizard and select the security data.  When you select the project or projects from which to gather the data, the DDT will create the deployment data packages necessary to gather those users and permissions when the package file is built (when you build the package file or deploy to a server with the DDT). 

When you get the message saying that the source is not the same as the destination, you need to make sure that you have a valid source selected on the first tab.  The first tab of the deployment data editor allows you to select the database from which the data will be gathered.  The DDT is expecting that the source table for the data will have the same name as the destination table for the data.


www.bungie.net
Post #5431
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:56am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.