• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Converting protected docx file (how to bypass the password)

New Here ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

Im getting this error when converting docx to pdf , the docx is protected and i know the password, so i want to bypass the password before converting.{"Source file is protected and cannot be processed.; requestId=48671aa7-a481-47d8-a707-2d980edffd2d"}

Views

52

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

I have tried this but didnt work

emoveProtectionOperation removeProtectionOperation = RemoveProtectionOperation.CreateNew();
FileRef sourceFileRef = FileRef.CreateFromLocalFile(@"test.docx");
removeProtectionOperation.SetInput(sourceFileRef);removeProtectionOperation.SetPassword("password");FileRef result = removeProtectionOperation.Execute(executionContext);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 28, 2024 May 28, 2024

Copy link to clipboard

Copied

LATEST

As I said in the other thread I believe you opened, you can't use our API to remove a password from a Word document.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources