Essbase Error 1200419

Attempt to assign an object of type where was expected