Fujitsu FI-4120C using Twain driver under XP, latest version of NAPS2.
Running batch scan, single sided 300 dpi B&W, "prompt between scans"
First time the problem happened, scanner suddenly stopped scanning. No messages from NAPS2. I had to use the X and cancel buttons then I think kill the process. On restarting NAPS2, said there were about 60 images that could be recovered.
Could not get scanner to scan again. Driver would not appear in device manager, or in the scanners and camera applet, or in NAPS2. Unplugging/plugging USB cable took very long to hear status sound indicate change. Rebooting computer and scanner did not help. Had to uninstall then reinstall twain driver.
Then I repeated the process, and it happened again! This time I was told it was at the 61 page mark.
So not sure if this is a problem with NAPS2 or with TWAIN or my specific twain driver/scanner. I'm guessing there is a spooling going on somewhere and its getting full. Any way I can check?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That sounds like a driver/device issue but we can check.
See if you have an errorlog.txt file, and if so, attach it here. You can find it in the "%APPDATA%\NAPS2" folder. For example, if your username is Job, it's in "C:\Users\Job\AppData\Roaming\NAPS2".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This log looks suspiciously short, Im pretty sure I had way more problems than are in here yesterday as I was messing with things. If it happens again (hopefully it shouldnt unless I feed 60 pages plus straight in without returning to NAPS2), I'll grab the log.
2016-05-23 18:26:09.2656 An error occurred that caused the application to close. System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Windows.Forms.CurrencyManager.Find(PropertyDescriptor property, Object key, Boolean keepIndex)
at System.Windows.Forms.ListControl.set_SelectedValue(Object value)
at NAPS2.WinForms.FOcrSetup.OnLoad(Object sender, EventArgs eventArgs)
at NAPS2.WinForms.FormBase.OnLoadInternal(Object sender, EventArgs eventArgs)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
2016-05-23 18:26:36.5156 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:26:37.8125 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:07.8281 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:08.5937 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:09.2343 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:09.8906 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:10.5937 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:11.2968 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:35:10.9843 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:35:11.9218 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 20:20:02.8750 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 20:20:03.6250 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 20:33:35.8593 Error loading config. System.InvalidOperationException: There is an error in XML document (2, 2). ---> System.InvalidOperationException: <arrayofscanprofile xmlns=""> was not expected.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read11_ArrayOfScanSettings()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at NAPS2.Config.ProfileManager.Deserialize(Stream configFileStream)
at NAPS2.Config.ConfigManager`1.TryLoadConfig(String configPath)
2016-05-23 20:34:49.1718 Error downloading file: tesseract.exe.gz System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 209.160.57.180:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
2016-05-24 11:46:25.6093 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-24 15:02:34.3125 An error occurred with the scanning driver. System.Runtime.InteropServices.COMException (0x80210004): Exception from HRESULT: 0x80210004
at WIA.ItemClass.Transfer(String FormatID)
at NAPS2.WinForms.FScanProgress.<fscanprogress_shown>b__0(WiaState wia)</fscanprogress_shown></arrayofscanprofile>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are no errors there that could be related to the 60 pages issue. That means it's almost certainly a driver issue (when NAPS2 "freezes", it's presumably just waiting on the driver). I'm not sure what you could do to fix it except limit your scans to 50 pages or so at a time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Noticed this twice so I think there is a pattern.
Fujitsu FI-4120C using Twain driver under XP, latest version of NAPS2.
Running batch scan, single sided 300 dpi B&W, "prompt between scans"
First time the problem happened, scanner suddenly stopped scanning. No messages from NAPS2. I had to use the X and cancel buttons then I think kill the process. On restarting NAPS2, said there were about 60 images that could be recovered.
Could not get scanner to scan again. Driver would not appear in device manager, or in the scanners and camera applet, or in NAPS2. Unplugging/plugging USB cable took very long to hear status sound indicate change. Rebooting computer and scanner did not help. Had to uninstall then reinstall twain driver.
Then I repeated the process, and it happened again! This time I was told it was at the 61 page mark.
So not sure if this is a problem with NAPS2 or with TWAIN or my specific twain driver/scanner. I'm guessing there is a spooling going on somewhere and its getting full. Any way I can check?
That sounds like a driver/device issue but we can check.
See if you have an errorlog.txt file, and if so, attach it here. You can find it in the "%APPDATA%\NAPS2" folder. For example, if your username is Job, it's in "C:\Users\Job\AppData\Roaming\NAPS2".
This log looks suspiciously short, Im pretty sure I had way more problems than are in here yesterday as I was messing with things. If it happens again (hopefully it shouldnt unless I feed 60 pages plus straight in without returning to NAPS2), I'll grab the log.
2016-05-23 18:26:09.2656 An error occurred that caused the application to close. System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Windows.Forms.CurrencyManager.Find(PropertyDescriptor property, Object key, Boolean keepIndex)
at System.Windows.Forms.ListControl.set_SelectedValue(Object value)
at NAPS2.WinForms.FOcrSetup.OnLoad(Object sender, EventArgs eventArgs)
at NAPS2.WinForms.FormBase.OnLoadInternal(Object sender, EventArgs eventArgs)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
2016-05-23 18:26:36.5156 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:26:37.8125 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:07.8281 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:08.5937 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:09.2343 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:09.8906 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:10.5937 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:33:11.2968 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:35:10.9843 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 18:35:11.9218 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 20:20:02.8750 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 20:20:03.6250 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-23 20:33:35.8593 Error loading config. System.InvalidOperationException: There is an error in XML document (2, 2). ---> System.InvalidOperationException: <arrayofscanprofile xmlns=""> was not expected.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read11_ArrayOfScanSettings()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at NAPS2.Config.ProfileManager.Deserialize(Stream configFileStream)
at NAPS2.Config.ConfigManager`1.TryLoadConfig(String configPath)
2016-05-23 20:34:49.1718 Error downloading file: tesseract.exe.gz System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 209.160.57.180:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
2016-05-24 11:46:25.6093 Error running OCR System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at NAPS2.Ocr.TesseractOcrEngine.ProcessImage(Image image, String langCode)
2016-05-24 15:02:34.3125 An error occurred with the scanning driver. System.Runtime.InteropServices.COMException (0x80210004): Exception from HRESULT: 0x80210004
at WIA.ItemClass.Transfer(String FormatID)
at NAPS2.WinForms.FScanProgress.<fscanprogress_shown>b__0(WiaState wia)</fscanprogress_shown></arrayofscanprofile>
There are no errors there that could be related to the 60 pages issue. That means it's almost certainly a driver issue (when NAPS2 "freezes", it's presumably just waiting on the driver). I'm not sure what you could do to fix it except limit your scans to 50 pages or so at a time.