Table of contents

Thanks for Downloading Dynamic Web TWAIN 30-Day Trial!

Your download will start shortly. If your download does not begin, click here to retry.

ErrorList

General failure

  • Symptom

When 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 reset the existing connections of the source by calling CloseSource & CloseSourceManager to close the sources existing connections before calling SelectSource.

function AcquireImage() {
  DWTObject.CloseSource();
  DWTObject.CloseSourceManager();
  DWTObject.SelectSource();
  DWTObject.OpenSource();
  DWTObject.AcquireImage();
}

Is this page helpful?

YesYes NoNo

In this article: