AutoDocumentFeed_for_WIA icon indicating copy to clipboard operation
AutoDocumentFeed_for_WIA copied to clipboard

Assembly reference errors

Open aza0092 opened this issue 2 years ago • 1 comments

I'm getting multiple assembly reference errors when trying to run the ADFScannerTest project.

  • I'm using windows 10 which comes with Windows image Acquisition 2.0. the service is running under Windows Services

  • I tried running the project separately using only ADFScannerTest, and then adding the library ADFScanner DLL to the project as well as the WIA DLL.

  • I tried compiling both ADFScanner and ADFScannerTest in a single solution but gives me the same error.

aza0092 avatar Jun 30 '22 05:06 aza0092

I managed to fix the exception by upgrading ADFScanner to .NET framework 4. However, I'm now getting the below error at line 30 in the Form1.cs file (_Scanner.BeginScan....)

System.Runtime.InteropServices.COMException: 'Exception from HRESULT: 0x80210003'

aza0092 avatar Jun 30 '22 06:06 aza0092