Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _includes/sidelist-indepth/troubleshooting.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<li><a href="{{ site.indepth }}troubleshooting/common-errors/source-connected-to-maximum.html" class="otherLinkColour">Source Connected To Maximum</a></li>
<li><a href="{{ site.indepth }}troubleshooting/common-errors/sequence-error.html" class="otherLinkColour">Sequence Error</a></li>
<li><a href="{{ site.indepth }}troubleshooting/common-errors/dwt-md5-is-not-allowed.html" class="otherLinkColour">dwt-md5 Is Not Allowed</a></li>
<li><a href="{{ site.indepth }}troubleshooting/common-errors/activating-the-WebTwain-instance.html" class="otherLinkColour">Activating the WebTwain instance</a></li>
</ul>
</li>
{%- endif -%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/sidelist-info/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{%- if page.url contains '/schedule/' -%}
<li><a href="{{site.info}}schedule/stable.html" class="otherLinkColour">Stable</a></li>
<li><a href="{{site.info}}schedule/beta.html" class="otherLinkColour">Beta</a></li>
<li><a href="{{site.info}}schedule/Developping.html" class="otherLinkColour">Developping</a></li>
<li><a href="{{site.info}}schedule/Developing.html" class="otherLinkColour">Developing</a></li>
<li><a href="{{site.info}}schedule/proposed.html" class="otherLinkColour">Proposed</a></li>
<li><a href="{{site.info}}schedule/ideas.html" class="otherLinkColour">To Consider</a></li>
<li><a href="{{site.info}}schedule/deprecated.html" class="otherLinkColour">Deprecated</a></li>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting HTTP Process Error
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, HTTP Process Error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting HTTP Request Error
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, HTTP Request Error
Expand Down
1 change: 1 addition & 0 deletions indepth/troubleshooting/common-errors/JPEG-compression.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Only 24-bit True Color bmp And 8-bit gray-scaled Image Are Supported For JPEG Compression
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, JPEG Compression
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting XMLHttpRequest Cannot Load XXX
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, XMLHttpRequest Cannot Load XXX
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Activating The WebTwain Instance Prompt Doesn't Disappear
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, Activating The WebTwain Instance Prompt Doesn't Disappear
breadcrumbText: Activating The WebTwain Instance
description: Dynamic Web TWAIN SDK Documentation Troubleshooting Activating The WebTwain Instance Prompt Doesn't Disappear Page
---

# Handling Errors


## 'Activating the WebTwain instance' prompt doesn't disappear

* Symptom

We have encountered many a such issue that when running DWT in WASM mode, it doesn't get past the step that says 'Activating the WebTwain instance'.

![activating-the-WebTwain-instance-1]({{site.assets}}imgs/activating-the-WebTwain-instance-1.png)

* Cause

The cause is that the wasm has been served with an incorrect MIME type in which case the browser won't be processing the wasm after it is downloaded as it doesn't know how to handle such files, therefore it stops dead there. To confirm the issue, open dev tools and switch to network and you'll see something similar to this (note that content-type is wrong, it may not be what you see in this example but it's definitely not application/wasm.

Notice that there are no more activity after this in network.

![activating-the-WebTwain-instance-2]({{site.assets}}imgs/activating-the-WebTwain-instance-2.png)

If it's right, more wasm files will follow like this:

![activating-the-WebTwain-instance-3]({{site.assets}}imgs/activating-the-WebTwain-instance-3.png)

* Resolution

Make sure the wasm files can be served correctly. Different servers are configured differently. Here are some popular ones:

NGINX: [ `mime.types` ](https://www.nginx.com/resources/wiki/start/topics/examples/full/#mime-types)
IIS: [ `Web.config` ](https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap#how-to-add-a-mime-type-to-a-web-site-or-application)
Java™ EE web app: [ `web.xml` ](https://docs.oracle.com/cd/E24329_01/web.1211/e21049/web_xml.htm#WBAPP533)
Node.js: [ `npm mime` ](https://www.npmjs.com/package/mime-types)
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting A Connection With The Server Could Not Be Established
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, Connection Couldn't Be Established
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Request Header Field dwt-md5 Is Not Allowed By Access-Control-Allow-Headers In Preflight Response
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, dwt-md5 Is Not Allowed
Expand Down
1 change: 1 addition & 0 deletions indepth/troubleshooting/common-errors/general-failure.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting General Failure
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, General Failure
Expand Down
1 change: 1 addition & 0 deletions indepth/troubleshooting/common-errors/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ description: Dynamic Web TWAIN SDK Documentation Troubleshooting Common Errors I

## [Request header field dwt-md5 is not allowed by Access-Control-Allow-Headers in preflight response]({{site.indepth}}troubleshooting/common-errors/dwt-md5-is-not-allowed.html)

## ['Activating the WebTwain instance' prompt doesn't disappear]({{site.indepth}}troubleshooting/common-errors/activating-the-WebTwain-instance.html)


1 change: 1 addition & 0 deletions indepth/troubleshooting/common-errors/sequence-error.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Sequence Error
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, Sequence Error
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Source Is Connected To The Maximum Supported Number Of Applications
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, Common Errors, Source Connected To Maximum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting The Current Product Key Does Not Match The Domain
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, License Errors, Domain Does Not Match
Expand Down
1 change: 1 addition & 0 deletions indepth/troubleshooting/license-errors/OCR-lic-exceeded.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting You Have Exceeded The Number Of OCR Attempts Allowed By The Current License
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, License Errors, OCR License Exceeded
Expand Down
1 change: 1 addition & 0 deletions indepth/troubleshooting/license-errors/invalid-key.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Invalid Product Key
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, License Errors, Invalid Product Key
Expand Down
1 change: 1 addition & 0 deletions indepth/troubleshooting/license-errors/key-expired.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: Dynamic Web TWAIN Troubleshooting Your Trial License Has Expired
keywords: Dynamic Web TWAIN, Documentation, Troubleshooting, License Errors, License Expired
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ description: Dynamic Web TWAIN SDK Documentation Homepage

- [Stable]({{site.info}}schedule/stable.html)
- [Beta]({{site.info}}schedule/beta.html)
- [Developping]({{site.info}}schedule/developing.html)
- [Developing]({{site.info}}schedule/developing.html)
- [Proposed]({{site.info}}schedule/proposed.html)
- [To Consider]({{site.info}}schedule/ideas.html)
- [Deprecated]({{site.info}}schedule/deprecated.html)
Expand Down
2 changes: 1 addition & 1 deletion info/api/WebTwain_IO.md
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ ConvertToBlob(

**Usage notes**

`getData()` returns the pure base64 string without the data URI scheme. For example, "/9j/4AAQSkZJRgABA...". If you want to use the string, you probably need to add the scheme. For example, "data:image/png; base64, /9j/4AAQSkZJRgABA...".
`getData()` returns the blob string without the data URI scheme. For example, "/9j/4AAQSkZJRgABA...". If you want to use the string, you probably need to add the scheme. For example, "data:image/png; base64, /9j/4AAQSkZJRgABA...".

**Example**

Expand Down
10 changes: 5 additions & 5 deletions info/schedule/Developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
layout: default-layout
needAutoGenerateSidebar: true
noTitleIndex: true
title: Dynamic Web TWAIN Schedule - Developping
keywords: Dynamic Web TWAIN, Documentation, Schedule, Developping
breadcrumbText: Developping
description: Dynamic Web TWAIN SDK Documentation Schedule - Developping Page
title: Dynamic Web TWAIN Schedule - Developing
keywords: Dynamic Web TWAIN, Documentation, Schedule, Developing
breadcrumbText: Developing
description: Dynamic Web TWAIN SDK Documentation Schedule - Developing Page
---

# Features Under Development

## More independent viewer