Are you using ReadingXMP sample which is provided with XMP SDK? If not, XMP SDK provided ReadingXMP sample, please build and use it or send the code which you are using.
If you are using ReadingXMP, could you please send the file you are trying to read and code changes if you have done any.
-Sunil