我無法執行以下說明─Oracle錯誤「ORA-28759:未能打開文件」請求UTL_HTTP包
DECLARE
lo_req UTL_HTTP.req;
lo_resp UTL_HTTP.resp;
BEGIN
UTL_HTTP.SET_WALLET ('file: C:\app\wallet','[email protected]');
lo_req := UTL_HTTP.begin_request('https://wordpress.org/');
lo_resp := UTL_HTTP.get_response(lo_req);
dbms_output.put_line(lo_resp.status_code);
UTL_HTTP.end_response(lo_resp);
END;
錢包通路時,C:\程序\錢包和密碼ABCD @ 1234 。
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1130
ORA-28759: failure to open file
我該如何解決:
當執行該代碼,顯示下面的錯誤?
您可以檢查Oracle用戶是否具有文件的讀取權限。 – vishad 2014-11-02 10:51:16
刪除'file:'和'C:\ app \ wallet'之間的空格。祝你好運。 – 2014-11-02 15:22:42
我該如何檢查? @vishad – 2014-11-02 15:53:16