Describe the bug
When using NAPS2.Console.exe within a Citrix session, we have the problem that the following error message appears during the next scan after clicking Cancel: "TWAIN error: MaxConnections"
To Reproduce
Start the Commandline:
NAPS2.Console.exe --output "C:\TEMP\test.jpg" --force --progress --device "PaperStream IP SP-1125 #2" --driver twain --noprofile
Click on "Cancel" during scanning.
The following appears in the console: "No scanned pages to export."
Start the Commandline again:
NAPS2.Console.exe --output "C:\TEMP\test.jpg" --force --progress --device "PaperStream IP SP-1125 #2" --driver twain --noprofile
The following error message appears:
TWAIN error: MaxConnections
No scanned pages to export.
Expected behavior
The next scan should work if the previous scan was canceled.
Screenshots
Desktop (please complete the following information):
OS: Windows Server 2019
Version 7.4.3
Additional context
We could not reproduce the problem with the NAPS2.exe instead of the NAPS2.Console.exe, here the connections to the scanner seem to be terminated correctly when clicking on Cancel.
In order for the scanner to work again, the entire Citrix session must be logged off and logged on again.
The NAPS2.Console.exe always terminated normally and no NAPS2.*.exe remained hanging.
Describe the bug When using NAPS2.Console.exe within a Citrix session, we have the problem that the following error message appears during the next scan after clicking Cancel: "TWAIN error: MaxConnections"
To Reproduce
NAPS2.Console.exe --output "C:\TEMP\test.jpg" --force --progress --device "PaperStream IP SP-1125 #2" --driver twain --noprofile
NAPS2.Console.exe --output "C:\TEMP\test.jpg" --force --progress --device "PaperStream IP SP-1125 #2" --driver twain --noprofile
The following error message appears: TWAIN error: MaxConnections No scanned pages to export.Expected behavior The next scan should work if the previous scan was canceled.
Screenshots
Desktop (please complete the following information):
Additional context