在执行expdp的时候,报错ora-39006和ora39213,

Cause: The Data Pump could  not   use the Metadata API. Typically, this  is   caused  by   the XSL stylesheets  not   being  set   up properly.
Action Connect   AS   SYSDBA  and   execute   dbms_metadata_util.load_stylesheets  to   reload the stylesheets.

数据泵无法使用元数据API,需要以sysdba身份登录,执行:

1
2
SQL>  execute   dbms_metadata_util.load_stylesheets;
PL/SQL  procedure  successfully completed.