Oracle Solution for Error ora-14117

Solution for Oracle Error ORA-14117

ORA-14117: partition resides in offlined tablespace

What triggered the Error:

User attempted an operation requiring that we access data in a partition which resides in a tablespace which was taken offline. Such operations include trying to drop a tablespace of a table which has indices defined on it or is referenced by a constraint.

What should we do to fix it:

Bring tablespace online before attempting the operation.