FIX: INSERT..EXEC with RPC May Cause Access Violation and Msg 806

ID: Q184494


The information in this article applies to:

BUG #: 17587 (SQLBUG_65)

SYMPTOMS

If you attempt to use a remote stored procedure to insert text/image data, you may receive an access violation (AV). The following error may also be present in the errorlog:

Msg 806, Level 16, State 1
Could not find virtual page for logical page %Id in database '%.*s'


WORKAROUND

To work around this problem, use the bulk copy program (BCP) from stored procedures with xp_cmdshell.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 5a for Microsoft SQL Server version 6.5. For information about downloading and installing the latest SQL Server Service Pack, see http://support.microsoft.com/support/sql/.

For more information, contact your primary support provider.

Additional query words: sp sp5st proc stproc crash gpf gp fault


Keywords          : SSrvStProc kbbug6.50 kbfix6.50.SP5 
Version           : winnt:6.5
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: April 21, 1999