Iron-OCR-Image-to-Text-in-CSharp icon indicating copy to clipboard operation
Iron-OCR-Image-to-Text-in-CSharp copied to clipboard

InstallationPath Permission Error 1772

Open narayanmitra opened this issue 4 years ago • 4 comments

OCR Exception:Iron OCR InstallationPath Permission Error 1772. Could not deploy and run IronOCR resources to path '' for user 'TRANS2000\nmitra'. This can be fixed globally by setting IronOcrInstallation.InstallationPath to a directory on disk with file read and write permissions. Please refer to documentation at http://ironsoftware.com/csharp/ocr/docs/html/P_IronOcr_IronOcrInstallation_InstallationPath.htm

narayanmitra avatar Dec 18 '19 13:12 narayanmitra

Any update on this issue? I am also having it. I have raised a support ticket as well with no luck.

staind825 avatar Jan 10 '20 14:01 staind825

That permission message is pretty misleading and wrong for most of the cases, I solved it by installing the c++ runtime (32+64) and it works like a charm!

avimaymon avatar Feb 19 '20 23:02 avimaymon

I did not realize ironOCR does not support .net core. That ended up being my problem.

I created a .net full api project to expose the functionality to myself as a work around.

staind825 avatar Feb 19 '20 23:02 staind825

IronOCR supports .NET Core since version 2020.11.2, released in November 2020. (Also Linux, MacOS, Mono, Xamarin Mac). Microsoft Visual C++ Redistributable for Visual Studio (both 32-bit and 64-bit versions) should be installed on target machines https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads (The unhelpful error message has been updated in the latest release)

darren-iron avatar Jan 14 '21 04:01 darren-iron