Hi.
I created a profile yesterday that uses the WIA driver. It worked perfectly.
Today it doesn't. I created a new profile using WIA driver. Selection throws error message : "An error occurred with the scanning driver".
errorlog.txt
2015-08-07 13:32:06.4687 An error occurred with the scanning driver. System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {850D1D11-70F3-4BE5-9A11-77AA6B2BB201} failed due to the following error: 80040154 Klasse nicht registriert (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at NAPS2.Scan.Wia.WiaApi.PromptForDevice()
at NAPS2.Scan.Wia.WiaScanDriver.PromptForDeviceInternal()
at NAPS2.Scan.ScanDriverBase.PromptForDevice()
Any idea ?
TWAIN works.
Thanks !
Problem solved.
However it seems to be a problem specific to the portable version.
-Installed naps2-4.1.0-setup.exe
-Unzipped naps2-4.1.0-portable.zip into another directory
-Both versions work with WIA driver
-Deinstall naps2-4.1.0-setup.exe using Windows System Software removal
-Portable version throws error shown above
-Installed naps2-4.1.0-setup.exe again
-Portable version works with WIA driver
=> portable version requires Windows install version to work with WIA device (at least running on WinXP)
Okay, I think I know what's going on but I can't reproduce it (probably specific to Windows XP). I'll look more into this.
The fix for this is to manually copy the "wiaaut.dll" file to your System32 directory.