Error code:0

Aug 12, 2010 at 12:24 PM

Hi,

I viewed the discussions regarding code:0, but the soulutions werent helpful.

Ive adde the dlls into my desktop application and copied the code attached, but this exception is thrown.

even th sample is halted with the same reason.

please help!

Coordinator
Aug 12, 2010 at 4:34 PM
Could you please give me the images you used for testing?
Aug 13, 2010 at 1:04 PM
The problem accures in every picture (tiff files). it happenes in 32 and 64 bit OS..
Coordinator
Aug 13, 2010 at 1:54 PM

Recently a guy has contaced me with the same problem. He was also saying that tried all and checked everywhere but still was getting Code 0. The problem was that he had been trying to recognize screen text. Puma is not tweaked for that, it's originally created to deal with high resolution scanned images. So this error was about 'no text to recognize'.

Aug 13, 2010 at 2:58 PM
see log: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** Puma.Net.RecognitionEngineException: Recognition engine halted with code:0 at Puma.Net.PumaPage.RecognizeToFile(String fileName, PumaFileFormat format) in Z:\Projects\Diploma\Puma.Net\Puma.Net\PumaPage.cs:line 574 at Puma.Net.PumaPage.RecognizeToFile(String fileName) in Z:\Projects\Diploma\Puma.Net\Puma.Net\PumaPage.cs:line 496 at Puma.Net.Sample.MainForm.recognizeButton_Click(Object sender, EventArgs e) in Z:\Projects\Diploma\Puma.Net\Puma.Net.Sample\MainForm.cs:line 94 at Puma.Net.Sample.ImageViewer.recognizeButton_Click(Object sender, EventArgs e) in Z:\Projects\Diploma\Puma.Net\Puma.Net.Sample\ImageViewer.cs:line 217 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- Puma.Net.Sample Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Puma.NET/Sample/bin/x86/Debug/Puma.Net.Sample.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Puma.Net Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Puma.NET/Sample/bin/x86/Debug/Puma.Net.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- puma.interop Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Puma.NET/Sample/bin/x86/Debug/puma.interop.DLL ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.