We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

OCR on PDF sample application is not working

Thread ID:

Created:

Updated:

Platform:

Replies:

115082 Dec 22,2013 06:13 PM UTC Dec 23,2013 04:21 AM UTC WinForms 1
loading
Tags: PDF
Klaus-Dieter Helbig
Asked On December 22, 2013 06:13 PM UTC

Running the samle there is an unhandelt error.

Debugging the sample solution in VS 2013 ther ist an unhandlet exception in mscorlib.dll:

FormatException was unhandled
An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll


line 371:

processor.PerformOCR(lDoc, GetFullTemplatePath(@"OCR/Tessdata/"));


line 330:
Application.Run(new Form1());


   bei System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   bei System.Double.Parse(String s)
   bei Syncfusion.OCRProcessor.OCRProcessor.PerformOCR(PdfLoadedDocument lDoc, Int32 startIndex, Int32 endIndex, String dataPath)
   bei Syncfusion.OCRProcessor.OCRProcessor.PerformOCR(PdfLoadedDocument lDoc, String dataPath)
   bei EssentialPDFSamples.Form1.button1_Click(Object sender, EventArgs e) in c:\Users\Klaus-Dieter\AppData\Local\Syncfusion\EssentialStudio\11.4.0.26\Windows\Pdf.Windows\Samples\OCR\PDF OCR\CS\Form1.cs:Zeile 371.
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei EssentialPDFSamples.Form1.Main() in c:\Users\Klaus-Dieter\AppData\Local\Syncfusion\EssentialStudio\11.4.0.26\Windows\Pdf.Windows\Samples\OCR\PDF OCR\CS\Form1.cs:Zeile 330.
   bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()


KarthikeyanC [Syncfusion]
Replied On December 23, 2013 04:21 AM UTC

Hi Klaus,

Thank you for using Syncfusion Products.

 

Could you please follow the incident 117265 which you have created for this same issue.

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;