From 5a59b032682360fca875f463627892df1550e5ad Mon Sep 17 00:00:00 2001 From: ztyyLV <97287824+ztyyLV@users.noreply.github.com> Date: Mon, 27 Feb 2023 13:37:59 +0800 Subject: [PATCH 1/6] Update Addon_BarcodeReader.md --- info/api/Addon_BarcodeReader.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/info/api/Addon_BarcodeReader.md b/info/api/Addon_BarcodeReader.md index ba79a78a..ab63e8e8 100644 --- a/info/api/Addon_BarcodeReader.md +++ b/info/api/Addon_BarcodeReader.md @@ -158,12 +158,12 @@ interface Result { ## getRuntimeSettings -Get the current runtime settings. +Return the current runtime settings or the settings of the specified built-in template. The template can only be "speed", "balance", or "coverage". **Syntax** ```typescript -getRuntimeSettings(): Promise < RuntimeSettings > ; +getRuntimeSettings(template?: string): Promise < RuntimeSettings > ; interface RuntimeSettings { barcodeFormatIds: number; From 8598e47edd471718056b673b978a2e32aa7e2fcc Mon Sep 17 00:00:00 2001 From: ztyyLV <97287824+ztyyLV@users.noreply.github.com> Date: Mon, 27 Feb 2023 18:35:50 +0800 Subject: [PATCH 2/6] Update WebTwain_Viewer.md --- info/api/WebTwain_Viewer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info/api/WebTwain_Viewer.md b/info/api/WebTwain_Viewer.md index 20b3a7a3..fdba6b9b 100644 --- a/info/api/WebTwain_Viewer.md +++ b/info/api/WebTwain_Viewer.md @@ -70,7 +70,7 @@ Dynamsoft.DWT.CreateDWTObjectEx( DWObject = obj; template = DWObject.Viewer.getElementById("dwtcontrolContainer_temp3"); DWObject.Viewer.width=500; -    DWObject.Viewer.height=600; + DWObject.Viewer.height=600; DWObject.Viewer.show(); }, function (errorCode, errorString) { From 936c7d8be10b085adb82599bcebd31e4ec9d7c99 Mon Sep 17 00:00:00 2001 From: Jenny Date: Thu, 2 Mar 2023 14:01:35 +0800 Subject: [PATCH 3/6] Update web.config --- web.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web.config b/web.config index b89fc698..c48481c9 100644 --- a/web.config +++ b/web.config @@ -47,6 +47,12 @@ + + + + + + From 1141741d37b30945af030e158e7097346dd34713 Mon Sep 17 00:00:00 2001 From: ztyyLV <97287824+ztyyLV@users.noreply.github.com> Date: Thu, 2 Mar 2023 18:45:47 +0800 Subject: [PATCH 4/6] update --- faq/failed-to-load-resource.md | 32 ++++++++++++++++++++++---------- faq/index.md | 2 +- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/faq/failed-to-load-resource.md b/faq/failed-to-load-resource.md index 8d79823f..c0342de0 100644 --- a/faq/failed-to-load-resource.md +++ b/faq/failed-to-load-resource.md @@ -19,21 +19,33 @@ You get an error message that says **"Failed to load resource: net::ERR_CERT_DAT ### Cause -By default, we use "127.0.0.1" for service connection. However, you may use our "local.dynamsoft.com" certificate by setting **Dynamsoft.WebTwainEnv.Host = "local.dynamsoft.com"** or **Dynamsoft.DWT.Host="local.dynamsoft.com"**. +By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a self-signed certificate because it is an internal IP address, if your environment requires high level security, self-signed certificates may not be accepted. Moreover, Android OS or Chrome OS does not accept connection between browsers and Dynamsoft Service via "127.0.0.1". -Ref: In which cases would I use local.dynamsoft.com instead of 127.0.0.1? +1. In case, you used our expired certificate - local.dynamsoft.com, as an official domain which uses a VeriSign’ed certificate. The old "local.dynamsoft.com" certificate expired on January 9th, 2023 + > ___Please note:___ _all official certificates issued by 3rd party come with an expiry date - generally one year. This means that each year the certificate will need to be updated if local.dynamsoft.com is used._ -In this case, if you are trying to access an application that integrates a version of Dynamic Web TWAIN V15.3 ~ V17.2.5, you will get the error. Because the old "local.dynamsoft.com" certificate expired on January 9th, 2023. +2. Your own domain certificate expired. -### Resolution + -- For v17.1.1 or older versions, choose one of the following approaches: +### Resolution + +- **No High Level Security Requirement**: + + Set back to "127.0.0.1" by comment the line `Dynamsoft.WebTwainEnv.Host = "local.dynamsoft.com"` or `Dynamsoft.DWT.Host="local.dynamsoft.com"` out. + +- **[Highly Recommend] High Level Security Requirement** + +1. Set back to "127.0.0.1" by comment the line `Dynamsoft.WebTwainEnv.Host = "local.dynamsoft.com"` or `Dynamsoft.DWT.Host="local.dynamsoft.com"` out. +2. Replace the certificate of "127.0.0.1" with your own domain certificate and build Service MSI yourself. More information refer to [How can I change the certificate of the Dynamsoft Service?](https://www.dynamsoft.com/web-twain/docs/faq/change-dynamsoft-service-certificate.html). + + -- For v17.2 or higher versions, use the new API UpdateCert to automatically update the client side certificate before it expires. **Please go to dynamsoft.webtwain.install.js file in the Resource Folder and search the keyword "OnSSLCertInfo"**, add the following lines of code: +
  • How do I upgrade my project to use the latest version of the Dynamic Web TWAIN SDK?
  • From 0b843543cc577146f7a7593a0b276b576736b0d4 Mon Sep 17 00:00:00 2001 From: ztyyLV <97287824+ztyyLV@users.noreply.github.com> Date: Thu, 2 Mar 2023 18:48:33 +0800 Subject: [PATCH 5/6] Update failed-to-load-resource.md --- faq/failed-to-load-resource.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq/failed-to-load-resource.md b/faq/failed-to-load-resource.md index c0342de0..68572c98 100644 --- a/faq/failed-to-load-resource.md +++ b/faq/failed-to-load-resource.md @@ -21,7 +21,7 @@ You get an error message that says **"Failed to load resource: net::ERR_CERT_DAT By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a self-signed certificate because it is an internal IP address, if your environment requires high level security, self-signed certificates may not be accepted. Moreover, Android OS or Chrome OS does not accept connection between browsers and Dynamsoft Service via "127.0.0.1". -1. In case, you used our expired certificate - local.dynamsoft.com, as an official domain which uses a VeriSign’ed certificate. The old "local.dynamsoft.com" certificate expired on January 9th, 2023 +1. In case, you used our expired certificate - local.dynamsoft.com, as an official domain which uses a VeriSign’ed certificate. The old "local.dynamsoft.com" certificate expired on January 9th, 2023 and the new certificate will expire on December 8th, 2023 > ___Please note:___ _all official certificates issued by 3rd party come with an expiry date - generally one year. This means that each year the certificate will need to be updated if local.dynamsoft.com is used._ 2. Your own domain certificate expired. From 6d1f8adaa483af8be498bb5873ed1761ca2ef19b Mon Sep 17 00:00:00 2001 From: ztyyLV <97287824+ztyyLV@users.noreply.github.com> Date: Thu, 2 Mar 2023 18:56:26 +0800 Subject: [PATCH 6/6] Update failed-to-load-resource.md --- faq/failed-to-load-resource.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq/failed-to-load-resource.md b/faq/failed-to-load-resource.md index 68572c98..c2e6bfd2 100644 --- a/faq/failed-to-load-resource.md +++ b/faq/failed-to-load-resource.md @@ -45,22 +45,22 @@ By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a s > Note: the new certificate from Dynamsoft will expire on December 8th, 2023. This means you must update the certificate again after this certificate expires. - Method 3. Contact Dynamsoft for a new MSI for client-side. --> - + ```