Oracle Error ORA-01166: file number string is larger than string (string)

Oracle Error Message

ORA-01166: file number string is larger than string (string)

Reason for the Error

File mentioned in CREATE CONTROLFILE has a file number which is larger than that specified for MAXDATAFILES or MAXLOGFILES.

Solution

Increase the maximum specified on the command line.