In SharePoint 2010, I am trying to copy pdf file programmatically from a non-RMS protected document library into RMS protected library using copyTo() method.
But I am getting an error while doing so. it gives error as mentioned below -
This library does not accept files of the given type. You must either upload a
new, unprotected file that supports rights management or re-upload a document
that was previously downloaded from this library.
Please suggest some solution.
Thanks,
- Edited by Sonalie 5 minutes ago