|
Are you sure your stored Proc is formated correctly and runs in SQL Server? I would check this out first, before thinking it is a calling error with in your ASP code.
Below is how you can set Parameters for stored procs in ASP:
dim objCmd
Set objCmd = server.CreateObject("ADODB.Command")
objCmd.CommandType = adCmdstoredProc
objCmd.ActiveConnection = oConn
objCmd.CommandText = "storedProcName"
dim objParam
Set objParam = objCmd.CreateParameter("@ProcParamter",adVarChar,adParamInput,10,ValueToBePassedIn)
objCmd.Parameters.Append objParam
|