Get PDF PAge Count dont work

Hello Friend,
I have the following dependencies:

the activity: Get PDF Page Count return the error:
"Get PDF Page Count: Méthode introuvable : ‘Void BitMiracle.Docotic.Pdf.PdfDocument…ctor(System.String, System.String)’.

I did’nt know why ?
any help

try updating the package to the latest one @abdel
image

I had upgrated the "system.activities " =>


Hi @abdel

Try to upgrade the UiPath.PDF.Activities Package to latest version.

I hope it works!!

Hi @abdel

Try:

  1. Update the package to the latest version.
  2. Close UiPath Studio and reopen it.
  3. Reinstall the package

u can try regex
converting the document into text
and then try the regex which tells the “pagecount”

finally i had fixed the dependency problem, but another problem appear in the “digitilize” activity

image

=>The exception is System.AggregateException: One or more errors have occurred. —> UiPath.Shared.Activities.TrackingException: Request CorrelationId: ca4754d5-6cc2-4c9e-bc39-9cafddebb179\nRequest PredictionId: q+frA0PI0IwxpLN/KZbm5BKSRjtVa2jvmxdvyBzDcnY=_03a02fdd-bf89-4805-a a3a-d4154dbb6ba8\nThe object reference n is not set to an instance of an object. —> System.NullReferenceException: Object reference not set to an instance of an object.\r\n at UiPath.OCR.Activities.UiPathDocumentOCR.d__21.MoveNext()\r\ not

Any help, plz, it very urgent ?

Hi @abdel

Reinstall the ocr and intelligentocr packages.

i had done this but it did not work

@abdel

Delete all the unwanted packages.

is your pdf password protected , or is it unaccessible to the robot?