Login | Sign Up
ErrorKey - Search engine for Error codes and messages     
  JScript:JScript Syntax Errors  [ 192 result(s) ]
MICROSOFT 
  - JS1197: Too many errors  MICROSOFT
Too many errors. The file might not be a JScript .NET file. The code has generated too many errors. The most common cause is trying to compile a file that is not a JScript .NET file. Alternatively, the code may simply have a few errors from which the compiler cannot recover, which causes many other errors.
Make sure the file that the compiler is compiling is a JScript .NET file. Fix the first few errors, then recompile.
JScript Syntax Errors
Comments
 
  - JS1215: Converting a JScript Array to a System.Array results in a memory allocation and an array copy  MICROSOFT
The code converts a JScript Array object to a typed array (a System.Array). Note: This is accomplished by allocating enough memory to store a copy of the typed array and by copying the elements of the JScript array into the typed array. Consequently, modifications to the typed array will not be reflected in the JScript array unless the code copies the typed array back to the JScript array after making the modifications.
Use explicit type conversion to convert the JScript array to the typed array.
JScript Syntax Errors
Comments
 
  - JS1198: Syntax error. Write 'var identifier : Type' rather than 'Type identifier' to declare a typed variable  MICROSOFT
Your code has what appears to be a C-style field declaration of the form Type identifier. To declare a field in JScript, use the var identifier : Type syntax.
Declare fields using the var identifier : Type syntax.
JScript Syntax Errors
Comments
 
  - JS1199: Syntax error. Write 'function identifier(...) : Type{' rather than 'Type identifier(...){' to declare a typed function  MICROSOFT
The code has what appears to be a C-style method declaration of the form Type identifier(...). To declare a method in JScript, use the function identifier(...) : Type syntax.
Declare methods using the function identifier(...) : Type syntax.
JScript Syntax Errors
Comments
 
  - JS1002: Syntax error  MICROSOFT
A JScript statement violates one or more of JScript's grammatical rules.
Double-check the program's syntax on the line number indicated. Look for misdirected parentheses or braces.
JScript Syntax Errors
Comments
 
JS5017  -  MICROSOFT
Syntax error in regular expression A regular expression search string's syntax violates one or more of the grammatical rules of a JScript regular expression.
Make sure that a regular expression search string adheres to the JScript regular expression syntax.
JScript Run-time Errors
Comments
 
  - JS1159: Syntax error. Use 'static classname {...}' to define a class initializer  MICROSOFT
A code block immediately follows a modifier inside a class. JScript modifiers can only be applied to class members. Two likely scenarios might produce this result: You meant to define a class initializer but left out the class name. You meant to define a method or property accessor but left out the function, function get, or function set statement.
If you meant to define a class initializer, use the correct syntax for static statement. If you meant to define a method or property accessor, use the correct syntax for the function, function get, or function set statement.
JScript Syntax Errors
Comments
 
  - JS1014: Invalid character  MICROSOFT
An identifier includes a character (or characters) not recognized as valid by the JScript compiler. Valid characters use the following rules: The first character must be an ASCII letter (either uppercase or lowercase), an underscore (_), or a dollar sign ($). Subsequent characters can be ASCII letters, numbers, underscores, or dollar signs. The identifier name cannot be a reserved word.
Avoid using characters that are not part of the JScript language definition.
JScript Syntax Errors
Comments
 
JS5025  -  MICROSOFT
The URI to be decoded is not a valid encoding The code attempted to decode an improperly formed Uniform Resource Identifier (URI). URIs have a special syntax; most non-alphanumeric characters must be encoded before they can be used in a URI. The encodeURI and encodeURIComponent methods cannot create a URI from a normal JScript string. A complete URI is comprised of a sequence of components and separators. The general form is: :/;?The names in angle brackets represent components, and the ":", "/", ";" and "?" are reserved characters used as separators.
Ensure that the code is trying to decode valid URIs only. For example, a normal JScript string may not be a valid URI because it may contain invalid characters.
JScript Run-time Errors
Comments
 
  - JS1163: The specified member is not CLS compliant  MICROSOFT
The program contains the CLSCompliantAttribute attribute, and the compiler has detected a class member that is not Common Language Specification (CLS) compliant. Some possible causes of this error are: The member name is not CLS compliant. CLS compliant names cannot start with an underscore (_), contain a dollar sign ($), or differ only in capitalization from the name of another public member. If the member is a public method, data types that are not available in the common language runtime are used to type annotate the parameters or return type. If the member is a field or property, data types that are not available in the common language runtime are used to type annotate field or property. There are several reasons a data type may not to be available in the common language runtime. The type is defined within the class but it is not publicly accessible. The type is defined but not marked as CLS compliant. The type is a primitive type that is not CLS compliant. For example, uint is a primitive type that is not CLS compliant. The corresponding CLS compliant system type is System.UInt32. The type is an intrinsic JScript object, none of which are CLS compliant. The commonly used JScript objects, Array, Date, Error, RegExp, and Function, correspond to the CLS compliant system types, System.Array, System.DateTime, System.Exception, System.Text.RegularExpressions.RegEx, and System.EventHandler.
Make sure that the member name does not start with an underscore (_), contain a dollar sign ($), or differ only in capitalization from the name of another member. Make sure that the parameters or return types for public methods and the types of public fields and properties are common language runtime data types or publicly accessible classes that have been marked as CLS compliant.
JScript Syntax Errors
Comments
 
 

 
JScript Syntax Errors (190)
JScript Run-time Errors (2)
 
  Prev   1  2  3  4  5  6  7  8  9  10  Next