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



Error deployment dataExpand / Collapse
Author
Message
Posted 04/19/2007 3:18:47 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/07/2008 8:26:25 AM
Posts: 8, Visits: 44
As i am a newbie with the Strataframe framework, i am not sure to post this as a question or an issue. At the moment i am implementing the deployment of a database within one of my projects. It includes some deployment data as well. That is the data for the security and the data for the localization. When i deploy only the structure and the above mentioned data everything runs smootly. If a add the data from another table and try to deploy then i always get an error, see the attached logfile. The table is a very simple table with only one field and one record.

Do you have any idea what the problem is here? I attach the package file as file.

  Post Attachments 
PosNextStrata.pkg (6 views, 59.80 KB)
PosNextStrata_results.txt (9 views, 6.23 KB)

Post #8319
Posted 04/19/2007 10:19:14 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 5:44:29 PM
Posts: 4,366, Visits: 4,393
It looks like there is something not quite right with your deployment data which has caused the issue.  I got the same error as you during deployment, but I actually had issues trying to import the package into the DDT so I could look at your deployment data.

The error looks like it is coming from one of your deployment data definitions, and guesing, I think it would be the Deployment Data item that deals with the DatabaseVerion.  All of the StrataFrame related data such as the security and messaging came in without a hitch, but it died on the DatabaseVersion.

If you remove that deployment item and re-package and re-deploy does the error persist?

P.S. I just wanted to commend you on your post first post.  You had already located the log file and provided the package file all of which I would have asked for!

Post #8333
Posted 04/20/2007 3:36:26 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/07/2008 8:26:25 AM
Posts: 8, Visits: 44
Thanks for your reply. If i remove the deployment data item everything comes in ok. I pull the data from another database than the Strataframe database. Could that be a problem? I really can't understand what the problem could be, i mean it's a very basic table with no relations, triggers or what so ever. It just holds a version number e.g. "0.95.5.8" in a nchar(10) field. Do you need some other information, files or database to solve this?

Thanks

Post #8341
Posted 04/20/2007 9:11:32 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 08/01/2008 8:53:41 AM
Posts: 2,671, Visits: 1,879
I stepped through the deployment of your package and discovered that the Databaseversion table does not have a primary key.  The primary key is required by the deployment data to determine which record to overwrite/ignore/merge.  So, if you add an Id column to that table and make it the PK/Identity column, then it will deploy properly.


www.bungie.net
Post #8356
Posted 04/23/2007 4:47:16 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 08/07/2008 8:26:25 AM
Posts: 8, Visits: 44
Thanks, that solved the problem.
Post #8407
« 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 8:13pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.141. 11 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.