Menu

#51 Unable to choose WIA driver for profile

4.X
closed
nobody
None
4.1.0.43036
Support
Medium
WIA
2016-02-14
2015-08-07
All Uses
No

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 !

Discussion

  • All Uses

    All Uses - 2015-08-07

    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)

     
  • Ben Olden-Cooligan

    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.

     
  • Ben Olden-Cooligan

    • status: open --> closed
     
  • Ben Olden-Cooligan

    The fix for this is to manually copy the "wiaaut.dll" file to your System32 directory.

     

Log in to post a comment.