Resources Base
Table of contents

ErrorList

General failure

  • Symptom

When you try scanning an image with Dynamic Web TWAIN, you may receive the error message “General failure” in the ErrorString property.

  • Cause

The problem occurs when the source (scanner) is not disabled completely after a scanning session or the source is currently unavailable.

  • Resolution

You can set IfDisableSourceAfterAcquire to true . It must be set before the call to SelectSource

function AcquireImage() {
  DWObject.IfDisableSourceAfterAcquire = true;
  DWObject.SelectSource();
  DWObject.OpenSource();
  DWObject.AcquireImage();
}

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support