Skip to content

Commit 917a45d

Browse files
Merge pull request #933 from dynamsoft-docs/preview
update to internal commit f70922d7
2 parents c5178cc + a3f6eed commit 917a45d

File tree

3 files changed

+14
-64
lines changed

3 files changed

+14
-64
lines changed

_articles/faq/change-dynamsoft-service-certificate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ Then, you can find the certificate named `fullchain.cer` and the private key nam
4040
* default keys
4141
* server.pem
4242
* server_key.pem
43-
* keys for [local.dynamsoft.com](/_articles/faq/failed-to-load-resource.md) (encrypted)
43+
* keys for [local.dynamsoft.com](/_articles/faq/failed-to-load-resource.md) (encrypted, get the latest from [demo site](https://demo.dynamsoft.com/DWT/Resources/dist/cert.zip))
4444
* server.pem.ldsc
4545
* server_key.pem.ldsc
46-
* keys for [Remote Scan](https://www.dynamsoft.com/remote-scan/docs/introduction/)'s proxy server after installation (encrypted)
46+
* keys for [Remote Scan](https://www.dynamsoft.com/remote-scan/docs/introduction/)'s proxy server after installation (encrypted, get the latest from the domain binding page)
4747
* server.pem.ldwtc
4848
* server_key.pem.ldwtc
4949

_articles/faq/general-troubleshooting-steps.md

Lines changed: 11 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -7,80 +7,30 @@ keywords: Dynamic Web TWAIN, Error Troubleshooting, general steps, verbose
77
breadcrumbText: General troubleshooting steps
88
description: General troubleshooting steps
99
date: 2021-12-03 23:26:46 +0800
10-
last_modified: 2025-03-07 13:31:31 +0800
10+
last_modified: 2025-10-24 10:20:31 +0800
1111
---
1212

1313
# Error Troubleshooting
1414

15-
## General troubleshooting steps
15+
## General Troubleshooting Steps
1616

1717
- Try our online demo and see if you can reproduce the issue.
1818
- Check the console or network log and report any errors.
19-
- Enable and collect verbose logs (detailed below)
19+
- Enable and collect verbose logs (detailed below).
2020

21-
### How to enable and collect verbose log
21+
## Enable and Collect Verbose Logs
2222

23-
<div class="multi-panel-switching-prefix"></div>
24-
25-
- [v19.0+](#19plus)
26-
- [Versions below 19.0](#19min)
27-
28-
<div class="multi-panel-start"></div>
29-
30-
1. Remove any old log files from
31-
- Windows `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {version number}\log` or `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\Dynamic Web TWAIN Service\log`
32-
- macOS, `Go > Applications > Dynamsoft > Dynamic Web TWAIN Service {version number} > log`
33-
- Linux: `/opt/dynamsoft/Dynamic Web TWAIN Service {version number}/log`
34-
35-
2. Set the log level
36-
- Option A - (Only recommended for v18.0+) For only one client machine, add the line `LogLevel=14` to `DSConfiguration.ini` on that specific machine. To find the `DSConfiguration.ini` file, please return to the previous directory from the log directory.
37-
- Option B - Single client machine troubleshooting - go to the application with Dynamic Web TWAIN integrated, press F12 to open the development tools, switch to "console" tab and enter the command `DWTObject.LogLevel = 1` to enable the debugger mode.
38-
- Option C - For all client machines (application wide) - set [ `LogLevel` ](/_articles/info/api/WebTwain_Util.md#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
23+
1. Remove old log files in the `log` folder under the service's [installation folder](/_articles/extended-usage/dynamsoft-service-configuration.md#installation-folder).
24+
2. Set the log level:
25+
- Option A (**only recommended for v18.0+**) - Single client machine troubleshooting: Add the line `LogLevel=14` to `DSConfiguration.ini` on the machine. Find the `DSConfiguration.ini` file in the **parent directory** of the log directory.
26+
- Option B - Single client machine troubleshooting: Go to the Dynamic Web TWAIN-integrated application, press F12 to open the development tools, switch to "console" tab, and enter the command `DWTObject.LogLevel = 1` to enable debugger mode.
27+
- Option C - Troubleshoot all client machines (application wide): set [`LogLevel`](/_articles/info/api/WebTwain_Util.md#loglevel) to 1 in your application code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
3928
```javascript
4029
function Dynamsoft_OnReady() {
4130
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
4231
DWTObject.LogLevel = 1;
4332
}
4433
```
45-
46-
3. Perform a hard refresh (Ctrl + F5) on the application web page and attempt to reproduce the issue. To expedite issue identification, we would greatly appreciate it if you could create a txt file that records the time when the issue occurred and place the file in the same log folder.
47-
34+
3. Perform a hard refresh (Ctrl + F5) on the application web page and attempt to reproduce the issue. To expedite issue identification, we would greatly appreciate it if you could create a `.txt` file that records the time when the issue occurred and place the file in the same log folder.
4835
4. Zip the log folder and share with [Dynamsoft Support Team](/_articles/about/getsupport.md) via email.
49-
- On Windows, the log files are in `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {version number}\log` or `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\Dynamic Web TWAIN Service\log`
50-
- On macOS, the log files are in `Go > Applications > Dynamsoft > Dynamic Web TWAIN Service {version number} > log`
51-
- On Linux, the log files are in `/opt/dynamsoft/Dynamic Web TWAIN Service {version number}/log`
52-
53-
5. **Please remember to either remove the "LogLevel" entry from the "DSConfiguration.ini" file or set `DWTObject.LogLevel` back to its default value (0) to disable the debugger mode**. Otherwise the operation speed will be affected.
54-
55-
<div class="multi-panel-end"></div>
56-
57-
<div class="multi-panel-start"></div>
58-
59-
1. Remove any old log files from
60-
- Windows `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_{version number}\log` or `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\DynamsoftService\log`
61-
- macOS, `Go > Applications > Dynamsoft > DynamsoftServicex64_{version number} > {installed version No.} > log`
62-
- Linux: `/opt/dynamsoft/DynamsoftService/log`
63-
64-
2. Set the log level
65-
- Option A - (Only recommended for v18.0+) For only one client machine, add the line `LogLevel=14` to `DSConfiguration.ini` on that specific machine. To find the `DSConfiguration.ini` file, please return to the previous directory from the log directory.
66-
- Option B - Single client machine troubleshooting - go to the application with Dynamic Web TWAIN integrated, press F12 to open the development tools, switch to "console" tab and enter the command `DWTObject.LogLevel = 1` to enable the debugger mode.
67-
- Option C - For all client machines (application wide) - set [ `LogLevel` ](/_articles/info/api/WebTwain_Util.md#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
68-
```javascript
69-
function Dynamsoft_OnReady() {
70-
DWTObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
71-
DWTObject.LogLevel = 1;
72-
}
73-
```
74-
75-
3. Perform a hard refresh (Ctrl + F5) on the application web page and attempt to reproduce the issue. To expedite issue identification, we would greatly appreciate it if you could create a txt file that records the time when the issue occurred and place the file in the same log folder.
76-
77-
4. Zip the log folder and share with [Dynamsoft Support Team](/_articles/about/getsupport.md) via email.
78-
- On Windows, the log files are in `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_{version number}\log` or `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\DynamsoftService\log`
79-
- On macOS, the log files are in `Go > Applications > Dynamsoft > DynamsoftServicex64_{version number} > {installed version No.} > log`
80-
- On Linux, the log files are in `/opt/dynamsoft/DynamsoftServicex64_{version number}/log`
81-
82-
5. **Please remember to either remove the "LogLevel" entry from the "DSConfiguration.ini" file or set `DWTObject.LogLevel` back to its default value (0) to disable the debugger mode**. Otherwise the operation speed will be affected.
83-
84-
<div class="multi-panel-end"></div>
85-
86-
<div class="multi-panel-switching-end"></div>
36+
5. **Please remember to either remove the `LogLevel` entry from the `DSConfiguration.ini` file or set `DWTObject.LogLevel` back to its default value (0) to disable the debugger mode**. Otherwise, verbose logging will affect operation speed.

_articles/hello-world/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ The Hello World web app covers the following features:
2020
3. [Specifying Scan Settings](/_articles/hello-world/scan-settings.md)
2121
4. [Editing Images](/_articles/hello-world/editing.md)
2222

23-
<a href="{{site.baseurl}}assets/HelloWorld-Code.zip" class="orangeBgBtn" style="height:36px!important;line-height:36px!important">Download the Hello World Code</a>
23+
<a href="https://download2.dynamsoft.com/Samples/DWT/HelloWorld-Code.zip" class="orangeBgBtn" style="height:36px!important;line-height:36px!important">Download the Hello World Code</a>

0 commit comments

Comments
 (0)