The information in this article applies to:
SYMPTOMS
Remote Data Service (RDS) DataSpace object doesn't allow you to get or set a property of a remote Component Object Model (COM) object when the established protocol is Hypertext Transfer Protocol (HTTP) or HTTP over Secure Socket Layer (HTTPS). In Active Server Pages (ASP) page, you get the following error message: Accessing properties does work properly if the protocol is Distributed Component Object Model (DCOM). CAUSEHTTP is a stateless protocol, which is why your Web server treats each HTTP request for a page as an independent request, because the server retains no knowledge of previous requests. Therefore, setting or getting properties does not make sense on stateless objects and RDS has intentionally prevented access to the object's properties. RESOLUTIONUse methods with [in], [out] parameters instead of properties to send data to a component created by using RDS. STATUSThis behavior is by design. MORE INFORMATIONRDS server-side code works as follows: Given the method name of the object, RDS code first calls IDispatch::GetIDsOfNames to retrieve its dispatch identifier DISPID). It then Invoke's that method using DISPATCH_METHOD only, because RDS does not support DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, or DISPATCH_PROPERTYPUTREF, and trying to use Invoke to access these properties is not supported. REFERENCESPlease see "Remote Data Service in MDAC 2.0" in the MSDN documentation. Additional query words:
Keywords : kbDatabase kbRDS200 kbRDS210 kbGrpVCDB kbGrpMDAC kbDSupport |
Last Reviewed: October 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |