WIA Error Codes
If you use WIA classes in MBS Xojo Win Plugin or WIA functions in MBS FileMaker Plugin, you may run into some Windows specific error codes. They all start with hex 8021 and below is a list of Windows Image Acquisition (WIA) error codes.
See also blog articles:
- Scanning Options for FileMaker
- Create PDF from scanned images and skip blank pages (FileMaker)
- Check the WIA Plugin part today (Xojo)
| Error Code | Meaning | Hex Code | Decimal |
|---|---|---|---|
| WIA_ERROR_BUSY | The device is busy. Close any apps that are using this device or wait for it to finish and then try again. | 80210006 | -2145320954 |
| WIA_ERROR_COVER_OPEN | One or more of the device’s cover is open. | 80210016 | -2145320938 |
| WIA_ERROR_DEVICE_COMMUNICATION | Communication with the WIA device failed. Make sure that the device is powered on and connected to the PC. If the problem persists, disconnect and reconnect the device. | 8021000A | -2145320950 |
| WIA_ERROR_DEVICE_LOCKED | The device is locked. Close any apps that are using this device or wait for it to finish and then try again. | 8021000D | -2145320947 |
| WIA_ERROR_EXCEPTION_IN_DRIVER | The device driver threw an exception. | 8021000E | -2145320946 |
| WIA_ERROR_GENERAL_ERROR | An unknown error has occurred with the WIA device. | 80210001 | -2145320959 |
| WIA_ERROR_INCORRECT_HARDWARE_ SETTING | There is an incorrect setting on the WIA device. | 8021000C | -2145320948 |
| WIA_ERROR_INVALID_COMMAND | The device doesn't support this command. | 8021000B | -2145320949 |
| WIA_ERROR_INVALID_DRIVER_RESPONSE | The response from the driver is invalid. | 8021000F | -2145320945 |
| WIA_ERROR_ITEM_DELETED | The WIA device was deleted. It's no longer available. | 80210009 | -2145320951 |
| WIA_ERROR_LAMP_OFF | The scanner's lamp is off. | 80210017 | -2145320937 |
| WIA_ERROR_MAXIMUM_PRINTER_ ENDORSER_COUNTER | A scan job was interrupted because an Imprinter/Endorser item reached the maximum valid value for WIA_IPS_PRINTER_ENDORSER_COUNTER, and was reset to 0. This feature is available with Windows 8 and later versions of Windows. | 80210021 | -2145320927 |
| WIA_ERROR_MULTI_FEED | A scan error occurred because of a multiple page feed condition. This feature is available with Windows 8 and later versions of Windows. | 80210020 | -2145320928 |
| WIA_ERROR_OFFLINE | The device is offline. Make sure the device is powered on and connected to the PC. | 80210005 | -2145320955 |
| WIA_ERROR_PAPER_EMPTY | There are no documents in the document feeder. | 80210003 | -2145320957 |
| WIA_ERROR_PAPER_JAM | Paper is jammed in the scanner's document feeder. | 80210002 | -2145320958 |
| WIA_ERROR_PAPER_PROBLEM | An unspecified problem occurred with the scanner's document feeder. | 80210004 | -2145320956 |
| WIA_ERROR_WARMING_UP | The device is warming up. | 80210007 | -2145320953 |
| WIA_ERROR_USER_INTERVENTION | There is a problem with the WIA device. Make sure that the device is turned on, online, and any cables are properly connected. | 80210008 | -2145320952 |
| WIA_S_NO_DEVICE_AVAILABLE | No scanner device was found. Make sure the device is online, connected to the PC, and has the correct driver installed on the PC. | 80210015 | -2145320939 |