Skip to content

Commit 44303b2

Browse files
authored
Merge pull request #548 from dynamsoft-docs/preview
Preview
2 parents 6845a85 + fbd8a03 commit 44303b2

File tree

4 files changed

+48
-4
lines changed

4 files changed

+48
-4
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: default-layout
3+
noTitleIndex: true
4+
needAutoGenerateSidebar: true
5+
title: Error message - User cancelled the operation
6+
keywords: Dynamic Web TWAIN, Error Troubleshooting, product key does not support version
7+
breadcrumbText: Error message - User cancelled the operation
8+
description: Error message - User cancelled the operation
9+
permalink: /faq/error-message-user-cancelled-the-operation.html
10+
---
11+
12+
# Error Troubleshooting
13+
14+
## Error message - User cancelled the operation
15+
16+
### Symptom
17+
18+
You may encounter the error "user cancelled the operation" after successfully scanning all pages. But you can still run the application normally.
19+
20+
### Cause
21+
22+
1) The user manually terminated thte ongoing operation.
23+
24+
2) This is known to happen if you use a WIA driver instead of TWAIN driver. Our SDK is developed based upon the TWAIN protocol, therefore the performance in WIA driver cannot be guaranteed.
25+
26+
### Resolution
27+
28+
To avoid issues using the WIA driver, please use the manufacturer supplied TWAIN driver.
29+
30+
> **If you want to continue with WIA driver:**
31+
_You can ignore the error message since it won't affect the actual usage. Dynamic Web TWAIN will officially support WIA driver in the coming release._

faq/general-troubleshooting-steps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ permalink: /faq/general-troubleshooting-steps.html
3434
}
3535
```
3636

37-
3. Reproduce the issue
37+
3. Reproduce the issue (If the time span of the log is greater than 3 days, please create a txt file to indicate the date when the issue occurred)
3838

3939
4. Zip the log files and share with [Dynamsoft Support Team]({{site.about}}getsupport.html) via email.
4040
- On Windows, the log files are in `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_17\log` or `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\DynamsoftService\log`
4141
- On macOS, the log files are in `Go > Applications > Dynamsoft > DynamsoftServicex64_17 > {installed version No.} > log`
4242
- On Linux, the log files are in `/opt/dynamsoft/DynamsoftServicex64_17/log`
4343

44-
5. Set log level back to the default value (0) to disable the debugger mode, otherwise the operation speed will be affected.
44+
5. Set log level back to the default value (0) to disable the debugger mode, otherwise the operation speed will be affected.

faq/how-to-exclude-wia-sources-in-the-source-list.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,23 @@ permalink: /faq/how-to-exclude-wia-sources-in-the-source-list.html
1515

1616
> Applicable to Windows only
1717
18-
18+
There are two ways to achieve this:
1919

2020
* Set [IfUseTwainDSM]({{site.info}}api/WebTwain_Acquire.html#ifusetwaindsm) to `true`
2121

2222
``` javascript
2323
DWObject.IfUseTwainDSM = true;
2424
```
2525

26+
* Filter sources before listing them
27+
28+
``` javascript
29+
var sources = DWObject.GetSourceNames();
30+
for (var i = 0; i < sources.length; i++) {
31+
if (sources[i].toLowerCase().indexOf('wia') != -1) {
32+
sources.splice(i, 1);
33+
}
34+
}
35+
```
36+
2637
If you are still having issues with a device, please feel free to [contact us](https://www.dynamsoft.com/company/contact/) via email, live chat, or phone call.

faq/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ permalink: /faq/
359359

360360
<li><a href="{{site.faq}}chrome-106-107-warning.html">Warning Message - Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true</a></li>
361361

362-
<li><a href="{{site.faq}}type-error-appendchild.html">Error Message - Uncaught TypeError: Cannot read properties of null (reading 'appendChild') or Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.</a></li>
362+
<li><a href="{{site.faq}}type-error-appendchild.html">Error Message - Uncaught TypeError: Cannot read properties of null (reading 'appendChild') or Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'</a></li>
363+
364+
<li><a href="{{site.faq}}error-message-user-cancelled-the-operation.html">Error Message - User cancelled the operation</a></li>
363365
</ol>
364366

365367
## Licensing and Purchase

0 commit comments

Comments
 (0)