I receive same error( on Any CPU and 64 in Platform Target):
Could not load file or assembly 'tessnet2_32, Version=2.0.4.0, 
Culture=neutral, PublicKeyToken=1550524b5ba07e29' or one of its 
dependencies. An attempt was made to load a program with an incorrect 
format.

by changing to 86, I receive this error:
Mixed mode assembly is built against version 'v2.0.50727' of the runtime 
and cannot be loaded in the 4.0 runtime without additional configuration 
information.

what`s the solution?
( my OS is win8 and VS2012)
Regard


On Thursday, August 8, 2013 12:55:39 AM UTC+3:30, [email protected] wrote:
>
> Check the "Platform Target" that your code is built to run on.
>  
> You should have 3 options,
> 1) Any CPU
> 2) x86
> 3) x64
>  
> Change this option depending on your system.
>  
> x86 worked for me when I had this problem
>
> On Monday, February 20, 2012 6:21:22 AM UTC-5, tesseractNewUser wrote:
>
>> To, 
>>
>> I have the problem when running in visual studio 2008. It generate the 
>> following error 
>>
>> Could not load file or assembly 'tessnet2_32, Version=2.0.4.0, 
>> Culture=neutral, PublicKeyToken=1550524b5ba07e29' or one of its 
>> dependencies. An attempt was made to load a program with an incorrect 
>> format. 
>>
>> I follow the step to add reference and language data in my project. 
>> 1) Download binary here, add a reference of the assembly Tessnet2.dll 
>> to your .NET project. 
>> 2) Download language data definition file here and put it in tessdata 
>> directory. Tessdata directory and your exe must be in the same 
>> directory. 
>> 3) Look at the Program.cs sample 
>>
>> Base on the reference site 
>> http://www.pixel-technology.com/freeware/tessnet2/ 
>>
>>
>> Any idea how to resolve the problem Thanks 
>>
>> From louisth
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to