Knowledge Base

BUG: Extended Stored Proc Call May Generate a Thread AV

Article ID: 139557

Article Last Modified on 4/21/1999


APPLIES TO


This article was previously published under Q139557
BUG# NT: 11515 (4.21a.SP4)

SYMPTOMS

When you use an extended stored procedure to return data to an output parameter a thread access violation can occur.

The following query exposes the behavior:
   declare @strData varchar(255)
   exec xp_echo "Test", @strData OUTPUT
				

The procedure xp_echo is the sample provided in the XP.DLL file.

WORKAROUND

  1. Stop SQL Server.
  2. Copy the SQLSERVR.EXE file from the SQL Server Service Pack 3 to the ..\SQL\BINN directory.
  3. Restart SQL Server.

STATUS

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


Additional query words: ODS sp4 servpack

Keywords: kbprogramming KB139557