Error trying to call stored procedure with prepared statement
问题 I'm trying to use a prepared statement to call a stored procedure (using ADODB with classic ASP), but when I set CommandType I get the following error: ADODB.Command error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. I have the following code: With Server.CreateObject("ADODB.Command") .ActiveConnection = db 'this is initialized prior .CommandType = adCmdStoredProc .CommandText = "procName" End With The prepared statement name is