This is my stored procedure, and when I am calling it from my classic ASP code, I am getting the error:
Operation is not allowed when the object is c
Try this in your stored procedure:
SET NOCOUNT ON SET ANSI_WARNINGS OFF
Right below the AS.
AS