The information in this article applies to:
SYMPTOMSWhen trying to marshal a remote Visual Basic object to the client through Remote Data Service (RDS) the following error occurs: 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. RESOLUTIONWhen 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). STATUSThis behavior is by design. REFERENCES(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mike
Ruthruff, Microsoft Corporation. Additional query words:
Keywords : kbDatabase kbRDS100 kbRDS150 kbRDS200 kbGrpVBDB kbGrpMDAC kbDSupport |
Last Reviewed: November 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |