VBScript error code and correspondence interpretation
VBScript syntax error If the VBScript statement structure violates one or more VBScript script language rules, a VBScript syntax error is generated. Error is usually generated when the program is compiled before executing the program. The following is 53 syntax errors:
Error number description
Decimal hex
1001 800A03E9 insufficient memory
1002 800A03EA grammatical error
1003 800A03EB lacks ":": "
1005 800A03ED Need & ('
1006 800A03EE needs ')'
1007 800A03EF lack "]"
1010 800A03F2 requires identifier
1011 800A03F3 needs '='
1012 800A03F4 requires 'IF'
1013 800A03F5 needs 'to'
1014 800A03F6 needs 'end'
1015 800A03F7 needs 'function'
1016 800A03F8 requires 'SUB'
1017 800A03F9 requires 'Ten'
1018 800A03FA needs 'wend'
1019 800A03FB needs 'loop'
1020 800A03FC needs 'next'
1021 800A03FD needs 'case'
1022 800A03FE needs 'SELECT'
1023 800A03FF Requires Expression
1024 800A0400 Need statement
1025 800A0401 Requires the end of the statement
1026 800A0402 Need an integer constant
1027 800A0403 Need 'While' or 'Until'
1028 800A0404 Need 'While,', 'Until,' or the statement is not over
1029 800A0405 Need 'with'
1030 800A0406 identifier
1031 800A0407 invalid number
1032 800A0408 Invalid characters 1033 800A0409 Unbound crisp
1034 800A040A Overcome
1037 800A040D Invalid Use Keyword 'ME'
1038 800A040E 'Loop' No 'Do'
1039 800A040F invalid 'exit' statement
1040 800A0410 Invalid 'for' cycle control variable
1041 800A0411 Name Redefile
1042 800A0412 must be the first statement
1043 800A0413 Cannot be brought to non-BYVAL parameters
1044 800A0414 Do not use parentheses when calling SUB
1045 800A0415 Need text constant
1046 800A0416 Need 'in'
1047 800A0417 Need 'Class'
1048 800A0418 must define in a class
1049 800A0419 Requires Let, SET or GET in the attribute statement
1050 800A041A Need 'Property'
1051 800A041B parameter number must be consistent with attribute description
1052 800A041C does not have multiple default attributes / methods in the class
1053 800A041D Class initialization or termination can not be parametric
1054 800A041E Property Let or SET should have a parameter
1055 800A041F unwanted 'Next'
1056 800A0420 Can only specify 'default' on 'Property' or 'Function' or 'Sub'
1057 800A0421 Description 'DEFAULT' must also describe 'public' "
1058 800A0422 can only specify 'default' in the Property GET
VBScript runtime error
If the VBScript script executes the system that cannot be implemented, the VBScript runtime error is generated. The VBScript runtime error is generated only if the script is assigned or assigned to the variable expression. The following is 65 runtime errors:
Error number description
Decimal hex
5 800A0005 invalid process call or parameter 6 800A0006 overflow
7 800A0007 Insufficient memory
9 800A0009 subscript
10 800A000A This array is fixed or temporarily locked
11 800A000B is zero
13 800A000D type does not match
14 800A000E String space overflow
17 800A0011 Unable to perform a request
28 800A001C stack overflow
35 800A0023 Undefined SUB or FUNCTION
48 800A0030 Load DLL error
51 800A0033 Internal error
52 800A0034 bad file name or number
53 800A0035 files have not found
54 800A0036 bad file mode
55 800A0037 file has been opened
57 800A0039 Equipment I / O Error
58 800A003A file already exists
61 800A003D disk space is full
62 800A003E Enter the end of the file
67 800A0043 Too many files
68 800A0044 equipment is not available
70 800A0046 Permissions Disable
71 800A0047 Disk is not ready
74 800A004A cannot rename different drives
75 800A004B Path / File Access Error
76 800A004C path did not find
91 800A005B does not set object variables
92 800A005C for cycle is not initialization
94 800A005E illegally used NULL
322 800A0142 Cannot establish the required temporary file
424 800A01A8 requires objects
429 800A01AD ActiveX Part Unable to create an object
430 800A01AE class does not support automation
432 800A01B0 Did not find a file name or class name in the 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 designated parameters
447 800A01BF object does not support current regional settings
448 800A01C0 Did not find named parameters
449 800A01C1 parameter is not available
450 800A01C2 Error parameter number or invalid parameter attribute value
451 800A01C3 object is not a collection
453 800A01C5 specified DLL function is not found
455 800A01C7 code source lock error
457 800A01C9 This button is already an element association of this collection
458 800A01CA variable uses an automation type that is not supported in VBScript (Automation)
462 800A01CE Remote server does not exist or cannot be accessed
481 800A01E1 invalid picture
500 800A01F4 variable is not defined
501 800A01F5 illegal distribution
502 800A01F6 script object is not safe
503 800A01F7 objects cannot be initialized safely
504 800A01F8 objects cannot be safely created
505 800A01F9 invalid or unqualified reference
506 800A01FA class is not defined
507 800A01FB is abnormal
5016 800A1398 Need a regular expression object
5017 800A1399 Syntax error in the regular expression
5018 800A139A error quantity
5019 800A139B Need ']' in the regular expression
5020 800A139C requires ')' in regular expression
5021 800A139D Character Set Offer
32811 800A802B element is not found