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.

