G
Guest
Shouldn't one of the parameters in the ASP code by output?
.Parameters.Append .CreateParameter("@inparm", adInteger, adParamInput)
.Parameters.Append .CreateParameter("@inparm", adInteger, adParamInput)
end with
ERROR
Error Type: ADODB.Command
(0x800A0BB9) Arguments are of the wrong type, are out of acceptable range,
or are
line : .Parameters.Append .CreateParameter("@inparm", adInteger,
adParamInput)
MYPROC IS
CREATE PROCEDURE st_myProc
@inparm INT , @outparm INT OUTPUT
AS
SET @outparm=10
GO
ASP CODE WITH ADO
set cmd=server.CreateObject ("ADODB.Command")
Set cmd.ActiveConnection = baglantim
cmd.CommandText = "st_myProc"
cmd.CommandType = 4
with cmd
.Parameters.Append .CreateParameter("@inparm", adInteger,
adParamInput)
.Parameters.Append .CreateParameter("@inparm", adInteger,
adParamInput)
end with
Set rs = cmd.Execute
Savas said:my iis wersion windows xp's 5.0 or greater .. How can i solve it ..
still it doesnt work...
with cmd
.Parameters.Append .CreateParameter ("@inparm" , adInteger,
adParamInput, , 10)
.Parameters.Append .CreateParamenter ("@outparm",
adInteger,adParamOutput) end with
my iis wersion windows xp's 5.0 or greater .. How can i solve it .. still
it doesnt work...
with cmd
.Parameters.Append .CreateParameter ("@inparm" , adInteger, adParamInput,
, 10)
.Parameters.Append .CreateParamenter ("@outparm",
adInteger,adParamOutput) end with