Uipath.PDF.Activity Invalid license for the PDF component

Hi I am using Join PEF files and when I run it I get fallowing message “Join PDF Files: Invalid license for the PDF component” can anyone help me.
image

Thanks.

@mt367

Welcome to the community

Can you try changing the pdf package version and check…ideally it should not give an error like this

Is your windows licensed?

Cheers

Hello @mt367 Please perform following checks:

  1. Update UiPath.PDF.Activities Package**: Ensure that you have the latest version of the UiPath.PDF.Activities package installed. If an error mentioning the Docotic.Pdf library is encountered at runtime, then you should upgrade the UiPath.PDF.Activities package to version v3.1.0 or higher.
    2.Check the License: Make sure you have a valid license for the UiPath Studio. If you’re using the Community Edition, you may need to renew your license if it has expired.
  2. Check the PDF Activities: If you’re using any specific PDF activities like ‘Join PDF Files’, ensure that you’re using them correctly. For instance, the ‘Join PDF Files’ activity requires an array of strings containing the full paths of all the PDF files you want to join.
  3. Check for Compatibility Issues: If you’re using other packages in your project, such as UiPath.DocumentUnderstanding.ML.Activities or UiPath.IntelligentOCR.Activities, ensure that they are compatible with the version of UiPath.PDF.Activities you’re using.

Thanks

Thank you for your response. I updated my PDF package, and the message went away.

1 Like

Update UiPath.PDF.Activities Package: Make sure you have the latest version installed.
Check Your UiPath Studio License: If you’re using the Community Edition, ensure your license hasn’t expired.
Verify PDF Activities: Confirm you’re using the ‘Join PDF Files’ activity correctly with the right paths

Hi,

the very same error pops up when running a “Coded Test Case” like this:

namespace MyProject.Tests
{
  public class SomeTest : CodedWorkflow
  {
    [TestCase]
    public void Execute()
    {
      // code before this line runs without problems
      // ...
      testing.VerifyAreNotEqual(true, false);
    }
  }
}

This throws:
System.ComponentModel.LicenseException: Invalid license for the PDF component at UiPath.Testing.Activities.Licensing.PdfLicenseManager.EnsureValidLicense()

I checked everything from @shantanu_chande’s post (using Studio version with valid license and the latest Version of UiPath.PDF.Activities: v3.20.1).

Hi, I was having the same problem. When I merged PDF files, it worked correctly in other processes with different versions.
I updated everything to the latest version and it worked.