Wrong database format
The function you have chosen is not possible with this type of database.
Examples:
1. You cannot create keys or a search booster in a PGN database.
2. You cannot access indexes, find doubles or check integrity on a database in the older CBF format.
Solution: Convert the database to the normal ChessBase format (right-click the database symbol).