BUG: Web Server Hangs When Updating a Stored Procedure in SQL

Last reviewed: December 9, 1997
Article ID: Q165807
The information in this article applies to:
  • Microsoft Visual InterDev, version 1.0

SYMPTOMS

Microsoft IIS will hang when updating or adding new records to a recordset returned by a stored procedure in Microsoft SQL Server version 4.2 and Sybase SQL Server.

RESOLUTION

There are no known workarounds at this time other than to use Microsoft SQL Server version 6.0 or 6.5 or an Oracle server.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Insert connection to SQL 4.2 into a Web Project.

  2. Create a Stored Procedure that selects all from a table, for example:

          Create Procedure selAuthors As Select * From Authors
    

  3. Create a new Active Server Page and add code to insert a new record in the ASP.

  4. Preview the ASP:

          Result : - Web Server Hangs.
    

          Sample Code to add new record:
    

          DataCommand1.AddNew
          DataCommand1("au_fname") ="H"
          DataCommand1("au_id") = "999-99-9987"
          DataCommand1("au_lname") = "P"
          DataCommand1("contract") = 0
          DataCommand1("phone") ="33644"
          DataCommand1.Update
    

REFERENCES

For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/vinterdev/

Keywords          : VIADO VIASP VIServer kb3rdparty kbbug
Version           : 1.0
Platform          : WINDOWS
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.