web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Microsoft RMS SDK 4.2 support for .docx files

(0) ShareShare
ReportReport
Posted on by

I am using the MicrosoftRightsManagement.framework in iOS, and cannot open protected .docx files. Is this a supported file type? Is there someplace I need to specify the file type I am using other than just calling the MSProtectedData protectedDataWithProtectedFile:userId:authenticationCallback:consentCallback:options:completionBlock: method with the file path parameter?

Here are the logs:

2018-07-10 16:08:31.289786-0700 RMSGD[93612:3995385] VERBOSE: main thread: +[MSProtectedData protectedDataWithProtectedFile:userId:authenticationCallback:consentCallback:options:completionBlock:] started. [line 46]

2018-07-10 16:08:31.290624-0700 RMSGD[93612:3995385] VERBOSE: main thread: -[RmsFlowFactory createFlowOfType:flavor:] started. [line 36]

2018-07-10 16:08:31.291201-0700 RMSGD[93612:3995385] VERBOSE: main thread: +[MSProtectedData serializedPolicyWithContentsOfFile:consumptionPFileFlow:completionBlock:] started. [line 97]

2018-07-10 16:08:31.291708-0700 RMSGD[93612:3995385] VERBOSE: main thread: Failed in checkPreamble, preamble does not match expected value

2018-07-10 16:08:31.292292-0700 RMSGD[93612:3995385] VERBOSE: main thread: The check for preamble failed, will treat the file as non protected

2018-07-10 16:08:31.292854-0700 RMSGD[93612:3995385] ERROR: main thread: An error occurred: The user supplied a non protected file

2018-07-10 16:08:31.293460-0700 RMSGD[93612:3995385] ERROR: main thread: Fatal error, failed to create Pfile.

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans