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



DDT ErrorExpand / Collapse
Author
Message
Posted 10/02/2006 7:16:27 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 10:50:47 AM
Posts: 368, Visits: 1,850

For some reason DDT can’t find the messaging database (see attachment).  I’m assuming that it’s looking for the database named StrataFrame which does exist on my SQL server and contains the message key. The application connection in DDT points to the StrataFrame database. I’ve tried uninstalling and re-installing v1.5 but that doesn’t fix the problem.

-Larry

  Post Attachments 
DDTError.png (37 views, 90.60 KB)

Post #3250
Posted 10/03/2006 8:30:01 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
Yes, Larry, that seems to be happening to everyone.  I am working on embedding the localized messages within the assembly in XML files, and I will let you know when we post the update.


www.bungie.net
Post #3255
Posted 10/04/2006 6:17:45 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 10:50:47 AM
Posts: 368, Visits: 1,850

I got around the messaging database errors by importing the messages into the StrataFrameInternal database. I thought there was just the StrataFrame DB. Now that I’ve got that going I find that DDT does not appear to support the creation of a foreign key relationship based on a compound primary key. Is that correct or am I missing something. If not do you plan on adding that capability? Also the capability to import relationships would be great. I find it easier to develop a database in Visio or Erwin but it would be nice to be able to use DDT to deploy it along with the initial data.

-Larry

Post #3319
Posted 10/05/2006 9:17:32 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
The only way to define a relationship based on a compound primary key is to create multiple relationships for the "compound relationship" (one per field pair).  So, if you have 2 fields in the primary key, then you can define 2 separate relationships within the DDT, but you cannot create a single relationship that contains both keys.


www.bungie.net
Post #3325
Posted 10/05/2006 2:32:15 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 10:50:47 AM
Posts: 368, Visits: 1,850
I've tried defining two relationships but haven't been able to get that to work (see attachmet). I'm not sure what I'm doing wrong. Everything works fine for non-compound keys.

-Larry

  Post Attachments 
DDTError2.png (38 views, 151.67 KB)

Post #3332
Posted 10/05/2006 6:36:18 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 10:50:47 AM
Posts: 368, Visits: 1,850

This may or may not be related to the issue in my previous post regarding compound foreign keys but I’ve found that when I import a database the primary key index is not being created. In order to create the index I have to go to the Modify Table Structure screen and uncheck and re-check the Primary Key box on the Primary Key field and save the modification.  

 

There is a similar issue when adding the messaging and localization tables via the profile menu. The automatically generated stored procedures for the MessageItems and MessageLanguages are being created with blank names. Opening the Table Properties for each table and un-checking and re-checking the ‘Create INSERT Stored Procedure’ followed by save fixes the problem.

 

Lastly I added the Security Tables using the latest security package to my database. When I try to create the package I get an error message (see attachment). However if I exit DDT and rerun it I can create the package. If I try to create a package more than once I get the error and have to exit DDT.

 

-Larry

 

Post #3344
Posted 10/06/2006 9:36:03 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 3:20:54 PM
Posts: 4,769, Visits: 4,731
Larry,

Thanks...you are right about the indexes not being created.  This is something that we have recently learned of and so we will add it to the "To-Do" list.   As for the security errors, do you have a more specific error that we can look at?  Thanks.

Post #3347
« 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 6:04pm

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