Book a Demo

Author Topic: Reading ClientEnd taggedvalues throws an exception  (Read 2994 times)

ErnstNaezer

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Reading ClientEnd taggedvalues throws an exception
« on: January 18, 2006, 06:56:55 am »
Hello pll,

I'm trying to read the TaggedValues of the ClientEnd and the SupplierEnd of an association (connector) object.

But I get the following error:

Unable to cast COM object of type 'System.__ComObject' to interface type 'EA.ConnectorTag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{AB28E995-ED5A-4ECE-9576-221B0239A44A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Casting this object to other Tag types doens't seem to help very much. Does anybody know which to which Type I should use to acces the tag?

thanks!

Ernst Naezer
The Netherlands.

I'm using version 2.10.238.1 of the Interop.EA.dll

p.s. Reading the TaggedValues of the connector and other types works like a charm...
« Last Edit: January 19, 2006, 12:38:44 am by ErnstNaezer »

ErnstNaezer

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Reading ClientEnd taggedvalues throws an excep
« Reply #1 on: January 23, 2006, 02:51:14 am »
Fixed! Turned out I had to cast this TaggedValue to a RoleTag class..  :-/