ID: Q198381
The information in this article applies to:
When trying 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 calling 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.
When using RDS you can only return standard data types and ADO recordsets as return parameters of functions. This is because RDS only supports the marshalling of ADO recordset type objects back to the client. 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 will need to use the Distributed Component Object Model (DCOM).
This behavior is by design.
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mike Ruthruff, Microsoft Corporation
Additional query words:
Keywords : kbRDS100 kbRDS150 kbRDS200
Version : WINDOWS:1.0,1.5,2.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: January 6, 1999