Microsoft KB Archive/198381

= PRB: RDS Client Receives "Unexpected Error (0x8003001e)" =

Article ID: 198381

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Plus! Game Pack: Cards & Puzzles
 * Microsoft Remote Data Services 1.5
 * Remote Data Service for ADO 2.0
 * Microsoft Remote Data Services 2.1
 * Remote Data Service for ADO 2.5
 * Remote Data Service for ADO 2.6
 * Microsoft Remote Data Services 2.0

-



This article was previously published under Q198381



SYMPTOMS
When you try to marshal a remote Visual Basic object to the client through Remote Data Service (RDS), the following error occurs:

Unexpected Error (0x8003001e).

This error occurs when you call a method of a server-side component that returns something other than an ActiveX Data Objects (ADO) recordset or standard data type (for example, Integer, String and so forth) to the client.



RESOLUTION
When you use RDS over HTTP, you can only return standard data types and ADO recordsets as return parameters of functions. Variant arrays are allowed as return parameters however the same restrictions apply to the elements of the array. RDS only supports the marshalling of ADO recordsets that use the client-side cursor library. RDS does not support the marshalling of other object types back to the client because there is no security in place to control the creation of these objects on the client. If you need the ability to return custom objects to the client, you must use the Distributed Component Object Model (DCOM).



STATUS
This behavior is by design.

Keywords: kbdatabase kbprb KB198381

-

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

© Microsoft Corporation. All rights reserved.