Error updating child application
-
Thursday, May 10, 2012 3:27 PM
Hi,
We are able to create child applications successfully under a master application.
But when we do an update of the child app definition programatically (even without changing datatype rules), we get the following error
"The authorized vocabularies exceed the limit allowed by the master."
Havent seen this error before - Any idea what this could be?
-Rajesh
Raj HealthVault Developer Tool http://xray.getrealconsulting.com
All Replies
-
Friday, May 11, 2012 5:21 PM
Is your master application authorized to "private" vocabularies like SNOMED? I'm assuming you are using ApplicationInfo.Update() to update the child application. If so, does the ApplicationInfo instance have the same values in the VocabularyAuthorizations property as the master application? The UpdateApplication operation is really more of a replace operation. You have to pass the complete set of application information in. If the VocabularyAuthorizations for the child requests access to vocabularies that the master is not authorized for, you'll see the error mentioned above.
Jeff Jones Technical Lead HealthVault Development Team
-
Friday, May 18, 2012 4:55 PM
Thanks Jeff..
Yes we are using ApplicationInfo.Update() - that too after getting AppInfo from HV and just adding another datatype to it.
One thing here is that we are doing it against the UK instance and I DO see a private vocab (that we never asked for in the child app ever) in app info xml returned by HV UK (so is not a part of master as well). I am not sure how that vocab authorization crept in child application in the first place.
I wonder if there is a configuration issue on HV UK. I am open to shtaring my AppId etc if you think that might help in trouble shooting the same.
I think it should be easy to replicate the issue.
a. Create a master app in HV UK with all datatypes
b. Programatically create a Child app
c. Try to update child app and you will see the error that I am talking about.
-Rajesh
Raj HealthVault Developer Tool http://xray.getrealconsulting.com
-
Friday, May 25, 2012 11:59 AM
Hey Rajesh,
Jeff asked that I take a look at this. As this is going to require some investigation on my end, would you be able to create a support case so I can better track this?
Thanks!
Adam W. Saxton | Microsoft HSG Escalation Services | http://twitter.com/awsaxton

