We went from
32 bit WS 2003\IIS 6 server to a new 64 bit WS 2012\IIS 8 server
The classic asp web pages worked on IIS6.
The web page calls an Oracle Stored Procedure which sends back
an HTML string, which gets displayed in the browser.
I have changed the code on IIS for ASP to 65001, then to 1252. Still sends back a BLANK.
I should get a value. I can send a value to the SP. However I cannot get a return value.
SET DataConn8 = Server.CreateObject("ADODB.Connection")<br> DataConn8.cursorlocation = 3 '' adUseClient<br> DataConn8.ConnectionTimeout = 15 DataConn8.CommandTimeout = 30 DataConn8.Open "my_oracle_dsn" Set cmd2 = Server.CreateObject("ADODB.Command") cmd2.ActiveConnection = DataConn8 cmd2.CommandType = adCmdStoredProc cmd2.CommandText = "Outilities.Test_Timenoww5" set o2Parm = cmd2.CreateParameter() o2Parm.Name = "mreturnvalue" o2Parm.type = adVarChar o2Parm.Direction = adParamOutput o2Parm.Size=50 cmd2.Parameters.append o2Parm cmd2.Execute return3Val = cmd2.Parameters(0) Response.write "bb_"&return3Val&"<br>"
Above is the classic asp script. Below is the oracle stored procedure.
PROCEDURE TEST_TIMENOWW5 ( co_Output_tx out varchar2 ) AS v_sql_tx nvarchar2(400); my_code number; my_errm varchar2(32767); BEGIN co_Output_tx :='cdefgh'; EXCEPTION WHEN OTHERS THEN my_code := SQLCODE; my_errm := SQLERRM; raise_application_error(-20000, 'Error code of' || my_code || ': ' || to_char(my_errm)); END TEST_TIMENOWW5;
This is the oracle version:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
"CORE 11.2.0.3.0 Production"
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Any suggestions?
TIA
shall42