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

ID: Q198381


The information in this article applies to:
  • Remote Data Service for ADO versions 1.0, 1.5, 2.0, 2.1 SP2


SYMPTOMS

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.


RESOLUTION

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).


STATUS

This 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
Version : WINDOWS:1.0,1.5,2.0,2.1 SP2
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: November 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.