BUG: Web Assistant Stored Procedure Requires an Output Parameter

ID: Q172628


The information in this article applies to:

BUG #: 17176 (WINDOWS: 6.5)

SYMPTOMS

Within the Web Assistant, when a stored procedure is chosen as the query to use for the Web page, the following message may be returned:

The selected stored procedure requires an output parameter, which cannot be supplied. Please select a different stored procedure.


CAUSE

The SQL script that has the CREATE PROCEDURE command has some comments above it, and a word that begins with the string "output" exists within the comments section. The following is an example of such a script:


   Use pubs
   Go

   If exists (select * from sysobjects where id = object_id ('myproc'))
       drop procedure myproc
   go

   /* Comments with the string output(s) */ 
   create procedure myproc as
      select * from authors
   go 


WORKAROUND

To work around this problem, do either of the following:


STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server Version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Keywords          : kbother kbusage SSrvGen SSrvWeb kbbug6.50 
Version           : 6.5
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 19, 1999