Hi Amit,
Finally I am able to get the error behind CanPutXMP to fail.
It is 'can't fit into specified packet size'.
All the data being added into document's metadata is text. You said that, there is no limit on text data to be added as metadata.
Will you please tell more about why is this error occuring?
Awaiting Reply.