Solution

The machine where Cognos is installed must have the ORACLE run time client installed on it.