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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans