Procedure calling a webpage.
We are trying to open a webpage from oracle procedure.Following error is coming out when we try this.
Please help us in this issue.
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1231
ORA-12535: TNS:operation timed out
ORA-06512: at "ISECURETEST.TEMP_PROC", line 60
ORA-06512: at line 2
inside
I am sending our source code. Please have a look at it and help us.
create or replace
PROCEDURE Test
url IN VARCHAR2,
username IN VARCHAR2 DEFAULT NULL,
password IN VARCHAR2 DEFAULT NULL
) AS
req utl_http.req;
resp utl_http.resp;
name VARCHAR2(256);
value VARCHAR2(1024);
data VARCHAR2(255);
my_scheme VARCHAR2(256);
my_realm VARCHAR2(256);
my_proxy BOOLEAN;
BEGIN
--OWA_UTIL.mime_header('text/html');
-- When going through a firewall, pass requests through this host.
-- Specify sites inside the firewall that don't need the proxy host.
dbms_output.put_line('Web proxy server is protected2.');
utl_http.set_proxy('tmgsrv01.g7infotech.local:8080', 'g7infotech.local');
-- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
-- rather than just returning the text of the error page.
utl_http.set_response_error_check(FALSE);
dbms_output.put_line('Web proxy server is protected9.');
-- Begin retrieving this web page.
req := utl_http.begin_request(url);
dbms_output.put_line('Web proxy server is protected20.');
-- Identify ourselves. Some sites serve special pages for particular browsers.
utl_http.set_header(req, 'User-Agent', 'Internet Explorer/7.0');
utl_http.set_transfer_timeout(1800);
-- Specify a user ID and password for pages that require them.
IF (username IS NOT NULL) THEN
utl_http.set_authentication(req, username, password);
END IF;
BEGIN
-- Now start receiving the HTML text.
resp := utl_http.get_response(req);
utl_http.set_transfer_timeout(3600);
-- Show the status codes and reason phrase of the response.
dbms_output.put_line('HTTP response status code: ' || resp.status_code);
dbms_output.put_line('HTTP response reason phrase: ' || resp.reason_phrase);
-- Look for client-side error and report it.
IF (resp.status_code >= 400) AND (resp.status_code <= 499) THEN
-- Detect whether the page is password protected, and we didn't supply
-- the right authorization.
IF (resp.status_code = utl_http.HTTP_UNAUTHORIZED) THEN
utl_http.get_authentication(resp, my_scheme, my_realm, my_proxy);
IF (my_proxy) THEN
dbms_output.put_line('Web proxy server is protected.');
dbms_output.put('Please supply the required ' || my_scheme ||
' authentication username/password for realm ' || my_realm ||
' for the proxy server.');
ELSE
dbms_output.put_line('Web page ' || url || ' is protected.');
dbms_output.put('Please supplied the required ' || my_scheme ||
' authentication username/password for realm ' || my_realm ||
' for the Web page.');
END IF;
ELSE
dbms_output.put_line('Check the URL.');
END IF;
utl_http.end_response(resp);
UTL_HTTP.set_transfer_timeout(1800);
RETURN;
-- Look for server-side error and report it.
ELSIF (resp.status_code >= 500) AND (resp.status_code <= 599) THEN
dbms_output.put_line('Check if the Web site is up.');
utl_http.end_response(resp);
RETURN;
END IF;
-- The HTTP header lines contain information about cookies, character sets,
-- and other data that client and server can use to customize each session.
FOR i IN 1..utl_http.get_header_count(resp) LOOP
utl_http.get_header(resp, i, name, value);
dbms_output.put_line(name || ': ' || value);
END LOOP;
-- Keep reading lines until no more are left and an exception is raised.
LOOP
utl_http.read_line(resp, value);
dbms_output.put_line(value);
END LOOP;
/* EXCEPTION
WHEN utl_http.end_of_body THEN
--utl_http.get_detailed_sqlerrm(resp);
dbms_output.put_line('error:'||sqlerrm);
utl_http.end_response(resp);
END;
END;
Similar Messages
-
cannot open pictures in Window 8.1...getting message 'the remote procedure call failed". What is the solution?
I recently bought a new HP computuer and uploaded Window 8.1. I then transfered photo files from old computer to new computer using a portable storage drive.
When trying to view the photos, a message pops up showing a file path...and the message 'the remote procedure call failed'. Photos are in jpeg format.
Please let me know what I can do to view photos?What program you use to view these photos? Choose another app to view these photos
for a test.
This issue only occurred when you view photo? What is the result if we connect the
portable storage drive to other computer (if possible)?
Run sfc/scannow to check and fix if there are some missing or corrupted system files.
Check the event viewer to see the detailed information of this issue.
Regards
Yolanda
TechNet Community Support -
BRF+ - Help Needed for Procedure Call for FM RFC_READ_TABLE
Dear Guru,
This is meant to be a prototype. Scenario is this based on a Centralize BRF+ Services with Satalite Systems. In this context lets assume two SAP Box. Box A (SAP ERP), Box B (BRF+ Server 7.02 NW SP6)
Busienss Rule is simple - Expose Customer Validation Service in BRF+ with Input of One Field (KUNNR) and Output of BOOLEAN (Yes, No).
Suggested Function Module - RFC_READ_TABLE with Destination in Box A(SAP ERP).
RFC_READ_TABLE
My question is:
1. Is Procedure Call Expression the right object to use for RFC?
2. Where can I specify the RFC Destination?
3. If not, should I create a New Function Module Wrapper that meant to call RFC_READ_TABLE with Destination?
4. Procedure Call Expression WebDynpro, I am not able to specify "Assigned Value" for Parameter "OPTIONS" which is a table.
I am able to specify other Parameters such as "QUERY_TABLE" and "OPTIONS"
Thanks
Leonard
Edited by: Leonard Tan on Mar 19, 2011 6:26 AMI would create a local wrapper FM on BOX B to call into Box A for the table read. Maybe this would also allow to buffer the data locally in case it has to be read multiple times.
The procedure call as of today does not allow to do remote calls. Therefore you have no option to specify an RFC destination.
For the use of tables maybe create an error message. I could not follow your instructions.
Also consider to implement SP7 as soon as it is available. We did quite some corrections. -
How to give ref cursor in VB procedure call
This is my Oracle Sp
CREATE OR REPLACE PROCEDURE CRD_DMAN.infy_usp_trades_by_broker_bkr
** Procedure name: CRD_DMAN.USP_TRADES_BY_BROKER
** Author's name: Infosys
** Date written: 04/11/07
** Description: Compliance Trade by Borker
** Maintenance history:
** Date Chg req# Name Remarks
** 04/11/07 Infosys Created
p_ordercursor IN OUT infy_pkg_compliance_transact.cur_compliancetrade,
p_startdate IN VARCHAR,
p_enddate IN VARCHAR,
p_fundcode IN cs_fund_config.parent_acct_cd%TYPE,
p_clientcode IN ts_order_alloc.acct_cd%TYPE,
p_brokercode IN ts_order_alloc.exec_broker%TYPE,
p_reportname IN report_log.report_name%TYPE,
p_callingapplication IN report_log.calling_application%TYPE,
p_callinguser IN report_log.calling_user%TYPE
IS
--Declaring Local Variables
v_owner VARCHAR2 (30);
v_startdate VARCHAR2 (10);
v_enddate VARCHAR2 (10);
v_rowcount NUMBER:=0;
v_logrec base_util_pkg.crd_log_record;
exp_error EXCEPTION;
v_fundcodevalue NUMBER;
BEGIN
BEGIN
/*checking if the start date and end date are null and
assigning the sysdate accordingly*/
IF (TRIM(p_startdate) IS NULL )
THEN
v_startdate := TO_CHAR (SYSDATE, 'mm/dd/yy');
ELSE
v_startdate := p_startdate;
END IF;
IF (TRIM(p_enddate) IS NULL )
THEN
v_enddate := TO_CHAR (SYSDATE, 'mm/dd/yy');
ELSE
v_enddate := p_enddate;
END IF;
/*checking if fund code is null and assigning value accordingly*/
IF TRIM (p_fundcode) IS NULL
THEN
v_fundcodevalue := 0;
ELSE
v_fundcodevalue := 1;
END IF;
/*checking if the reportname or calling user or calling
application name*/
IF (p_reportname IS NULL OR p_callinguser IS NULL
OR p_callingapplication IS NULL)
THEN
RAISE exp_error;
END IF;
END;
--opening and fetching the data into cursor
v_logrec.start_time := SYSDATE;
BEGIN
OPEN p_ordercursor
FOR
SELECT
oa.exec_broker EXEC_BROKER_CODE,
b.bkr_name EXEC_BROKER_NAME,
oa.acct_cd CLIENT_CODE,
f.acct_name CLIENT_NAME,
CASE WHEN (Exists (SELECT 1
FROM cs_fund_broker fb
WHERE rel_typ_cd IN('P','M')
AND oa.exec_broker=fb.BKR_CD
AND oa.acct_cd =fb.acct_cd))
THEN 'Y'
ELSE 'N' END DIRECTED_BROKER,
COUNT ( distinct o.order_id) COUNT_TICKNUM,
MAX (o.trade_date) TRADE_DATE,
SUM (oa.exec_amt) BASE_COST,
SUM (oa.commision_amt) TOTAL_COMMISSION,
(SELECT ab.bkr_typ_cd FROM au_broker ab
WHERE ab.au_change_date =(SELECT TO_TIMESTAMP(MAX(ab.au_change_date))
FROM au_broker ab WHERE b.bkr_typ_cd != ab.bkr_typ_cd AND b.bkr_cd = ab.bkr_cd))
BROKER_HISTORY
FROM
ts_order o
JOIN ts_order_alloc oa ON (o.order_id = oa.order_id)
JOIN cs_broker b ON(oa.exec_broker = b.bkr_cd)
JOIN cs_fund f ON(oa.acct_cd = f.acct_cd)
WHERE
o.status = 'ACCT'
AND oa.exec_broker = CASE WHEN TRIM (p_brokercode) IS NULL
THEN oa.exec_broker
ELSE TRIM(p_brokercode) END
AND oa.acct_cd = CASE WHEN TRIM(p_clientcode) IS NULL
THEN oa.acct_cd
ELSE TRIM(p_clientcode) END
AND ((0 = v_fundcodevalue) OR EXISTS (SELECT 1 FROM crd.cs_fund_config cf
WHERE cf.parent_acct_cd =TRIM (p_fundcode)
AND oa.acct_cd = cf.child_acct_cd))
AND o.trade_date BETWEEN TO_DATE (v_startdate, 'mm/dd/yy')
AND TO_DATE (v_enddate, 'mm/dd/yy')
GROUP BY oa.exec_broker, b.bkr_name ,oa.acct_cd ,f.acct_name,oa.directed_broker,b.bkr_typ_cd,b.bkr_cd;
END;
BEGIN
SELECT
owner
INTO
v_owner
FROM
all_objects
WHERE
object_name = 'INFY_USP_TRADES_BY_BROKER_BKR';
v_logrec.end_time := SYSDATE;
v_logrec.user_code := v_owner;
v_logrec.input_param_values := 'INFY_USP_TRADES_BY_BROKER_BKR,'
|| v_startdate
|| ','
|| v_enddate
|| ','
|| p_fundcode
|| ','
|| p_clientcode
|| ','
|| p_brokercode;
v_logrec.report_name := p_reportname;
v_logrec.object_name := 'INFY_USP_TRADES_BY_BROKER_BKR';
v_logrec.rows_returned := v_rowcount;
v_logrec.calling_application := p_callingapplication;
v_logrec.calling_user := p_callinguser;
END;
BEGIN
--calling the procedure to insert values into the report_log table
COMMIT;
SET TRANSACTION READ WRITE;
base_util_pkg.crd_base_util_proc (v_logrec);
SET TRANSACTION READ ONLY;
END;
EXCEPTION
WHEN exp_error
THEN
DBMS_OUTPUT.put_line ('ERROR');
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('ERROR OCCURED' || SQLCODE);
DBMS_OUTPUT.put_line (SQLERRM);
END infy_usp_trades_by_broker_bkr;
END OF CRD_DMAN.USP_TRADES_BY_BROKER
This is my Pakage from where i am using ref cursor
CREATE OR REPLACE PACKAGE CRD_DMAN.infy_pkg_compliance_transact
AS
** Package name : CRD.INFY_PKG_COMPLIANCE_TRANSACTIONS
** Author's name : Infosys
** Date written : 06/11/07
** Project/System : CRD
** Description : Compliance Trades By Borker Package
** Maintenance history:
** Date Chg req# Name Remarks
** 06/11/07 CRD Infosys Created
--Defining The ComplianceTrade Record DataType
TYPE rec_compliancetrade IS RECORD (
exec_broker_code crd.ts_order_alloc.exec_broker%TYPE,
exec_broker_name crd.cs_broker.bkr_name%TYPE,
client_code crd.ts_order_alloc.acct_cd%TYPE,
client_name crd.cs_fund.acct_name%TYPE,
directed_broker crd.ts_order_alloc.directed_broker%TYPE,
count_ticknum crd.ts_order.order_id%TYPE,
trade_date crd.ts_order.trade_date%TYPE,
base_cost crd.ts_order_alloc.cur_base_mkt_val%TYPE,
total_commission crd.ts_order_alloc.commision_amt%TYPE,
broker_history crd.au_broker.bkr_typ_cd%TYPE
--Declaring a variable of rec_auditdata data type
TYPE cur_compliancetrade IS REF CURSOR
RETURN rec_compliancetrade;
END infy_pkg_compliance_transact;
END OF CRD.INFY_PKG_COMPLIANCE_TRANSACTIONS
How to call this SP from VB code with ref cursor parameter?I'm fairly sure that's not possible, since there's nothing in the ODBC spec to allow for ref cursors. The driver has built in support to check for ref cursors that are returned via a stored procedure call, but there's nothing built into the driver to pass one IN. Since a ref cursor can't be constructed on the client side, you'd have to have some sort of structure that allowed you to reference the ref cursor directly in order to be able to pass one back to the database.
Since you're using VB.NET anyway, the better solution is probably just to use ODP.NET instead, which DOES allow you to reference a ref cursor directly, and there are samples that install with ODP.NET that show you how to do that.
Greg -
Error 'ORA-01403 no data found', if a procedure called through $Universe
Hello,
we use at our customer the scheduling software $Universe. The problem follows is happend at calling PL/SQL-procedures within SQL*Plus:
Within the calling procedur another subprogram will be called. This program crashed on select of currval with the error 'ORA-01403 no data found'. This error happens only, if the procedure called through $Universe. If the procedure called directly from SQL*Plus or about a unix shell-script, no error happens.
About the command "select saddr,sid,serial# from sys.V_$SESSION where
username ='xxx';" we select the Session_ID's. These are identically before and after call of the procedure!
Do you have an idea, how the problem can be?
Next information about OS, releases, settings of Oracle-Session-Parameters, and the crashing procedure:
SQL*Plus: Release 8.1.6.0.0 - Production on Fri Mar 15 13:25:05 2002
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
OS: HP-UX11
ORACLE-Server NLS-parameters on HP-UX:
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_CHARACTERSET WE8DEC
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:T
NLS_DUAL_CURRENCY $
NLS_NCHAR_CHARACTERSET WE8DEC
NLS_COMP BINARY
Windows-desktop NLS-parameters:
ALTER SESSION set NLS_LANGUAGE = 'GERMAN';
ALTER SESSION set NLS_TERRITORY = 'GERMANY';
ALTER SESSION set NLS_ISO_CURRENCY = 'GERMANY';
ALTER SESSION set NLS_NUMERIC_CHARACTERS = ',.';
ALTER SESSION set NLS_CALENDAR = 'GREGORIAN';
ALTER SESSION set NLS_DATE_FORMAT = 'DD/MM/YY';
ALTER SESSION set NLS_DATE_LANGUAGE = 'GERMAN';
ALTER SESSION set NLS_SORT = 'GERMAN';
ALTER SESSION set NLS_TIME_FORMAT = 'HH24:MI:SSXFF';
ALTER SESSION set NLS_TIMESTAMP_FORMAT = 'DD.MM.RR HH24:MI:SSXFF';
ALTER SESSION set NLS_TIME_TZ_FORMAT = 'HH24:MI:SSXFF TZH:TZM';
ALTER SESSION set NLS_TIMESTAMP_TZ_FORMAT = 'DD.MM.RR HH24:MI:SSXFF
TZH:TZM';
ALTER SESSION set NLS_DUAL_CURRENCY = '?';
ALTER SESSION set NLS_COMP = 'BINARY';
PROCEDURE PROC_NEW_ID (p_value IN NUMBER,
p_field IN VARCHAR2,
p_table IN VARCHAR2,
p_currval OUT NUMBER)
IS
v_stmt VARCHAR2(200);
v_currval NUMBER;
BEGIN
-- Bildung des SQL-Statements.
v_stmt := 'INSERT INTO '||p_table|| '('|| p_field || ') VALUES
('||p_value||')';
-- Ausfuehren des SQL-Statements.
EXECUTE IMMEDIATE v_stmt;
COMMIT;
-- Bildung des SQL-Statements.
v_stmt := 'SELECT SEQ_'|| p_table || '.CURRVAL FROM DUAL';
-- Ausfuehren des SQL-Statements.
EXECUTE IMMEDIATE v_stmt INTO v_currval;
-- Wertrueckgabe
p_currval := NVL(v_currval,0);
EXCEPTION
WHEN OTHERS THEN
pkg_mira_protokoll.proc_write_error_fwd
(pkg_mira_consts.act_error,
SQLCODE,
SQLERRM(SQLCODE),
'PROC_NEW_ID');
p_currval := 0;
RAISE;
END;
Thanks for your request!
Best regards
Esser Office Consulting KG
J|rgen EsserThis forum is for posting feedback about the OTN site.
The best place for your question is probably a Portal forum.
There is a list of Portal forums here:
http://forums.oracle.com/forums/index.jsp?cat=13 -
Remote Stored Procedure Call Dispatcher WEB WERVICE
Hello all,
Environment: Windows OS, Oracle 10g, mod_plsql
I am looking for solutions to the following problem:
A way to dispatch calls to stored procedures from client to server with a minimal impact on performance.
We are looking at two possible solutions:
1) Making a call to a Remote Stored Procedure Call Dispatcher (RSPCDispatcher) stored procedure through mod_plsql.
2) Making a call to a Remote Stored Procedure Call Dispatcher (RSPCDispatcher) stored procedure through a web service.
Solution 1) is not the preferred one as you may already know that mod_plsql will not be supported starting 12g.
Solution 2) is the one we prefer as we believe that web services will be ever more supported in the future. When we move to 11g we may turn this web service into a native one (avoiding overhead in the OC4J for hosting the web service etc.).
We are looking for code examples and information pointers of how we could implement this dispatcher as a stored procedure in a DB package. We know that the implementation should be similar to the one done for mod_plsql in the OWA schema but the code there is obfuscated, so we could not borrow ideas from there.
We are not sure how to deal with the generalization of the above stated problem. We need to be able to pass to this dispatcher the stored procedure package and name we are invoking, ordered list of parameters (or parameters map), and the transport strategy (XML, JSON, etc.).
Basically, we are notsure how to deal with the USING clause of the EXECUTE IMMEDIATE statement. We can dynamically generate the SQL statement corresponding to the stored procedure we want to call, but we are not sure how to bind the parameters we are passing?
Also, we know that EXECUTE IMMEDIATE may be slow sometimes. So if could avoid it, this could further improve performance.
Perhaps the run-time generalized stored procedure execution may not be what we are looking for?! Perhaps we should include several design-time steps?! What about a script that given a package name (or just a single stored procedure) would generate a wrapper package which stored procudures' names would correspond to their respective counterparts in the given package which would take two parameters - the list of parameters in some sort of format, and the transport (content delivery strategy) and would return the result in the given content delivery strategy?! This script may also define the XSD of the XML message a stored procedure is called with (the parameter map) as well as the XSD of the XML result the stored procedure returns. Also the script could generate client code with the given language strategy (Java, .NET, etc.) for calling the RSPCDispatcher web service.
We request the following from the Oracle community folks:
a) Please, give us any relevant information that could be helpful to resolve this problem.
b) Any resource of how to inspect stored procedures in a package, its parameters, parameter types and direction (IN, OUT, or INOUT), etc.
Thank you very much in advance.
Regards,
GeorgiHello all,
Environment: Windows OS, Oracle 10g, mod_plsql
I am looking for solutions to the following problem:
A way to dispatch calls to stored procedures from client to server with a minimal impact on performance.
We are looking at two possible solutions:
1) Making a call to a Remote Stored Procedure Call Dispatcher (RSPCDispatcher) stored procedure through mod_plsql.
2) Making a call to a Remote Stored Procedure Call Dispatcher (RSPCDispatcher) stored procedure through a web service.
Solution 1) is not the preferred one as you may already know that mod_plsql will not be supported starting 12g.
Solution 2) is the one we prefer as we believe that web services will be ever more supported in the future. When we move to 11g we may turn this web service into a native one (avoiding overhead in the OC4J for hosting the web service etc.).
We are looking for code examples and information pointers of how we could implement this dispatcher as a stored procedure in a DB package. We know that the implementation should be similar to the one done for mod_plsql in the OWA schema but the code there is obfuscated, so we could not borrow ideas from there.
We are not sure how to deal with the generalization of the above stated problem. We need to be able to pass to this dispatcher the stored procedure package and name we are invoking, ordered list of parameters (or parameters map), and the transport strategy (XML, JSON, etc.).
Basically, we are notsure how to deal with the USING clause of the EXECUTE IMMEDIATE statement. We can dynamically generate the SQL statement corresponding to the stored procedure we want to call, but we are not sure how to bind the parameters we are passing?
Also, we know that EXECUTE IMMEDIATE may be slow sometimes. So if could avoid it, this could further improve performance.
Perhaps the run-time generalized stored procedure execution may not be what we are looking for?! Perhaps we should include several design-time steps?! What about a script that given a package name (or just a single stored procedure) would generate a wrapper package which stored procudures' names would correspond to their respective counterparts in the given package which would take two parameters - the list of parameters in some sort of format, and the transport (content delivery strategy) and would return the result in the given content delivery strategy?! This script may also define the XSD of the XML message a stored procedure is called with (the parameter map) as well as the XSD of the XML result the stored procedure returns. Also the script could generate client code with the given language strategy (Java, .NET, etc.) for calling the RSPCDispatcher web service.
We request the following from the Oracle community folks:
a) Please, give us any relevant information that could be helpful to resolve this problem.
b) Any resource of how to inspect stored procedures in a package, its parameters, parameter types and direction (IN, OUT, or INOUT), etc.
Thank you very much in advance.
Regards,
Georgi -
Hello,
The application has been made by Visual Basic 6.0 sp5, it uses MDAC 2.5. RDBMS version is 9.2, server OS Aix 5.2, client OS XP Professional SP2.
In other ways the application is working properly, but when a user tries to start a report which calls a procedure through ODBC the following happens:
(1) The workstation processor starts working under a permanent load of 100%.
(2) The ODBC trace stops here:
{? = call XXXX_YYYY.ZZZ_AAAAAAAA
['BB_BBBB','200511','200511','CCC',null,null,'null','null'}
(3) The database listener trace (admin, on the server) stops here (287 rows follow which are the result of trying to start a report):
nsevwait: 1 newly-posted event(s)
nsevfnt: cxd: 0x1057c390 stage 0: NT events set:
CONNECTION REQUEST
nsevfnt: cxd: 0x1057c390 stage 0: NS events set:
INCOMING CALL
nsevwait: event is 0x1, on 3
nsevwait: 1 posted event(s)
nsglhe: entry
nsmal: 752 bytes at 0x11060b090
nsmal: 2800 bytes at 0x110616030
nsopen: opening transport...
nttcon: entry
nttcon: toc = 3
nttcnp: entry
ntvlin: entry
ntvlin: exit
nttcnp: Validnode Table IN use; err 0x0
nttcnp: getting sockname
nttcnp: exit
nttcnr: entry
nttcnr: waiting to accept a connection.
nttcnr: getting sockname
nttvlser: entry
nttvlser: valid node check on incoming node xxx.yyy.z.50
nttvlser: Accepted Entry: xxx.yyy.z.50
nttcnr: exit
nttcon: set TCP_NODELAY on 18
nttcon: exit
nsopen: transport is open
nsnainit: answer
nsnasvnainfo: NA disabled for this connection
nainit: entry
nagblini: entry
nau_gin: entry
nau_gparams: entry
nam_gbp: Reading parameter "sqlnet.authentication_required" from parameter file
nam_gbp: Parameter not found
nau_gparams: Using default value "FALSE"
nau_gslf: entry
nam_gic: entry
nam_gic: Counting # of items in "sqlnet.authentication_services" parameter
nam_gic: Parameter not found
nam_gic: Found 0 items
nam_gic: exit
nau_gslf: Using default value "all available adapters"
nauss_set_state: entry
nauss_set_state: exit
nau_gslf: exit
nau_gparams: exit
nau_gin: exit
nagblini: exit
na_saveprot: entry
na_saveprot: exit
nacomin: entry
nas_init: entry
nas_init: exit
nau_ini: entry
naugcp_get_connect_parameters: entry
nauss_set_state: entry
nauss_set_state: exit
naugcp_get_connect_parameters: exit
nau_gettab: entry
nau_tadv: entry
nau_fad: entry
nau_fad: exit
nau_fad: entry
nau_fad: exit
nau_fad: entry
nau_fad: exit
nau_fad: entry
nau_fad: exit
nau_tadv: exit
nau_gettab: exit
nau_sini: entry
nau_sini: exit
nau_ini: exit
naeeinit: entry
nam_gbp: Reading parameter "SQLNET.FIPS_140" from parameter file
nam_gbp: Parameter not found
nam_gnsp: Reading parameter "SQLNET.ENCRYPTION_SERVER" from parameter file
nam_gnsp: Parameter not found
naequad: Using default value "ACCEPTED"
nam_gic: entry
nam_gic: Counting # of items in "SQLNET.ENCRYPTION_TYPES_SERVER" parameter
nam_gic: Parameter not found
nam_gic: exit
naesno: Using default value "all available algorithms"
naeshow: entry
naeshow: exit
naeeinit: exit
naecinit: entry
nam_gnsp: Reading parameter "SQLNET.CRYPTO_CHECKSUM_SERVER" from parameter file
nam_gnsp: Parameter not found
naequad: Using default value "ACCEPTED"
nam_gic: entry
nam_gic: Counting # of items in "SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER" parameter
nam_gic: Parameter not found
nam_gic: exit
naesno: Using default value "all available algorithms"
naeshow: entry
naeshow: exit
naecinit: exit
nadisc: entry
nacomtm: entry
nacompd: entry
nacompd: exit
nacompd: entry
nacompd: exit
nacomtm: exit
nas_dis: entry
nas_dis: exit
nau_dis: entry
nau_dis: exit
naeetrm: entry
naeetrm: exit
naectrm: entry
naectrm: exit
nagbltrm: entry
nau_gtm: entry
nau_gtm: exit
nagbltrm: exit
nadisc: exit
nainit: exit
nsnainit: NS Connection version: 311
nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
nsnainit: "or" info flags: 0xd Translations follow:
native service(s) is (are) wanted
NA disabled remotely for this connection
NA services unavailable on both processes - negotiation not needed
nsnainit: "or" info flags: 0xd Translations follow:
native service(s) is (are) wanted
NA disabled remotely for this connection
NA services unavailable on both processes - negotiation not needed
"and" info flags: 0xd Translations follow:
native service(s) is (are) wanted
NA disabled remotely for this connection
NA services unavailable on both processes - negotiation not needed
nsopen: global context check-in (to slot 11) complete
nsopen: lcl[0]=0x7fe9ff, lcl[1]=0x12003, gbl[0]=0x7e3f, gbl[1]=0x2001, tdu=32767, sdu=8192
nsdo: cid=11, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x2
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=7, flg=0x4200, mvd=0
nsdo: nsctxrnk=0
nsanswer: deferring connect attempt; at stage 5
nsevreg: begin registration process for 11
nsevreg: sgt=0, evn=1, evt[2]=0x0
nsevreg: begin notification process for 11
nsevreg: rdm=0, sgt=0, evt[0]=0x20, [1]=0x20, [2]=0x0, nrg=0
nsevreg: registering for 0x20
nsglhe: exit
nsevwait: 10 registered connection(s)
nsevwait: 0 pre-posted event(s)
nsevwait: waiting for transport event (1 thru 11)...
nsevwait: 1 newly-posted event(s)
nsevfnt: cxd: 0x10606bb0 stage 5: NT events set:
READ
nsevfnt: cxd: 0x10606bb0 stage 5: NS events set:
OUTGOING CALL COMPLETE
nsevdansw: at STAGE 5
nsdo: cid=11, opcode=68, bl=2040, what=8, uflgs=0x0, cflgs=0x3
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=14, flg=0x4204, mvd=0
nsdo: gtn=0, gtc=0, ptn=10, ptc=8163
nscon: doing connect handshake...
nscon: recving a packet
nsprecv: reading from transport...
nttrd: entry
nttrd: socket 18 had bytes read=262
nttrd: exit
nsprecv: 262 bytes from transport
nsprecv: tlen=262, plen=262, type=1
nscon: got NSPTCN packet
nsconneg: vsn=313, lov=300, opt=0x0, sdu=2048, tdu=32767, ntc=0x860e
nsconneg: vsn=311, gbl=0x1, sdu=2048, tdu=32767
nscon: got 204 bytes connect data
nsdo: nsctxrnk=0
nsevdansw: exit
nttctl: entry
nttctl: Clearing non-blocking mode
nsevwait: event is 0x20, on 11
nsevwait: 1 posted event(s)
nsglhe: entry
nsglfc: Assume establishing a connection: look for SID
nsglfc: command = establish
nttaddr2bnd: entry
nttaddr2bnd: exit
nlpcaini: entry
nlpcaini: prg = /oracle9/app/product/9.2.0/bin/oracle
nlpcaini: arg[0] = oracleaaaaa
nlpcaini: arg[1] = (LOCAL=NO)
nlpcaini: env[0] = _=/ddddddd/app/product/9.0.2/bin/lsnrctl
nlpcaini: env[1] = TMPDIR=/lisatmp
nlpcaini: env[2] = LANG=en_US
nlpcaini: env[3] = LOGIN=ddddddd
nlpcaini: env[4] = PATH=/ddddddd/app/product/9.0.2/dcm/bin:/ddddddd/app/product/9.0.2/opm/bin:/ddddddd/app/product/9.0.2/bin:/usr/local/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/ddddddd/bin:/usr/bin/X11:/sbin:.
nlpcaini: env[5] = NLS_LANG=American_America.we8iso8859P1
nlpcaini: env[6] = ORACLE_BASE=/ddddddd/app/product
nlpcaini: env[7] = LC__FASTMSG=true
nlpcaini: env[8] = CGI_DIRECTORY=/var/docsearch/cgi-bin
nlpcaini: env[9] = LOGNAME=ddddddd
nlpcaini: env[10] = TMP=/lisatmp
nlpcaini: env[11] = USER_NLS_LANG=Finnish_Finland.we8iso8859P1
nlpcaini: env[12] = MAIL=/usr/spool/mail/ddddddd
nlpcaini: env[13] = LOCPATH=/usr/lib/nls/loc
nlpcaini: env[14] = PS1=$PWD[SID=$ORACLE_SID]>$
nlpcaini: env[15] = LDR_CNTRL=MAXDATA=0x20000000
nlpcaini: env[16] = DOCUMENT_SERVER_MACHINE_NAME=localhost
nlpcaini: env[17] = USER=ddddd
nlpcaini: env[18] = AUTHSTATE=files
nlpcaini: env[19] = TNS_ADMIN=/ddddddd/app/product/9.0.2/network/admin
nlpcaini: env[20] = DEFAULT_BROWSER=netscape
nlpcaini: env[21] = DISPLAY=cccc:0.0
nlpcaini: env[22] = SHELL=/usr/bin/ksh
nlpcaini: env[23] = ODMDIR=/etc/objrepos
nlpcaini: env[24] = DOCUMENT_SERVER_PORT=49213
nlpcaini: env[25] = ORA_NLS33=/ddddddd/app/product/9.0.2/ocommon/nls/admin/data
nlpcaini: env[26] = HOME=/home/ddddddd
nlpcaini: env[27] = TERM=dumb
nlpcaini: env[28] = MAILMSG=[YOU HAVE NEW MAIL]
nlpcaini: env[29] = ORACLE_HOME=/oracle9/app/product/9.2.0
nlpcaini: env[30] = ITECONFIGSRV=/etc/IMNSearch
nlpcaini: env[31] = PWD=/home/ddddddd
nlpcaini: env[32] = DOCUMENT_DIRECTORY=/usr/docsearch/html
nlpcaini: env[33] = TZ=WET-2WET-3,M3.5.0/03:00:00,M10.5.0/04:00:00
nlpcaini: env[34] = ITECONFIGCL=/etc/IMNSearch/clients
nlpcaini: env[35] = ITE_DOC_SEARCH_INSTANCE=search
nlpcaini: env[36] = A__z=! LOGNAME
nlpcaini: env[37] = ORA_NET2_DESC=4,7
nlpcaini: env[38] = LIBPATH=/ddddddd/app/product/9.0.2/lib32:/ddddddd/app/product/9.0.2/lib
nlpcaini: env[39] = NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
nlpcaini: env[40] = ORACLE_SID=aaaaa
nlpcaini: exit
nsbeqaddr: connecting...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
sntpcall: About to exec /oracle9/app/product/9.2.0/bin/oracle
sntpcall: environ[41] = ""
sntpcall: detaching from parent with additional fork
sntpcall: result string is NTP0 33240
sntpcall: hdl[IR]=23, hdl[IW]=22
sntpcall: exit
ntpcon: NT layer IPC connection has been established
ntpcon: exit
nttaddr2bnd: entry
nttaddr2bnd: exit
nsbeqaddr: doing connect handshake...
nsbequeath: doing connect handshake...
ntpwr: entry
ntpwr: exit
ntpwr: entry
ntpwr: exit
ntpwr: entry
ntpwr: exit
ntprd: entry
ntprd: exit
ntprd: entry
ntprd: exit
nsbequeath: NSE=0
ntpdisc: entry
ntpdisc: exit
nsbeqaddr: connect handshake is complete
nstimarmed: no timer allocated
nsdo: cid=11, opcode=98, bl=0, what=0, uflgs=0x40, cflgs=0x2
nsdo: rank=64, nsctxrnk=0
nsdo: nsctx: state=2, flg=0x4200, mvd=0
nsevunreg: cid=11, sgt=0, rdm=0
nsevunreg: 9 registered connection(s)
nsdo: nsctxrnk=0
nsclose: closing transport
nttdisc: entry
nttdisc: Closed socket 18
nttdisc: exit
nsclose: global context check-out (from slot 11) complete
nsmfr: 2800 bytes at 0x110616030
nsmfr: 752 bytes at 0x11060b090
nsglhe: exit
nsevwait: 9 registered connection(s)
nsevwait: 0 pre-posted event(s)
nsevwait: waiting for transport event (1 thru 10)...
The procedure call through ODBC is working when we use Oracle9i Client.
So. All comments are much appreciated!
Terhoin addition:
my main problem is that Oracle ODBC driver does not understand something like
{call types.test_procedure (?, ?,,?)}
to pass not all parameters (I whant to use default value for some of parameters) -
Java2 SDK SEv1.4.1_01-Win Install Failure - remote procedure call
Whenever I try to install the J2 SDK 1.4.1 on Windows XP Pro, everything works til the actual install is supposed to start. It just hangs there. When I hit the Cancel button, nothing happens; so I have to use task manager to cancel it. Afterward a small window with a message saying "An error occurred while launching the setup. The remote procedure call failed". I found a similar posting last spring for XP & J2 SDK 1.4.0, but there was no resolution posted. Does anybody know what the problem is?
I would be very interested in a solution for this problem as well. I get father. The installer runs all the way through until it is done (100%). But it does not complete and hangs. If I cancel install the error dialog with the following message. "An error occurred while launching the setup. The remote procedure call failed." appears. This is also an Windows XP Pro machine.
-
Remote procedure call failed and did not execute response after changing contents
Hey Hey!
I have reviewed the other posts related to this issue but have not found a solution.
I have done myself quite a mischief and hope someone here can help me out!
I'm running an old ACER laptop with Windows 7. This PC belonged to an old colleague and therefore all of the folders and user names were still under his name, so I decided to try to change them all to my name. The main issue was the USER folder which had
the locked symbol next to it but it wasn't locked at all. I googled how to delete this folder and one bright spark suggested I create a new folder with my name, copy all of the folders from the other 'locked' user's folder into my folder, and then delete the
old user's folder.
That was fine. All seemed well. When I tried to delete the old folder the computer sat around thinking saying it was 'moving' but not doing anything. So, I cancelled the operation in the Task Manager. When I attempted to open any folder from the start menu
or desktop or task bar I was presented with a bunch of numbers and letters and the message "REMOTE PROCEDURE CALL FAILED AND DID NOT EXECUTE."
I quickly googled the message realising I'd made a major error and the first response was to type in services.msc or something to that effect, so I typed that into the Start Menu search bar and hit enter and nothing came up. So, I tried again, but now I
couldn't type anything into the search bar, I could not even select any programs from the Start Menu.
So, I can't access the Start Menu, search bar, or any of the folders unless I open uTorrent, select open containing folder, and from there I can access what I need.
I'm too afraid to reboot the PC. I can't locate my copy of Windows 7 anywhere. I'm freaking out!!
Before I pour my lowly student wage into getting a professional to fix it, could someone please offer some suggestions??
Greatly appreciated in advance.
Paris, Texas.Hi,
Based on your description, for this question is more related to NetQueryDisplayInformation() API, in order to get better help, we may ask for suggestions in the following MSDN forum.
MSDN Forum
https://social.msdn.microsoft.com/Forums/en-US/home
Besides, we can try to use a script to get all domain users. Regarding this point, the following script can be referred to as reference.
How to list all active directory users in a particular domain using PowerShell
https://gallery.technet.microsoft.com/office/How-to-list-all-active-0d9be7ce
In addition, for scripts, we can also ask for help in the following forum.
The Official Scripting Guys Forum
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
Best regards
Frank Shen -
Remote Procedure Call Failed - Verifying Account prior to establishing PIN as sign in option
PC Settings / Accounts / Sign in options / PIN / Verify Account info / : I enter my Microsoft Account password and receive the following message:
"Remote procedure call failed"
Cannot cancel - screen keeps reappearing.
I have successfully established a sign-in PIN for my Win 8.1 desktop. The above problem is occurring only on my Win 8.1 laptop.Hi,
Sorry for my late reply.
Regarding the issue, please ensure that RPC service is start.
If it stops, I suggest you perform the following step to start it.
1.Press Win+R, and type regedit, then press enter.
2.Please navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcSs and
locate Start registry key
Double click on Start and edit the value:
Change Startup type :
Automatic - 2
Manual - 3
Disabled - 4
Automatic (Delayed Start) - 2
Note: When you change to Automatic (Delayed Start) a new key DelayedAutostart is created with value 1.
When you change to Automatic from Automatic (Delayed Start), DelayedAutostart change value to 0.
If it cannot start, please refer to the following article to test it.
"Could not start the Remote Procedure Call (RPC) Service. Error 1058" error message when you manually start the Remote Procedure Call service
http://support.microsoft.com/kb/838428
Regards,
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I am running Hyper-V in Windows 8.1 on a late 2011 27 inch iMac. Whenever I try to create a virtual machine I get the error below and Windows warns that it will restart in 1 minute. I tried a clean install of Windows, but my PC still crashes ever
time I try to create a VM. I was able to successfully use Hyper-V in prior versions of Windows on this same PC. Any clue as to what is going on? A driver? Windows 8.1? Mac Hardware related?
I see the following two entries in event viewer but have no other clue as to what is happening:
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 1/10/2014 10:48:46 AM
Event ID: 16000
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: Charles-PC.CHARLESPOOL.local
Description:
The Hyper-V Virtual Machine Management service encountered an unexpected error: The remote procedure call failed. (0x800706BE).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
<EventID>16000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2014-01-10T15:48:46.770451300Z" />
<EventRecordID>58</EventRecordID>
<Correlation />
<Execution ProcessID="2488" ThreadID="8704" />
<Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
<Computer>Charles-PC.CHARLESPOOL.local</Computer>
<Security UserID="S-1-5-18" />
</System>
<UserData>
<VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<ErrorMessage>%%2147944126</ErrorMessage>
<ErrorCode>0x800706BE</ErrorCode>
</VmlEventLog>
</UserData>
</Event>
Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin
Source: Microsoft-Windows-Hyper-V-VMMS
Date: 1/10/2014 10:48:46 AM
Event ID: 16010
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: Charles-PC.CHARLESPOOL.local
Description:
The operation failed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066f867-7ca1-4418-85fd-36e3f9c0600c}" />
<EventID>16010</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2014-01-10T15:48:46.773497100Z" />
<EventRecordID>59</EventRecordID>
<Correlation />
<Execution ProcessID="2488" ThreadID="8704" />
<Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
<Computer>Charles-PC.CHARLESPOOL.local</Computer>
<Security UserID="S-1-5-18" />
</System>
<ProcessingErrorData>
<ErrorCode>15005</ErrorCode>
<DataItemName>Parameter0</DataItemName>
<EventPayload>
</EventPayload>
</ProcessingErrorData>
</Event>Hi CharlesPool,
I am assuming that the win8.1 is in-place updated from win8 .
Maybe you need to check the state of hypervisorlaunchtype .
If it is off , please run command " bcdedit /set hypervisorlaunchtype auto "
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Exchange 2010 SP3 Failing to Install "The remote procedure call failed"
I am getting an error while trying to upgrade the first Mailbox server in the organization to SP3. The CAS and HUB servers already upgraded without any issues. Any help is greatly appreciated.
Here is the exchange setup logs output:
[11/15/2014 09:10:52.0512] [2] Creating Server Object with DN = /dc=xxx/dc=xxx/cn=Configuration/cn=Services/cn=Microsoft Exchange/cn=xxx/cn=Administrative Groups/cn=Exchange Administrative Group (xxxx)/cn=Servers/cn=xxxxxx
[11/15/2014 09:10:52.0512] [2] Status code check (f:\14.03.0123\sources\dev\admin\src\libs\ds\x_dob.cxx:3370)
Error code 0X8000500D (20493): This property can't be found in the cache.
[11/15/2014 09:10:52.0528] [2] Leaving ScCreateServerObject
[11/15/2014 09:10:52.0528] [2] Entering ScSetServerNetworkAddresses
[11/15/2014 09:10:52.0528] [2] Entering ScGetServerDNSNameFromDS
[11/15/2014 09:11:11.0482] [2] ScUserDNFromLoginName (f:\14.03.0123\sources\dev\admin\src\libs\exsetup\exmisc.cxx:1441)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] ScGetServerDNSNameFromDS (f:\14.03.0123\sources\dev\admin\src\libs\exsetup\dsmisc.cxx:3481)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] Leaving ScGetServerDNSNameFromDS
[11/15/2014 09:11:11.0482] [2] ScSetServerNetworkAddresses (f:\14.03.0123\sources\dev\admin\src\udog\excommon\ptudutil.cxx:1028)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] Leaving ScSetServerNetworkAddresses
[11/15/2014 09:11:11.0482] [2] CAtomServer::ScAddOrRefreshDSObjects (f:\14.03.0123\sources\dev\admin\src\udog\exsetdata\components\server\a_server.cxx:288)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] CAtomServer::ScAddDSObjects (f:\14.03.0123\sources\dev\admin\src\udog\exsetdata\components\server\a_server.cxx:354)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] CBaseAtom::ScReinstall (f:\14.03.0123\sources\dev\admin\src\udog\setupbase\basecomp\baseatom.cxx:815)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] Leaving CBaseAtom(Microsoft Exchange Server-Level Objects)::ScReinstall
[11/15/2014 09:11:11.0482] [2] Service = '' CBaseServiceAtom::ScReinstall (f:\14.03.0123\sources\dev\admin\src\udog\setupbase\basecomp\basesvcatom.cxx:242)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] Leaving CBaseServiceAtom(Microsoft Exchange Server-Level Objects)::ScReinstall
[11/15/2014 09:11:11.0482] [2] mode = 'Reinstall' (61955) CBaseAtom::ScSetup (f:\14.03.0123\sources\dev\admin\src\udog\setupbase\basecomp\baseatom.cxx:537)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] ScSetupAtom (f:\14.03.0123\sources\dev\admin\src\udog\exsetdata\exsetds.cxx:882)
Error code 0XC00706BE (1726): The remote procedure call failed.
[11/15/2014 09:11:11.0482] [2] Leaving ScSetupAtom
[11/15/2014 09:11:11.0482] [2] [ERROR] An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.
[11/15/2014 09:11:11.0482] [1] The following 1 error(s) occurred during task execution:
[11/15/2014 09:11:11.0482] [1] 0. ErrorRecord: An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.
[11/15/2014 09:11:11.0482] [1] 0. ErrorRecord: Microsoft.Exchange.Management.Deployment.ExsetdataException: An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.
[11/15/2014 09:11:11.0482] [1] [ERROR] The following error was generated when "$error.Clear();
buildToBuildUpgrade-ExsetdataAtom -AtomName Server -DomainController $RoleDomainController
" was run: "An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.".
[11/15/2014 09:11:11.0482] [1] [ERROR] An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.
[11/15/2014 09:11:11.0482] [1] [ERROR-REFERENCE] Id=AllADRolesCommon__ExsetdataServer Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[11/15/2014 09:11:11.0482] [1] Setup is stopping now because of one or more critical errors.
[11/15/2014 09:11:11.0482] [1] Finished executing component tasks.
[11/15/2014 09:11:11.0529] [1] Ending processing Install-MailboxRole
[11/15/2014 09:14:12.0977] [0] End of Setup
[11/15/2014 09:14:12.0977] [0] **********************************************
Additionally here is the 2 errors that are showing up in the event viewer for MSExachange Management:
Exchange Management Console-Local
2652
45
00:00:18.9698426
View Entire Forest: 'True', Configuration Domain Controller: 'domaincontroller.xxx.xxx', Preferred Global Catalog: 'domaincontroller.xxx.xxx', Preferred Domain Controllers: '{ domaincontroller.xxx.xxx }'
Microsoft.Exchange.Management.Deployment.ExsetdataException: An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.
0
Exchange Management Console-Local
2652
9
00:00:37.7834262
View Entire Forest: 'True', Configuration Domain Controller: 'domaincontroller.xxx.xxx', Preferred Global Catalog: 'domaincontroller.xxx.xxx', Preferred Domain Controllers: '{ domaincontroller.xxx.xxx }'
Microsoft.Exchange.Management.Deployment.ScriptExecutionException: The following error was generated when "$error.Clear(); buildToBuildUpgrade-ExsetdataAtom -AtomName Server -DomainController $RoleDomainController
" was run: "An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.". ---> Microsoft.Exchange.Management.Deployment.ExsetdataException: An error occurred with error code '3221685950' and message 'The
remote procedure call failed.'. --- End of inner exception stack trace ---
0
Microsoft.Exchange.Management.Deployment.ExsetdataException: An error occurred with error code '3221685950' and message 'The remote procedure call failed.'.Hi,
Please try to remove the Water mark and Action keys under
HKLM\SOFTWARE\Microsoft\Exchangeserver\V14\MailboxRole
After that, reboot the server and rerun the set up.
This issue due to Exchange failed set up was trying to resume the previously failed setup rather than starting completely over.
Best Regards. -
I'm replicating between two servers in two sites (Server A - Server 2012 R2 STD, Server B - Server 2008 R2) over a VPN (Sonicwall Firewall). Though the initial replication seems to be
happening it is very slow (the folder in question is less than 3GB). I'm seeing these in the event viewer every few minutes:
The DFS Replication service is stopping communication with partner PPIFTC for replication group FTC due to an error. The service will retry the connection periodically.
Additional Information:
Error: 1726 (The remote procedure call failed.)
and then....
The DFS Replication service successfully established an inbound connection with partner PPIFTC for replication group FTC.
Here are all my troubleshooting steps (keep in mind that our VPN is going through a SonicWall <--I increased the TCP timeout to 24 hours):
-Increased TCP Timeout to 24 hours
-Added the following values on both sending and receiving members and rebooted server
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value =DisableTaskOffload
Type = DWORD
Data = 1
Value =EnableTCPChimney
Type = DWORD
Data = 0
Value =EnableTCPA
Type = DWORD
Data = 0
Value =EnableRSS
Type = DWORD
Data = 0
---------------------------------more troubleshooting--------------------------
-Disabled AntiVirus on both members
-Made sure DFSR TCP ports 135 & 5722 are open
-Installed all hotfixes for 2008 R2 (http://support.microsoft.com/kb/968429) and rebooted
-Ran NETSTAT –ANOBP TCP and the DFS executable results are listed below:
Sending Member:
[DFSRs.exe]
TCP 10.x.x.x:53 0.0.0.0:0
LISTENING 1692
[DFSRs.exe]
TCP 10.x.x.x:54669
10.x.x.x:5722 TIME_WAIT 0
TCP 10.x.x.x:54673
10.x.x.x:5722 ESTABLISHED 1656
[DFSRs.exe]
TCP 10.x.x.x:64773
10.x.x.x:389 ESTABLISHED 1692
[DFSRs.exe]
TCP 10.x.x.x:64787
10.x.x.x:389 ESTABLISHED 1656
[DFSRs.exe]
TCP 10.x.x.x:64795
10.x.x.x:389 ESTABLISHED 2104
Receiving Member:
[DFSRs.exe]
TCP 10.x.x.x:56683
10.x.x.x:389 ESTABLISHED 7472
[DFSRs.exe]
TCP 10.x.x.x:57625
10.x.x.x:54886 ESTABLISHED 2808
[DFSRs.exe]
TCP 10.x.x.x:61759
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61760
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61763
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61764
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61770
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61771
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61774
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61775
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61776
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61777
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61778
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61779
10.x.x.x:57625 TIME_WAIT 0
TCP 10.x.x.x:61784
10.x.x.x:52757 ESTABLISHED 7472
[DFSRs.exe]
TCP 10.x.x.x:63661
10.x.x.x:63781 ESTABLISHED 4880
------------------------------more troubleshooting--------------------------
-Increased Staging to 32GB
-Opened the ADSIedit.msc console to verify the "Authenticated Users" is set with the default READ permission on the following object:
a. The computer object of the DFS server
b. The DFSR-LocalSettings object under the DFS server computer object
-Ran
ping <var>10.x.x.x</var> -f -l 1472 and got replies back from both servers
-AD replication is successful on all partners
-Nslookup is working so DNS is working
-Updated NIC drivers on both servers
- I ran the following to set the Primary Member:
dfsradmin Membership Set /RGName:<replication group name> /RFName:<replicated folder name> /MemName:<primary member> /IsPrimary:True
Then Dfsrdiag Pollad /Member:<member name>
I'm seeing these errors in the dfsr logs:
20141014 19:28:17.746 9116 SRTR 957 [WARN] SERVER_EstablishSession Failed to establish a replicated folder session. connId:{45C8C309-4EDD-459A-A0BB-4C5FACD97D44} csId:{7AC7917F-F96F-411B-A4D8-6BB303B3C813}
Error:
+ [Error:9051(0x235b) UpstreamTransport::EstablishSession upstreamtransport.cpp:808 9116 C The content set is not ready]
+ [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:532 9116 C The content set is not ready]
+ [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:471 9116 C The content set is not ready]
---------------------------------------more troubleshooting-----------------------------
I've done a lot of research on the Internet and most of it is pointing to the same stuff I've tried. Does anyone have any other suggestions? Maybe I need to look somewhere
else on the server side or firewall side?
I tried replicating from a 2012 R2 server to another 2012 server and am getting the same events in the event log so maybe it's not a server issue.
Some other things I'm wondering:
-Could it be the speed of the NICs? Server A is a 2012 Server that has Hyper-V installed. NIC teaming was initially setup and since Hyper-V is installed the NIC is a "vEthernet
(Microsoft Network Adapter Multiplexor Driver Virtual Switch) running at a speed of 10.0Gbps whereas Server B is running a single NIC at 1.0Gbps
-Could occasional ping timeout's cause the issue? From time to time I get a timeout but it's not as often as the events I'm seeing. I'm getting 53ms pings. The folder
is only 3 GB so it shouldn't take that long to replicate but it's been days. The schedule I have set for replication is mostly all day except for our backup times which start at 11pm-5am. Throughout the rest of the time I have it set anywhere from
4Mbps to 64 Kbps. Server A is on a 5mb circuit and Server B is on a 10mb circuit.I'm seeing the same errors, all servers are running 2008 R2 x64. Across multiple sites, VPN is steady and reliably.
185 events from 12:28:21 to 12:49:25
Events are for all five servers (one per office, five total offices, no two in the same city, across three states).
Events are not limited to one replication group. I have quite a few replication groups, so I don't know for sure but I'm running under the reasonable assumption that none are spared.
Reminder from original post (and also, yes, same for me), the error is: Error: 1726 (The remote procedure call failed.)
Some way to figure out what code triggers an Event ID 5014, and what code therein specifies an Error 1726, would extremely helpful. Trying random command line/registry changes on live servers is exceptionally unappealing.
Side note, 1726 is referenced here:
https://support.microsoft.com/kb/976442?wa=wsignin1.0
But it says, "This RPC connection problem may be caused by an unstable WAN connection." I don't believe this is the case for my system.
It also says...
For most RPC connection problems, the DFS Replication service will try to obtain the files again without logging a warning or an error in the DFS Replication log. You can capture the network trace to determine whether the cause of the problem is at the network
layer. To examine the TCP ports that the DFS Replication service is using on replication partners, run the following command in a
Command Prompt window:
NETSTAT –ANOBP TCP
This returns all open TCP connections. The connections in question are "DFSRs.exe", which the command won't let you filter for.
Instead, I used the NETSTAT command as advertised, dumping output to info.txt:
NETSTAT -ANOBP TCP >> X:\info.txt
Then I opened Excel and manually opened the .TXT for the open wizard. I chose fixed-width fields based on the first row for each result, and then added a column:
=IF(A3="Can not", "Can not obtain ownership information", IF(LEFT(A3,1) = "[", A3&B3&C3, ""))
Dragging this down through the entire file let me see that row (Row F) as the file name. Some anomalies were present but none impacted DFSrs.exe results.
Finally, you can sort/filter (I sorted because I like being able to see everything, should I choose to) to get just the results you need, with the partial rows removed from the result set, or bumped to the end.
My server had 125 connections open.
That is a staggering number of connections to review, and I feel like I'm looking for a needle in a haystack.
I'll see if I can find anything useful out, but a better solution would be most wonderful. -
Stored Procedure Call Syntax in JDBC 3.0
Does anybody know if the JDBC 3.0 spec allows the following syntax of a CALL statement? I am using the IBM DB2 JDBC Univeral Driver Architecture Version: 2.5.36 driver, which is suppose to be JDBC 3.0 compliant, and am getting an exception. However, when I use the pervious version of the driver (1.9.32), this CALL statement works perfectly. Thanks for your help.
CALL STATEMENT:
CALL SIDBT01.SIZSC005(CCDLRCODE = ?, CCDASMNBR = ?, CCDASMNAME = ?, WSSQLCODE = ?, SQLREASON = ?)
EXCEPTION:
com.ibm.db2.jcc.a.SqlException: String Literals not supported in procedure calls to DB2/390Yes, it should be.
You can run a test by defining any "bogus" interface for the response and take a look in SXMB_MONI for the exact structure returned. Then, define the message type based on this structure, so mapping can be done.
Regards,
Bill -
DML visibility in stored procedures called via JDBC
Hello,
I have two stored procedures, A and B. Proc A inserts Q into table X. Proc B selects Q from table X to insert it into table Y. Neither procedure does a COMMIT.
My Java class executes Proc A and then Proc B within a transaction (autocommit is false). But Proc B fails to select Q from table X with the No Data Found error, apparently unable to see the recently inserted Q.
If these two procedures are called from a SQL*Plus block, everything succeeds.
Does anyone have a clue about what I am missing? All my DML should be visible to my session.
Thank you in advance for any suggestions.
- CJThank you, Joe, for your reply!
To the best of my knowledge, all of my stored procedure calls are being made from the same connection so I can rollback everything if necessary. I have not explicitly closed the connection between calls. The debugger indicates my connection session id never changes across calls.
Do you know of any JDBC trace tools that might help me verify my connections? I've enabled logging with oracle.jdbc.driver.OracleLog.setTrace(true) but it doesn't really give me specific connection information - at least not that I can tell. :)
Thanks!
Cori
Maybe you are looking for
-
Hi all, I'm creating a BSP page with 2 inputfields and 1 submit button... first inputfield should contain a table+field name and the second inputfield must contain a value that has to be written in the table of field1. When I press the submitbutton,
-
Is it possible to execute a transaction by calling a irpt page?
Hi, Is it possible to execute a transaction by calling a irpt page? If possible, is there a sample code (.irpt code) for MII 12.1? Thanks.
-
Hello I've already configured each platform elements in step 3 but I'm not able to move to step 4 - a message always tells me to Please click the "Previous Step" button to go back to Step 3 to connect cloud infrastructure. I've logged out, closed th
-
Access Database for Mac-Replacement
What is the application for mac that is the most similar to Microsoft Access? I used to use it in my PC days, and it was so much easier to use than free mac solutions I've tried such as NeoOffice Database. I was hoping to find an app in the <100 rang
-
Sourcing worklist not populated
I am having trouble getting the sourcing worklist to populate. We are running extended classic scenerio, my buyer is assigned to a local purchasing group which is assigned to a local purchasing organization. Nothing is showing up in the worklist, h