Microsoft KB Archive/275619

= FIX: RPC That Calls Another RPC Returns an Error Message and Incorrect Results =

Article ID: 275619

Article Last Modified on 3/14/2006

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q275619



BUG #: 57471 (SQLBUG_70)



SYMPTOMS
A remote procedure call (RPC) that calls another remote procedure call returns this error message along with incorrect results:

OLE/DB provider returned message: Multiple-step operation completed with one or more errors. Check each status value.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.



Steps to Reproduce Behavior
Run the code sample that follows to reproduce the error message: --STEP 1 (on Server1) sp_addlinkedserver @server='Server2' go use tempdb go create procedure proc1 @param1 int output as set @param1=10 return go

--STEP 2 (on Server2) sp_addlinkedserver @server='Server1' go use tempdb go create procedure proc2 @param2 int output, @param3 char(15) output as declare @v1 int exec Server1.tempdb.dbo.proc1 @v1 output select @param2=20 select @param3='Text Message' return go

-- STEP 3 (on server1) declare @a1 int, @a2 char15) exec server2.tempdb.dbo.proc2 @a1 output, @a2 output select @a1, @a2 go RESULT: This error message appears:

OLE/DB provider returned message: Multiple-step operation completed with one or more errors. Check each status value.

This result is returned: --- --- 10 20

(1 row(s) affected) The expected outcome is no error message and this result: --- ---

20 Text Message (1 row(s) affected)

Keywords: kbbug kbfix KB275619

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.