PRB: RDS Client Receives "Unexpected Error (0x8003001e)" (198381)
The information in this article applies to:
- Remote Data Service for ADO
- Remote Data Service for ADO 1.5
- Remote Data Service for ADO 2.0
- Remote Data Service for ADO 2.1 SP2
- Remote Data Service for ADO 2.5
- Remote Data Service for ADO 2.6
- Remote Data Service for ADO 2.7
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.
Modification Type: | Minor | Last Reviewed: | 8/19/2005 |
---|
Keywords: | kbDatabase kbprb KB198381 |
---|
|