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.

Error Troubleshooting

Source is connected to the maximum supported number of applications

Symptom

When you try to acquire images, you may get this error.

Cause

The problem may occur when the source is not disabled completely after a transfer ends or is used by other applications.

Resolution

  • Check whether another application is using the source. If yes, close it and try again.
  • Set IfDisableSourceAfterAcquire to true and use CloseSource() to make sure that the source is closed after a scanning session.
function btnScan_onclick() {
  DWTObject.RegisterEvent("OnPostAllTransfers", function () {
    DWTObject.CloseSource();
  });
  DWTObject.SelectSource();
  DWTObject.CloseSource(); //close source before open
  DWTObject.OpenSource();
  DWTObject.IfDisableSourceAfterAcquire = true; //close the scanner UI after acquiring
  DWTObject.AcquireImage();
}
  • Reboot your device.

Is this page helpful?

YesYes NoNo

In this article: