none
Office 2013 vs 2016 open protected file view document issue RRS feed

  • Question

  • I am accessing below property using Word Interop in C# application.

    • hasPrintRevisions = wordDocument.PrintRevisions;
      trackRevisionsEnabled = wordDocument.TrackRevisions;
      showRevisionsEnabled = wordDocument.ShowRevisions;
    • I am having two different machine, one machine having office 2013 and one machine having office 2016.
    • Both machine having same setting for Protected File view.

    Issue is,

    In office 2013 machine, i able fetch above properties without any error.

    In office 2016 machine, i am facing error, it says (Method or property not available because the document is protected document)

    i have compare almost all setting of word in both machine, all are similar..

    Please note file is form type word document.

    can you suggest, what can be issue with setting to resolve above issue or how to open Protected document view file in office 2016 ??

    Thanks

    Tuesday, May 29, 2018 7:19 AM

All replies

  • Hello Virak84,

    Which line caused the error? Did they both opened the same protected document? Document.ShowRevisions is deprecated in Office 2013 and later, why do you need use it?

    Best Regards,

    Terry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, May 30, 2018 9:36 AM