You are here: Data Services > Oledb Component > Exceptions > Scanning Services Exceptions List

Scanning Services Exceptions List

The list below contains some of the exceptions returned by Scanning Services (ScanTools Plus Link.dll). It is not a complete list, but rather a sampling of the types of exceptions returned.

See also

Scanning Services Exceptions Overview

ScanTools Plus Exceptions List

Handling Exceptions - Visual Basic Example

Handling Exceptions - Visual C++ using Smart Pointers Example

Err_ID #

Err_IDS Mnemonic

Error Message Text

Error Cause

5001

IDS_ERR_KERNELCREATION_FAILED

Unable to Start ScanTools Plus as a COM server. Is ScanTools Plus in use? Was ScanTools Plus registered as a server?

ScanTools Plus.exe has not been registered properly. Check to make sure that you have the proper version of ScanTools Plus installed on your system.

5002

IDS_ERR_KERNEL_ISRUNNING

The ScanTools Plus process is already active. This may have happened because:

  • a copy of ScanTools Plus was started from the command line, or
  • another instance of ScanningManager has started ScanTools Plus.

Some other application (or person) might have started ScanTools Plus.exe.

5003

IDS_ERR_INVALIDCALL

This Method or Property may not be accessed at this time.

Indicates a programming error in the embedded application. A call to a method or property of ScaningManager was called when the object was in a state that did not support the method.

5004

IDS_ERR_INVALIDSTATEORMETHOD

A programming error has occurred. Validate was called with incorrect state or method.

An unexpected condition has occurred. Call Scantron Customer Support.

5005

IDS_ERR_GETPROP_SESSIONINFO

Get_property methods of ISessionInfo failed.

Indicates a programming error in the embedded application. An improper/corrupt instance of SessionInfo was probably passed as a parameter to the Scan method.

5006

IDS_INVALIDACTION_SETSCANERRORRES

Invalid action parameter used.

Indicates a programming error in the embedded application. An incorrect parameter was passed to ScanningManager.SetScanErrorResolution.

5007

IDS_ERR_SETPROP_SESSIONINFO

Unable to set the directory property of SessionInfo.

An unexpected condition has occurred. Call Scantron Customer Support.

5008

IDS_ERR_APP_NOTSPECIFIED

Application not specified.

ScanningManager.Scan was called with an instance of SessionInfo whose Application property was blank.

5009

IDS_ERR_CREATESCANNER

Error initializing ScanningManager due to failure in CComObject<CScanner>::CreateInstance.

An unexpected condition has occurred. Call Scantron Customer Support.

5010

IDS_ERR_QIFAILED_SCANNER

Query for Interface IID_IScanner failed.

An unexpected condition has occurred. Call Scantron Customer Support.

5011

IDS_ERR_QIFAILED_HARDWARECONFIG

Query for Interface IID_HardwareConfig failed.

Indicates a programming error in the embedded application. An improper/corrupt instance of Hardware was probably passed as a parameter to the ConfigureScanner method

5012

IDS_ERR_BADVAL_EZDATACONFIG

One or more properties of the HwConfig structure are not valid for an EZData scanner.

The requirements for the EZData scanner are:

DISABLESELECTSTACKER = FALSE

L_BAUDRATE_9600

L_DATABITS_7

L_PARITY_EVEN

L_STOPBITS_1

TIMEOUT = 10

 

 

See Help on Help for additional information on using this help file.

See Scantron Technical Support for additional information on technical support and training options.

See the ScanTools Suite System Requirements for further details on hardware and software requirements.

ScanTools is a suite of products; the specific information you want may appear in the help for a different module. If you don't find what you're looking for here, try one of the following:

 

Scantron Corporation

Customer Service (forms, products, and services):

1-800-SCANTRON (722-6876)

www.scantron.com

Technical Support:

1-800-445-3141

support@scantron.com

Copyright © 1998-2012 Scantron Corporation. All rights reserved. Use permitted only under license. www.scantron.com. No part of the Help or user guides may be reproduced in any form, or by any means, without express permission from Scantron Corporation.

LINKS TO THIRD PARTY SITES

This help system may contain links to third party websites ("Linked Sites"). The Linked Sites are not under the control of Scantron and Scantron is not responsible for the content of any Linked Site, including without limitation any link contained in a Linked Site or any changes or modifications to a Linked Site. Scantron is not responsible for web casting or any other form of transmission received from any Linked Site. Scantron provides Users with the ability to link the Assessment System to the Linked Sites as a convenience to you, and the inclusion of any link does not imply endorsement by Scantron of the Linked Site or any association with its operators.