locked
A matching vocabulary could not be found. Countries "iso3166" RRS feed

  • Question

  • Hello there,

     

    We have been using HealthVault vocabularies quite extensively with no problem so far, but suddenly we hit an issue when trying to pull out the countries vocabulary.

    Upon execution of this code

     

    ApplicationConnection connect = new ApplicationConnection();

    Vocabulary vocabulary = connect.GetVocabulary("iso3166");

     

    we are getting the following exception:

     

    Microsoft.Health.HealthServiceException was unhandled by user code
      Message="A matching vocabulary could not be found."
      Source="Microsoft.Health"
      ErrorCodeId=55

     

    Is there anything special to watch out for when dealing with non "wc" vocabularies ?

     

    Thanks in advance.

     

    - Joscelin.

    Guide Productions.

    www.guideproductions.com

    Friday, April 4, 2008 10:01 PM

Answers

  •  

    Joscelin,

     

    It turns out that I misspoke on this. The iso3166 vocabulary is there, but you need to pass in the appropriate vocabulary key to get there. The information is:

     

    Name: iso3166

    Family: iso

    Version: 1.0

     

    Monday, April 14, 2008 8:23 PM

All replies

  •  

    While there is an entry for the iso3166 in the table of vocabularies, it currently is not populated.
    Monday, April 7, 2008 4:35 PM
  •  

    Joscelin,

     

    It turns out that I misspoke on this. The iso3166 vocabulary is there, but you need to pass in the appropriate vocabulary key to get there. The information is:

     

    Name: iso3166

    Family: iso

    Version: 1.0

     

    Monday, April 14, 2008 8:23 PM