iron-software / Iron-OCR-Image-to-Text-in-CSharp

Image to Text Tutorial in C# - See https://ironsoftware.com/csharp/ocr/tutorials/how-to-read-text-from-an-image-in-csharp-net/
72 stars 17 forks source link

InstallationPath Permission Error 1772 #5

Open narayanmitra opened 4 years ago

narayanmitra commented 4 years ago

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

staind825 commented 4 years ago

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

avimaymon commented 4 years ago

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!

staind825 commented 4 years ago

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.

darren-iron commented 3 years ago

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)