Oracle Solution for Error ora-01096

Solution for Oracle Error ORA-01096

ORA-01096: program version (string) incompatible with instance (string)

What triggered the Error:

A program is trying to connect to an instance using a different version of code than the database was started with. This is not allowed.

What should we do to fix it:

Either relink the program with the same version as the database or restart the database using the old version of code.