Oracle Error NID-00124: Mismatched dbid for datafile string, expected number, found number

Oracle Error Message

NID-00124: Mismatched dbid for datafile string, expected number, found number

Reason for the Error

The dbid of the datafile does not match the ‘old’ DBID or the ‘new’ DBID.

Solution

Verify that this datafile belongs to the database. You may need to restore a backup of the datafile.