Win32 exception was unhandled. The system cannot find the file specified.

Nov 26, 2011 at 7:07 AM

When I run the PDFCompressor Windows Utility and click on Start, I get this error in line: throw X and inside method private void AddImage.

This is in PdfCreator.Cs file.

I am using a 64 bit Windows 7 machine. I tried changing the build to Any CPU or x86 or x64, but for everything, I am getting the same error.

All DLL references are fine as well, but still having the problem. Can someone help?

Dec 21, 2011 at 2:08 PM

Be sure you have cuneiform setup in your path (environment variables) and/or tesseract installed. In the options of PDFCompressor, you can choose which ocr engine to use. You should be able to open a command line and type either cuneiform or tesseract to test and see if they're setup right.