Can''t Create Association in Hosted Store.
--
Thanks.
DonBaechtel wrote:
I am trying to use your Astoria Data Store editor to create my data store online. I can not create a New Association.I have 2 Entities: Schools and Teachers.I am trying to Associate Teachers to Schools using the SchoolID2 in Schools to agree with SchoolID in Teachers. But whenever I change the NavigationProperty name and do an update, the Association Proprty names change back to NavigationProperty1.What is wrong? How do I make this association?
DonBaechtel wrote:
Now That my data store has been created, How do I change(edit) the format of my data store?
DonBaechtel wrote:
How do I add data to my data store?
DonBaechtel wrote:
Is there another way to create my data store format instead on manually enetering it one field at a time?
DonBaechtel wrote:
How do I delete my data store and create another one?
--
Thanks.
Try to create a new service and you get this message:
WebService Name: Account Already Exists
Error Information: A data service already exists which is associated with your passport account. If you wish to have your account deleted so you can create a new one, please navigate and signin to https://account.live.com/SettingsPage.aspx. Once signed in, record the 'Unique ID' value displayed and email the 'Unique ID' to astoriaf@microsoft.com. The subject of the email must be 'Delete my astoria account'. A member of the Astoria team will look into the problem and respond back to you.
Regards
Jamie
Some of your Code Snippet seems to be truncated or missing.
How do I create a data store like you did with the Astoria editor provided? What steps did you go through? I can not quite follow what you did.
Thanks for your help.
I sure wish MS would at least respond to the problems listed and provide some help.
DonBaechtel wrote:
Some of your Code Snippet seems to be truncated or missing.
Why do you say that? Looks OK to me.
DonBaechtel wrote:
How do I create a data store like you did with the Astoria editor provided? What steps did you go through? I can not quite follow what you did.
I went here: http://astoria.mslivelabs.com/OnlineService.aspx, clicked on 'Create online data service' and went from there. All instructions are provided.
-Jamie
Can you provide a simple sample of creating an Association successfully in the Astoria editor?
The XML model you provided is very difficult for me to translate into steps to be performed in the Astoria editor.
It would also help if the reasons for the failure of the Astoria editor to create the association in my example was explained.
Thanks very much for your assistance.
The issue you may be running into is that the editor does not let you call the association-property with the same name as the containing entity (or the target entity I believe). Did you try giving it a different name?
Also, the editor would revert your change if you use an illegal character (e.g. something that's not a letter or a number; a letter for the first character).
Pablo Castro
Technical Lead
Microsoft Corporation
As Pablo noted, the editor will automatically revert an update to a field name that is deemed "invalid". In short, a property name or association name for a given entity cannot be the same as the entity name or another property / association name. Furthermore, when naming the association for the target entity in the relationship, the name of the association for the target follows a similar set of rules.