Documentation
Back to website >

Runtime error (JScript)

Runtime error and syntax errors are divided into error groups in JScript. Each error consists of a unique number and a corresponding error text (=error message).

CodeDescription
5Invalid procedure call or argument
6Overflow
7Out of memory
9Subscript out of range
10This array is fixed or temporarily locked
11Division by zero
13Type mismatch
14Out of string space
17Cannot perform requested operation
28Out of stack space
35Sub or Function not defined
48Error in loading DLL
51Internal error
52Bad file name or number
53File not found
54Bad file mode
55File already open
57Device I/O error
58File already exists
61Disk full
62Input past end of file
67Too many files
68Device unavailable
70Permission denied
71Disk not ready
74Cannot rename with different drive
75Path/File access error
76Path not found
91Object variable or With block variable not set
92For loop not initialized
93Invalid pattern string
94Invalid use of Null
322Cannot create necessary temporary file
424Object required
429Automation server cannot create object
430Class does not support automation
432File name or class name not found during automation operation
438Object does not support property or method
440Automation error
445Object does not support this action
446Object does not support named arguments
447Object does not support current locale setting
448Named argument not found
449Argument not optional
450Wrong number of arguments or invalid property assignment
451Object not a collection
453Specified DLL function not found
458Variable uses an automation type not supported in JScript
501Cannot assign to variable
502Object not safe for scripting
503Object not safe for initializing
504Object not safe for creating
5000Cannot assign to "this"
5001Is not a number; Number expected
5002Is not a function; Function expected
5003Cannot assign to a function result
5004Is not an indexable object; Cannot index object
5005Is not a string; String expected
5006Is not a date object; Date object expected
5007Is not an object; Object expected
5008Cannot assign to; Illegal assignment
5009Is undefined; Undefined identifier
5010Is not a boolean; Boolean expected
5011Cannot execute code from a freed script
5012Cannot delete; Object member expected
5013Is not a VBArray; VBArray expected
5014Is not a JScript object; JScript object expected
5015Is not an enumerator object; Enumerator object expected
5016Is not a regular expression object; Regular Expression object expected
5017Syntax error in regular expression
5018Unexpected quantifier
5019Expected "]" in regular expression
5020Expected ")" in regular expression
5021Invalid range in character set
5022Expected "[" in regular expression
5023Expected "'(" in regular expression
6000Variable is undefined or is not an object
6001Method undefined or not found