keidartom

10.1 - ComEx 2147218671 "doesn't have the required license" using IClone

Discussion created by keidartom on Mar 21, 2013
Hi,

I'm trying to run those lines:

IRepresentationRules repRules = GetRepRule();
IClone clone = (IClone)repRules;
IRepresentationRules cloneRepRule = clone.Clone() as IRepresentationRules;

At the last line I get the following ComException:
-2147218671, which means I don't have the required license for this operation.

I'm trying to run this application with Standard(ArcEditor) and Advanced(ArcInfo) and still get the same exception.

Any ideas?
Thanks!

Outcomes