TDM Portal error trying to register objects