Knowledge Base

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

Article ID: 184494

Article Last Modified on 3/14/2006


APPLIES TO


This article was previously published under Q184494
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 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:

197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a

For more information, contact your primary support provider.

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

Keywords: kbbug kbfix KB184494