Could not load file or assembly for ocr2anyCom.exe COM Interface. An attempt was made to load a program with an incorrect format (System.BadImageFormatException)

Hello, I purchased VeryPDF OCR to Any Converter SDK recently, when I register ocr2anyCom.exe COM interface into my system in CMD window, I countered "Unspecified error; quitting" error message.

https://www.verypdf.com/app/ocr-to-any-converter-cmd/index.html

I'm facing issue while installing ocr2any SDK, "Unspecified error".

image

Error coming while running ocr2anyCom.exe /regserver on Win 2019 Server.

It's already register using MMC comexp.msc /32 in DConfig still showing error.

image

Customer
-------------------------------
>>Facing issue while installing ocr2any SDK ,"Unspecified error"

You need run a CMD window with administrator privilege, and run in this CMD window, you will able to register it correctly,

ocr2anyCom.exe /regserver

>>Its already register using MMC comexp.msc /32 in DCOnfig still showing error.
>>Could not load file or assembly. An attempt was made to load a program with an incorrect format (System.BadImageFormatException)

ocr2anyCom.exe is a 32bit file, you can enable 32bit applications and it will fix this problem for you.

For example, you can try to change "Enable 32-bit Applications" to "true". Or, on your project, right-click, and in the properties menu, change the "platform target" to "Any CPU".

image

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!