*******************************************************
jscript error code and corresponding explanation collection
JScript Syntax Error
JScript syntax errors refer to errors that occur when a JScript statement violates one or more syntax rules of the JScript scripting language. JScript syntax error occurs during the program compilation stage, before starting to run the program. (The error occurs during development), the following are 32 syntax errors
Error number Description
Decimal Hexadecimal Description
1001 800A03E9 Insufficient memory
1002 800A03EA Syntax Error
1003 800A03EB requires “:”
1004 800A03EC need “;”
1005 800A03ED Requires "("
1006 800A03EE requires ")"
1007 800A03EF Requires “]”
1008 800A03F0 Requires "{"
1009 800A03F1 requires "}"
1010 800A03F2 Requires an identifier
1011 800A03F3 requires "="
1012 800A03F4 Requires "/"
1013 800A03F5 Invalid number
1014 800A03F6 Illegal Characters
1015 800A03F7 String constant not ended
1016 800A03F8 Comment not ended
1018 800A03FA There is a 'return' statement outside the function
1019 800A03FB There cannot be "break" outside the loop
1020 800A03FC There cannot be "continue" outside the loop
1023 800A03FF Requires hexadecimal number
1024 800A0400 Requires "while"
1025 800A0401 Tag definition duplication
1026 800A0402 Label not found
1027 800A0403 Only one “switch” statement can be found in one “default”
1028 800A0404 Requires identifier, string or number
1029 800A0405 Requires "@end"
1030 800A0406 Conditional compilation is closed
1031 800A0407 Requires constant
1032 800A0408 Requires “@”
1033 800A0409 Requires "catch"
1034 800A040A requires "var"
1035 800A040B “Throw” must be followed by an expression and on the same source code line.
************************************************************************
VBScript runtime error
If the VBScript script executes operations that the system cannot implement, a VBScript runtime error will be generated. VBScript runtime errors will only occur when running scripts, assigning values to variable expressions, or allocating memory. The following are 65 runtime errors:
Error number Description
Decimal Hexadecimal Description
5 800A0005 Invalid procedure call or parameter
6 800A0006 Overflow
7 800A0007 Insufficient memory
9 800A0009 Subscript crosses the boundary
10 800A000A This array is of fixed length or is temporarily locked
11 800A000B divided by zero
13 800A000D Type mismatch
14 800A000E String space overflow
17 800A0011 Unable to perform requested operations
28 800A001C Stack Overflow
35 800A0023 Undefined Sub or Function
48 800A0030 Loading DLL Error
51 800A0033 Internal Error
52 800A0034 Bad file name or number
53 800A0035 File not found
54 800A0036 Bad file mode
55 800A0037 The file has been opened
57 800A0039 Device I/O Error
58 800A003A The file already exists
61 800A003D Disk space is full
62 800A003E Input exceeds the end of the file
67 800A0043 Too many files
68 800A0044 The device is not available
70 800A0046 Permission disabled
71 800A0047 Disk not ready
74 800A004A cannot be renamed with different drives
75 800A004B Path/file access error
76 800A004C Path not found
91 800A005B Object variable not set
92 800A005C For loop not initialized
94 800A005E Illegal use Null
322 800A0142 Cannot create the required temporary files
424 800A01A8 Required object
429 800A01AD ActiveX component cannot create an object
430 800A01AE Class class does not support automation
432 800A01B0 No file name or class name found in automation operation
438 800A01B6 Object does not support this property or method
440 800A01B8 Automation error
445 800A01BD object does not support this operation
446 800A01BE Object does not support specified parameters
447 800A01BF Object does not support the current locale
448 800A01C0 No named parameters found
449 800A01C1 Parameters are not available
450 800A01C2 Incorrect number of parameters or invalid parameter attribute value
451 800A01C3 Object is not a collection
453 800A01C5 Specified dll function not found
455 800A01C7 Code source lock error
457 800A01C9 This key is already an element association of this collection.
458 800A01CA variable uses an automation (Automation) type that is not supported in VBScript
462 800A01CE The remote server does not exist or cannot be accessed
481 800A01E1 Invalid picture
500 800A01F4 Variable not defined
501 800A01F5 Illegal distribution
502 800A01F6 Script object is not safe
503 800A01F7 Object cannot be initialized safely
504 800A01F8 Objects cannot be created safely
505 800A01F9 Invalid or unqualified citation
506 800A01FA Class Undefined
507 800A01FB Exception occurred
5016 800A1398 Requires regular expression object
5017 800A1399 Syntax error in regular expression
5018 800A139A Error Quantitative Word
5019 800A139B Required in regular expression]
5020 800A139C Required in regular expression)
5021 800A139D Character set crosses the boundary
32811 800A802B element not found
**************************************************************
vbscript error code and corresponding explanation collection
VBScript Syntax Error
If the VBScript statement structure violates one or more VBScript script language syntax rules, a VBScript syntax error will occur.
Errors are usually generated before executing the program and when compiling the program. The following are 53 syntax errors:
Error number Description
Decimal Hexadecimal Description
1001 800A03E9 Insufficient memory
1002 800A03EA Syntax Error
1003 800A03EB Missing ":"
1005 800A03ED Required(
1006 800A03EE Required )
1007 800A03EF Missing "]"
1010 800A03F2 Requires an identifier
1011 800A03F3 Required =
1012 800A03F4 RequiredIf
1013 800A03F5 Required To
1014 800A03F6 RequiredEnd
1015 800A03F7 RequiredFunction
1016 800A03F8 RequiredSub
1017 800A03F9 RequiredThen
1018 800A03FA RequiredWend
1019 800A03FB Required Loop
1020 800A03FC RequiredNext
1021 800A03FD Required Case
1022 800A03FE RequiredSelect
1023 800A03FF Requires expression
1024 800A0400 Required statement
1025 800A0401 Required end of statement
1026 800A0402 Requires integer constant
1027 800A0403 RequiredWhile orUntil
1028 800A0404 RequiredWhile,,Until, or statement not ended
1029 800A0405 RequiredWith
1030 800A0406 Identifier is too long
1031 800A0407 Invalid number
1032 800A0408 Invalid characters
1033 800A0409 Unfinished string constant
1034 800A040A Unfinished Comments
1037 800A040D Invalid keyword useMe
1038 800A040E loop Nodo
1039 800A040F Invalidexit Sentence
1040 800A0410 Invalid �
1041 800A0411 Name Redefinition
1042 800A0412 The first statement that must be the line
1043 800A0413 cannot be assigned to non-Byval parameters
1044 800A0414 The parentheses cannot be used when calling Sub
1045 800A0415 Requires text constant
1046 800A0416 RequiredIn
1047 800A0417 RequiredClass
1048 800A0418 Must be defined inside a class
1049 800A0419 Required in the property declaration Let , Set or Get
1050 800A041ARequiredProperty
1051 800A041B The number of parameters must be consistent with the attribute description.
1052 800A041C There cannot be multiple default properties/methods in the class
1053 800A041D Class initialization or termination cannot take parameters
1054 800A041E Property Let or Set
1055 800A041F UnneededNext
1056 800A0420 Specify 'Default ' only on 'Property' or 'Function' or 'Sub'
1057 800A0421 InstructionsDefault Must be explained at the same timePublic "
1058 800A0422 can only be specified in Property Get Default