VBScript Run-Time Errors

VBScript run-time errors result when your script attempts to perform an action that the system cannot execute. The errors are called run-time errors because they happen while your script is being executed. Run-time errors are listed in Table A-7.

Table A-7. Run-Time Error Numbers and Descriptions

Error Number

Description

429

ActiveX component can’t create object.

507

An exception occurred.

449

Argument not optional.

17

Can’t perform requested operation.

430

Class doesn’t support Automation.

506

Class not defined.

11

Division by zero.

48

Error in loading DLL.

5020

Expected ‘)’ in regular expression.

5019

Expected ‘]’ in regular expression.

432

Filename or class name not found during Automation operation.

92

For loop not initialized.

5008

Illegal assignment. ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.