US = Request("Us") FD = Request("Fd") FH = Request("Fh") Set oConn = Server.CreateObject("ADODB.Connection") Set oCmd = Server.CreateObject("ADODB.Command") Set oRs = Server.CreateObject("ADODB.Recordset") oConn.CursorLocation = adUseClient oConn.ConnectionTimeout = 100 oConn.Open "Driver=SQL Server;Server=WSSQL7;Database=MyDB","MyUser","MyPass" oCmd.CommandText = "spMySP" oCmd.CommandType = adCmdStoredProc oCmd.ActiveConnection = oConn oCmd.Parameters.Append oCmd.CreateParameter("NroErr", adInteger, adParamOutput) oCmd.Parameters.Append oCmd.CreateParameter("MsgErr", adChar, adParamOutput,255) oCmd.Parameters.Append oCmd.CreateParameter("us", adChar, adParamInput, 10, Us) oCmd.Parameters.Append oCmd.CreateParameter("fd", adChar, adParamInput, 10, Fd) oCmd.Parameters.Append oCmd.CreateParameter("fh", adChar, adParamInput, 10, Fh) Set oRs = oCmd.Execute()Quizás te sirva. Saludos.