JS1197: Too many errors

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.

To correct this error

  1. Make sure the file that the compiler is compiling is a JScript .NET file.

  2. Fix the first few errors, then recompile.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference